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/Data/List/Perm.lean | List.reverse_perm | [
{
"state_after": "α : Type uu\nβ : Type vv\nl₁ l₂ : List α\na : α\nl : List α\n⊢ reverse l ++ [a] ~ a :: l",
"state_before": "α : Type uu\nβ : Type vv\nl₁ l₂ : List α\na : α\nl : List α\n⊢ reverse (a :: l) ~ a :: l",
"tactic": "rw [reverse_cons]"
},
{
"state_after": "no goals",
"state_before... | [
186,
70
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
182,
1
] |
Mathlib/FieldTheory/RatFunc.lean | RatFunc.liftMonoidWithZeroHom_injective | [
{
"state_after": "case ofFractionRing.ofFractionRing\nK : Type u\ninst✝⁵ : CommRing K\nG₀ : Type u_2\nL : Type ?u.969727\nR : Type u_1\nS : Type ?u.969733\nF : Type ?u.969736\ninst✝⁴ : CommGroupWithZero G₀\ninst✝³ : Field L\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Nontrivial R\nφ : R[X] →*₀ G₀\nhφ : F... | [
749,
80
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
737,
1
] |
Mathlib/Topology/MetricSpace/EMetricSpace.lean | EMetric.tendsto_nhds_nhds | [] | [
681,
48
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
679,
1
] |
src/lean/Init/Control/Lawful.lean | ExceptT.bind_pure_comp | [
{
"state_after": "m : Type u_1 → Type u_2\nα β ε : Type u_1\ninst✝¹ : Monad m\ninst✝ : LawfulMonad m\nf : α → β\nx : ExceptT ε m α\n⊢ x >>= pure ∘ f = f <$> x",
"state_before": "m : Type u_1 → Type u_2\nα β ε : Type u_1\ninst✝¹ : Monad m\ninst✝ : LawfulMonad m\nf : α → β\nx : ExceptT ε m α\n⊢ x >>= pure ∘ f... | [
141,
14
] | d5348dfac847a56a4595fb6230fd0708dcb4e7e9 | https://github.com/leanprover/lean4 | [
140,
11
] |
Mathlib/Logic/Relation.lean | reflexive_ne_imp_iff | [] | [
77,
30
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
76,
1
] |
src/lean/Init/Control/Lawful.lean | monadLift_self | [] | [
14,
6
] | d5348dfac847a56a4595fb6230fd0708dcb4e7e9 | https://github.com/leanprover/lean4 | [
13,
9
] |
Mathlib/Topology/Algebra/InfiniteSum/Basic.lean | Summable.map_iff_of_leftInverse | [
{
"state_after": "α : Type u_4\nβ : Type u_5\nγ : Type u_1\nδ : Type ?u.160302\ninst✝⁵ : AddCommMonoid α\ninst✝⁴ : TopologicalSpace α\nf g✝ : β → α\na b : α\ns : Finset β\ninst✝³ : AddCommMonoid γ\ninst✝² : TopologicalSpace γ\nG : Type u_2\nG' : Type u_3\ninst✝¹ : AddMonoidHomClass G α γ\ninst✝ : AddMonoidHomCl... | [
276,
71
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
271,
11
] |
Mathlib/Data/Finset/Lattice.lean | Finset.is_glb_iff_is_least | [
{
"state_after": "F : Type ?u.404604\nα : Type u_1\nβ : Type ?u.404610\nγ : Type ?u.404613\nι : Type ?u.404616\nκ : Type ?u.404619\ninst✝ : LinearOrder α\ni : α\ns : Finset α\nhs : Finset.Nonempty s\nhis : IsGLB (↑s) i\n⊢ IsLeast (↑s) i",
"state_before": "F : Type ?u.404604\nα : Type u_1\nβ : Type ?u.404610... | [
1717,
99
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1710,
1
] |
Mathlib/Order/Atoms.lean | isAtomic_dual_iff_isCoatomic | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\nβ : Type ?u.12062\ninst✝¹ : PartialOrder α\ninst✝ : OrderTop α\nh : IsAtomic αᵒᵈ\nb : α\n⊢ b = ⊤ ∨ ∃ a, IsCoatom a ∧ b ≤ a",
"tactic": "apply h.eq_bot_or_exists_atom_le"
},
{
"state_after": "no goals",
"state_before": "α : Type u_1\... | [
263,
54
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
261,
1
] |
Mathlib/NumberTheory/RamificationInertia.lean | Ideal.Quotient.algebraMap_quotient_of_ramificationIdx_neZero | [] | [
484,
90
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
483,
1
] |
Mathlib/Order/Heyting/Basic.lean | PUnit.himp_eq | [] | [
1371,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1370,
1
] |
Mathlib/NumberTheory/LegendreSymbol/MulCharacter.lean | MulChar.isNontrivial_iff | [
{
"state_after": "no goals",
"state_before": "R : Type u\ninst✝² : CommRing R\nR' : Type v\ninst✝¹ : CommRing R'\nR'' : Type w\ninst✝ : CommRing R''\nχ : MulChar R R'\n⊢ IsNontrivial χ ↔ χ ≠ 1",
"tactic": "simp only [IsNontrivial, Ne.def, ext_iff, not_forall, one_apply_coe]"
}
] | [
450,
71
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
449,
1
] |
Mathlib/Data/Nat/Basic.lean | Nat.lt_find_iff | [
{
"state_after": "no goals",
"state_before": "m n✝ k : ℕ\np q : ℕ → Prop\ninst✝¹ : DecidablePred p\ninst✝ : DecidablePred q\nh : ∃ n, p n\nn : ℕ\n⊢ n < Nat.find h ↔ ∀ (m : ℕ), m ≤ n → ¬p m",
"tactic": "simp only [← succ_le_iff, le_find_iff, succ_le_succ_iff]"
}
] | [
845,
59
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
844,
1
] |
Mathlib/Order/Directed.lean | Antitone.directed_le | [] | [
160,
21
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
158,
1
] |
Mathlib/Topology/LocalHomeomorph.lean | LocalHomeomorph.map_nhds_eq | [] | [
368,
81
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
366,
1
] |
Mathlib/Topology/Homeomorph.lean | Homeomorph.image_preimage | [] | [
219,
29
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
218,
1
] |
Mathlib/Order/SuccPred/IntervalSucc.lean | Antitone.pairwise_disjoint_on_Ico_succ | [] | [
114,
45
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
112,
1
] |
Mathlib/Data/List/Pairwise.lean | List.pairwise_of_forall_mem_list | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\nβ : Type ?u.44018\nR S T : α → α → Prop\na : α\nl✝ l : List α\nr : α → α → Prop\nh : ∀ (a : α), a ∈ l → ∀ (b : α), b ∈ l → r a b\n⊢ Pairwise r l",
"tactic": "classical\n refine'\n pairwise_of_reflexive_on_dupl_of_forall_ne (fun a ha' => _) ... | [
304,
22
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
298,
1
] |
Mathlib/CategoryTheory/Limits/Shapes/Equalizers.lean | CategoryTheory.Limits.Fork.app_zero_eq_ι | [] | [
324,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
323,
1
] |
Mathlib/RingTheory/PowerBasis.lean | PowerBasis.lift_aeval | [] | [
312,
27
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
310,
1
] |
Mathlib/Data/Matrix/Reflection.lean | Matrix.forall_iff | [
{
"state_after": "l m✝ n✝ : ℕ\nα : Type u_1\nβ : Type ?u.961\nm n : ℕ\nP : Matrix (Fin (m + 1)) (Fin n) α → Prop\n⊢ (∀ (x : Fin n → α) (x_1 : Matrix (Fin (Nat.add m 0)) (Fin n) α), P (↑of (vecCons x x_1))) ↔\n ∀ (x : Matrix (Fin (m + 1)) (Fin n) α), P x",
"state_before": "l m✝ n✝ : ℕ\nα : Type u_1\nβ : T... | [
63,
42
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
59,
1
] |
Mathlib/Topology/Constructions.lean | embedding_inl | [] | [
918,
22
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
917,
1
] |
Mathlib/Order/Height.lean | Set.wellFoundedGT_of_chainHeight_ne_top | [
{
"state_after": "case intro\nα : Type u_1\nβ : Type ?u.50843\ns✝ t : Set α\ninst✝ : Preorder α\ns : Set α\nhs : chainHeight s ≠ ⊤\nthis : IsTrans { x // x ∈ s } fun x x_1 => x < x_1\nn : ℕ\nhn : ↑n = chainHeight s\n⊢ WellFoundedGT ↑s",
"state_before": "α : Type u_1\nβ : Type ?u.50843\ns✝ t : Set α\ninst✝ :... | [
372,
17
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
354,
1
] |
src/lean/Init/Data/Nat/Basic.lean | Nat.lt.base | [] | [
292,
63
] | d5348dfac847a56a4595fb6230fd0708dcb4e7e9 | https://github.com/leanprover/lean4 | [
292,
1
] |
Mathlib/RingTheory/WittVector/Basic.lean | WittVector.mapFun.mul | [
{
"state_after": "no goals",
"state_before": "p : ℕ\nR : Type u_2\nS : Type u_1\nT : Type ?u.234470\nhp : Fact (Nat.Prime p)\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : CommRing T\nα : Type ?u.234485\nβ : Type ?u.234488\nf : R →+* S\nx y : 𝕎 R\n⊢ mapFun (↑f) (x * y) = mapFun (↑f) x * mapFun (↑f) y",... | [
121,
75
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
121,
1
] |
Mathlib/Data/Set/Basic.lean | Set.setOf_set | [] | [
281,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
280,
1
] |
Mathlib/Analysis/SpecialFunctions/Trigonometric/Basic.lean | Real.strictAntiOn_cos | [] | [
587,
46
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
586,
1
] |
Mathlib/Combinatorics/SimpleGraph/Connectivity.lean | SimpleGraph.Walk.reverse_copy | [
{
"state_after": "V : Type u\nV' : Type v\nV'' : Type w\nG : SimpleGraph V\nG' : SimpleGraph V'\nG'' : SimpleGraph V''\nu' v' : V\np : Walk G u' v'\n⊢ reverse (Walk.copy p (_ : u' = u') (_ : v' = v')) = Walk.copy (reverse p) (_ : v' = v') (_ : u' = u')",
"state_before": "V : Type u\nV' : Type v\nV'' : Type ... | [
364,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
361,
1
] |
Mathlib/Algebra/BigOperators/Fin.lean | Fin.partialProd_succ | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\nβ : Type ?u.87636\ninst✝ : Monoid α\nn : ℕ\nf : Fin n → α\nj : Fin n\n⊢ partialProd f (succ j) = partialProd f (↑castSucc j) * f j",
"tactic": "simp [partialProd, List.take_succ, List.ofFnNthVal, dif_pos j.is_lt, ← Option.coe_def]"
}
] | [
235,
89
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
233,
1
] |
Mathlib/Data/List/Basic.lean | List.reverse_eq_iff | [] | [
633,
28
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
632,
1
] |
Mathlib/Algebra/Order/Module.lean | smul_add_smul_lt_smul_add_smul' | [
{
"state_after": "k : Type u_2\nM : Type u_1\nN : Type ?u.81455\ninst✝⁵ : OrderedRing k\ninst✝⁴ : OrderedAddCommGroup M\ninst✝³ : Module k M\ninst✝² : OrderedSMul k M\na✝ b✝ : M\nc✝ : k\ninst✝¹ : CovariantClass M M (fun x x_1 => x + x_1) fun x x_1 => x < x_1\ninst✝ : ContravariantClass M M (fun x x_1 => x + x_1... | [
151,
47
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
147,
1
] |
Mathlib/MeasureTheory/Group/Integration.lean | MeasureTheory.Integrable.comp_mul_right | [] | [
159,
93
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
157,
1
] |
Mathlib/ModelTheory/Order.lean | FirstOrder.Language.orderLHom_order | [] | [
111,
62
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
110,
1
] |
Mathlib/Data/Bool/Basic.lean | Bool.default_bool | [] | [
96,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
95,
1
] |
Mathlib/Data/Nat/Cast/Basic.lean | Nat.cast_comm | [] | [
78,
24
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
77,
1
] |
Mathlib/Topology/Algebra/InfiniteSum/Basic.lean | tsum_eq_sum | [] | [
497,
44
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
495,
1
] |
Mathlib/Data/Int/SuccPred.lean | Int.pred_eq_pred | [] | [
46,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
45,
1
] |
Mathlib/Algebra/Module/Submodule/Basic.lean | Submodule.coe_mem | [] | [
335,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
334,
1
] |
Mathlib/Order/Heyting/Basic.lean | le_himp_iff' | [
{
"state_after": "no goals",
"state_before": "ι : Type ?u.26736\nα : Type u_1\nβ : Type ?u.26742\ninst✝ : GeneralizedHeytingAlgebra α\na b c d : α\n⊢ a ≤ b ⇨ c ↔ b ⊓ a ≤ c",
"tactic": "rw [le_himp_iff, inf_comm]"
}
] | [
322,
78
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
322,
1
] |
Mathlib/Data/Complex/Basic.lean | Complex.ofReal_int_cast | [] | [
848,
23
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
847,
1
] |
Mathlib/Topology/PathConnected.lean | isPathConnected_iff | [] | [
977,
66
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
973,
1
] |
Mathlib/Algebra/Order/Ring/Lemmas.lean | le_of_le_mul_of_le_one_of_nonneg_right | [] | [
956,
41
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
954,
1
] |
Mathlib/Topology/Algebra/Module/Star.lean | continuous_decomposeProdAdjoint | [] | [
65,
76
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
63,
1
] |
Mathlib/RingTheory/Algebraic.lean | isAlgebraic_int | [
{
"state_after": "R : Type u\nS : Type ?u.98877\nA : Type v\ninst✝⁷ : CommRing R\ninst✝⁶ : CommRing S\ninst✝⁵ : Ring A\ninst✝⁴ : Algebra R A\ninst✝³ : Algebra R S\ninst✝² : Algebra S A\ninst✝¹ : IsScalarTower R S A\ninst✝ : Nontrivial R\nn : ℤ\n⊢ IsAlgebraic R (↑(algebraMap R A) ↑n)",
"state_before": "R : T... | [
126,
44
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
124,
1
] |
Mathlib/Algebra/Lie/Basic.lean | LieRingModule.compLieHom_apply | [] | [
485,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
482,
1
] |
Mathlib/Data/Real/NNReal.lean | NNReal.div_le_iff | [] | [
809,
17
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
808,
1
] |
Mathlib/Algebra/Ring/Equiv.lean | RingEquiv.symm_trans_apply | [] | [
319,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
317,
1
] |
Mathlib/Topology/ContinuousOn.lean | ContinuousOn.comp' | [] | [
903,
69
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
901,
1
] |
Mathlib/Data/Num/Lemmas.lean | Num.ofZNum_toNat | [
{
"state_after": "α : Type ?u.872397\np : PosNum\n⊢ ↑(ofZNum (ZNum.pos p)) = toNat ↑↑p",
"state_before": "α : Type ?u.872397\np : PosNum\n⊢ ↑(ofZNum (ZNum.pos p)) = toNat ↑p",
"tactic": "rw [← PosNum.to_nat_to_int p]"
},
{
"state_after": "no goals",
"state_before": "α : Type ?u.872397\np : P... | [
1302,
68
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1297,
1
] |
Mathlib/MeasureTheory/Measure/NullMeasurable.lean | MeasureTheory.NullMeasurableSet.diff | [] | [
206,
27
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
204,
11
] |
Mathlib/Analysis/Calculus/ContDiff.lean | ContinuousLinearEquiv.contDiff | [] | [
160,
27
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
159,
1
] |
Mathlib/Algebra/GroupWithZero/Basic.lean | eq_zero_of_mul_eq_self_left | [] | [
228,
95
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
227,
1
] |
Mathlib/AlgebraicGeometry/LocallyRingedSpace.lean | AlgebraicGeometry.LocallyRingedSpace.Γ_def | [] | [
272,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
271,
1
] |
Mathlib/Data/Fin/Basic.lean | Fin.zero_succAbove | [
{
"state_after": "no goals",
"state_before": "n✝ m n : ℕ\ni : Fin n\n⊢ ↑(succAbove 0) i = succ i",
"tactic": "rfl"
}
] | [
2207,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
2206,
1
] |
Mathlib/Data/Set/Image.lean | Subtype.preimage_coe_eq_preimage_coe_iff | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\ns t u : Set α\n⊢ val ⁻¹' t = val ⁻¹' u ↔ t ∩ s = u ∩ s",
"tactic": "rw [← image_preimage_coe, ← image_preimage_coe, coe_injective.image_injective.eq_iff]"
}
] | [
1441,
88
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1439,
1
] |
Mathlib/Data/Finset/Pointwise.lean | Finset.inv_def | [] | [
199,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
198,
1
] |
Mathlib/LinearAlgebra/Matrix/Hermitian.lean | Matrix.IsHermitian.isSelfAdjoint | [] | [
52,
25
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
51,
11
] |
Mathlib/Topology/Maps.lean | Inducing.isOpenMap | [] | [
462,
100
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
460,
11
] |
Mathlib/Algebra/Group/Units.lean | divp_one | [] | [
448,
12
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
447,
1
] |
Mathlib/RingTheory/PrincipalIdealDomain.lean | dvd_or_coprime | [
{
"state_after": "R : Type u\nM : Type v\ninst✝³ : CommRing R\ninst✝² : IsDomain R\ninst✝¹ : IsPrincipalIdealRing R\ninst✝ : GCDMonoid R\nx y : R\nh : Irreducible x\nh' : ¬x ∣ y\n⊢ IsCoprime x y",
"state_before": "R : Type u\nM : Type v\ninst✝³ : CommRing R\ninst✝² : IsDomain R\ninst✝¹ : IsPrincipalIdealRin... | [
408,
100
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
401,
1
] |
Mathlib/Algebra/Order/Group/MinMax.lean | abs_min_sub_min_le_max | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\ninst✝ : LinearOrderedAddCommGroup α\na✝ b✝ c✝ a b c d : α\n⊢ abs (min a b - min c d) ≤ max (abs (a - c)) (abs (b - d))",
"tactic": "simpa only [max_neg_neg, neg_sub_neg, abs_sub_comm] using\n abs_max_sub_max_le_max (-a) (-b) (-c) (-d)"
}
] | [
103,
47
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
101,
1
] |
Mathlib/Tactic/NormNum/Core.lean | Mathlib.Meta.NormNum.IsInt.nonneg_to_eq | [] | [
93,
84
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
92,
1
] |
Mathlib/Data/List/Zip.lean | List.zip_swap | [
{
"state_after": "α : Type u\nβ : Type u_1\nγ : Type ?u.5392\nδ : Type ?u.5395\nε : Type ?u.5398\nl₁ : List α\n⊢ map Prod.swap [] = zip [] l₁",
"state_before": "α : Type u\nβ : Type u_1\nγ : Type ?u.5392\nδ : Type ?u.5395\nε : Type ?u.5398\nl₁ : List α\n⊢ map Prod.swap (zip l₁ []) = zip [] l₁",
"tactic"... | [
73,
75
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
69,
1
] |
Mathlib/Data/List/Basic.lean | List.get_reverse' | [] | [
1474,
73
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1473,
1
] |
Mathlib/RingTheory/Ideal/Operations.lean | Ideal.span_mul_span | [] | [
517,
31
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
516,
1
] |
Mathlib/Computability/TuringMachine.lean | Turing.ListBlank.nth_succ | [
{
"state_after": "Γ : Type u_1\ninst✝ : Inhabited Γ\nl : ListBlank Γ\nn : ℕ\n⊢ nth (cons (head l) (tail l)) (n + 1) = nth (tail l) n",
"state_before": "Γ : Type u_1\ninst✝ : Inhabited Γ\nl : ListBlank Γ\nn : ℕ\n⊢ nth l (n + 1) = nth (tail l) n",
"tactic": "conv => lhs; rw [← ListBlank.cons_head_tail l]"... | [
311,
49
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
308,
1
] |
Mathlib/RingTheory/PowerSeries/Basic.lean | PowerSeries.coeff_zero_one | [] | [
1473,
17
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1472,
1
] |
Mathlib/Analysis/Convex/Strict.lean | StrictConvex.preimage_smul | [
{
"state_after": "case inl\n𝕜 : Type u_1\n𝕝 : Type ?u.115248\nE : Type u_2\nF : Type ?u.115254\nβ : Type ?u.115257\ninst✝⁵ : OrderedCommSemiring 𝕜\ninst✝⁴ : TopologicalSpace E\ninst✝³ : AddCommGroup E\ninst✝² : Module 𝕜 E\ninst✝¹ : NoZeroSMulDivisors 𝕜 E\ninst✝ : ContinuousConstSMul 𝕜 E\ns : Set E\nhs : S... | [
319,
34
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
309,
1
] |
Mathlib/Logic/Basic.lean | ball_mem_comm | [] | [
506,
17
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
504,
1
] |
Mathlib/Topology/Connected.lean | IsPreconnected.iUnion_of_reflTransGen | [
{
"state_after": "α : Type u\nβ : Type v\nι✝ : Type ?u.8089\nπ : ι✝ → Type ?u.8094\ninst✝ : TopologicalSpace α\ns✝ t u v : Set α\nι : Type u_1\ns : ι → Set α\nH : ∀ (i : ι), IsPreconnected (s i)\nK : ∀ (i j : ι), ReflTransGen (fun i j => Set.Nonempty (s i ∩ s j)) i j\n⊢ IsPreconnected (⋃ (x : ι) (_ : x ∈ univ),... | [
222,
33
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
216,
1
] |
Mathlib/RingTheory/Multiplicity.lean | multiplicity.Finset.prod | [
{
"state_after": "case empty\nα : Type u_2\ninst✝¹ : CancelCommMonoidWithZero α\ninst✝ : DecidableRel fun x x_1 => x ∣ x_1\nβ : Type u_1\np : α\nhp : Prime p\nf : β → α\n⊢ multiplicity p (∏ x in ∅, f x) = ∑ x in ∅, multiplicity p (f x)\n\ncase insert\nα : Type u_2\ninst✝¹ : CancelCommMonoidWithZero α\ninst✝ : D... | [
595,
34
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
588,
1
] |
Mathlib/Algebra/IndicatorFunction.lean | Set.mulIndicator_range_comp | [] | [
186,
29
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
183,
1
] |
Mathlib/Order/GaloisConnection.lean | GaloisCoinsertion.u_sInf_l_image | [] | [
800,
27
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
798,
1
] |
Mathlib/MeasureTheory/Function/LpSpace.lean | MeasureTheory.Lp.mem_Lp_of_ae_le_mul | [] | [
391,
78
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
389,
1
] |
Mathlib/Topology/MetricSpace/EMetricSpace.lean | edist_eq_zero | [] | [
1007,
51
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1006,
1
] |
Mathlib/Order/Bounds/Basic.lean | isLUB_Icc | [] | [
692,
27
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
691,
1
] |
Mathlib/Data/Int/Order/Basic.lean | Int.coe_nat_ne_zero | [
{
"state_after": "no goals",
"state_before": "n : ℕ\n⊢ ↑n ≠ 0 ↔ n ≠ 0",
"tactic": "simp"
}
] | [
82,
65
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
82,
1
] |
Mathlib/Analysis/NormedSpace/PiLp.lean | PiLp.dist_equiv_symm_single_same | [] | [
868,
73
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
865,
1
] |
Mathlib/Topology/Algebra/Group/Basic.lean | IsOpen.closure_mul | [
{
"state_after": "no goals",
"state_before": "α : Type u\nβ : Type v\nG : Type w\nH : Type x\ninst✝² : TopologicalSpace α\ninst✝¹ : Group α\ninst✝ : TopologicalGroup α\ns✝ t : Set α\nht : IsOpen t\ns : Set α\n⊢ closure s * t = s * t",
"tactic": "rw [← inv_inv (closure s * t), mul_inv_rev, inv_closure, h... | [
1379,
13
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1377,
1
] |
Mathlib/Logic/Equiv/Option.lean | Equiv.option_symm_apply_none_iff | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\nβ : Type u_2\nγ : Type ?u.5816\ne : Option α ≃ Option β\nh : ↑e.symm none = none\n⊢ ↑e none = none",
"tactic": "simpa using (congr_arg e h).symm"
},
{
"state_after": "no goals",
"state_before": "α : Type u_1\nβ : Type u_2\nγ : Type ... | [
147,
100
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
146,
1
] |
Mathlib/Data/List/Cycle.lean | Cycle.chain_singleton | [
{
"state_after": "no goals",
"state_before": "α : Type u_1\nr : α → α → Prop\na : α\n⊢ Chain r ↑[a] ↔ r a a",
"tactic": "rw [chain_coe_cons, nil_append, List.chain_singleton]"
}
] | [
946,
56
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
945,
1
] |
Mathlib/Data/Finset/Basic.lean | Multiset.toFinset_ssubset | [
{
"state_after": "α : Type u_1\nβ : Type ?u.453063\nγ : Type ?u.453066\ninst✝ : DecidableEq α\ns t : Multiset α\n⊢ s ⊆ t ∧ ¬t ⊆ s ↔ s ⊂ t",
"state_before": "α : Type u_1\nβ : Type ?u.453063\nγ : Type ?u.453066\ninst✝ : DecidableEq α\ns t : Multiset α\n⊢ toFinset s ⊂ toFinset t ↔ s ⊂ t",
"tactic": "simp_... | [
3193,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
3191,
1
] |
Mathlib/Algebra/Tropical/Basic.lean | Tropical.injective_untrop | [] | [
148,
27
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
147,
1
] |
Mathlib/Data/Nat/SuccPred.lean | Fin.coe_covby_iff | [] | [
89,
89
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
88,
1
] |
Mathlib/Tactic/NormNum/IsCoprime.lean | Tactic.NormNum.isInt_not_isCoprime | [] | [
34,
37
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
32,
1
] |
Mathlib/CategoryTheory/Monoidal/End.lean | CategoryTheory.ε_inv_naturality | [
{
"state_after": "no goals",
"state_before": "C : Type u\ninst✝² : Category C\nM : Type u_2\ninst✝¹ : Category M\ninst✝ : MonoidalCategory M\nF : MonoidalFunctor M (C ⥤ C)\nX Y : C\nf : X ⟶ Y\n⊢ (MonoidalFunctor.εIso F).inv.app X ≫ (𝟙_ (C ⥤ C)).map f = (MonoidalFunctor.εIso F).inv.app X ≫ f",
"tactic":... | [
126,
12
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
124,
1
] |
Mathlib/Order/Hom/Lattice.lean | SupHom.id_apply | [] | [
396,
6
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
395,
1
] |
Mathlib/Data/Polynomial/Eval.lean | Polynomial.map_mul | [
{
"state_after": "case hf\nR : Type u\nS : Type v\nT : Type w\nι : Type y\na b : R\nm n : ℕ\ninst✝¹ : Semiring R\np q r : R[X]\ninst✝ : Semiring S\nf : R →+* S\n⊢ ∀ (k : ℕ), Commute (↑(RingHom.comp C f) (coeff q k)) X",
"state_before": "R : Type u\nS : Type v\nT : Type w\nι : Type y\na b : R\nm n : ℕ\ninst✝... | [
730,
36
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
728,
11
] |
Mathlib/Analysis/Normed/Group/Pointwise.lean | ball_one_mul_singleton | [
{
"state_after": "no goals",
"state_before": "E : Type u_1\ninst✝ : SeminormedCommGroup E\nε δ : ℝ\ns t : Set E\nx y : E\n⊢ ball 1 δ * {x} = ball x δ",
"tactic": "simp [ball_mul_singleton]"
}
] | [
140,
91
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
140,
1
] |
Mathlib/Algebra/Algebra/Tower.lean | IsScalarTower.algebraMap_apply | [
{
"state_after": "no goals",
"state_before": "R : Type u\nS : Type v\nA : Type w\nB : Type u₁\nM : Type v₁\ninst✝¹⁰ : CommSemiring R\ninst✝⁹ : CommSemiring S\ninst✝⁸ : Semiring A\ninst✝⁷ : Semiring B\ninst✝⁶ : Algebra R S\ninst✝⁵ : Algebra S A\ninst✝⁴ : Algebra S B\ninst✝³ : Algebra R A\ninst✝² : Algebra R ... | [
109,
47
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
108,
1
] |
Mathlib/GroupTheory/Subgroup/Basic.lean | Subgroup.ker_inclusion | [] | [
2856,
63
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
2855,
1
] |
Mathlib/RingTheory/HahnSeries.lean | HahnSeries.coeff_order_ne_zero | [
{
"state_after": "Γ : Type u_1\nR : Type u_2\ninst✝² : PartialOrder Γ\ninst✝¹ : Zero R\na b : Γ\nr : R\ninst✝ : Zero Γ\nx : HahnSeries Γ R\nhx : x ≠ 0\n⊢ coeff x (Set.IsWf.min (_ : Set.IsWf (support x)) (_ : Set.Nonempty (support x))) ≠ 0",
"state_before": "Γ : Type u_1\nR : Type u_2\ninst✝² : PartialOrder ... | [
236,
59
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
234,
1
] |
Mathlib/Logic/Denumerable.lean | Nat.Subtype.ofNat_surjective | [] | [
308,
90
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
308,
1
] |
Mathlib/Order/WellFounded.lean | Function.argminOn_le | [] | [
229,
43
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
227,
1
] |
Mathlib/CategoryTheory/Limits/Shapes/CommSq.lean | CategoryTheory.IsPullback.of_iso_pullback | [] | [
315,
90
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
311,
1
] |
Mathlib/Analysis/Complex/Basic.lean | Complex.isometry_ofReal | [] | [
383,
20
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
382,
1
] |
Std/Data/List/Lemmas.lean | List.chain_lt_range' | [] | [
1845,
83
] | e68aa8f5fe47aad78987df45f99094afbcb5e936 | https://github.com/leanprover/std4 | [
1843,
1
] |
Mathlib/Algebra/Order/Rearrangement.lean | Antivary.sum_mul_le_sum_comp_perm_mul | [] | [
526,
37
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
524,
1
] |
Mathlib/Order/LiminfLimsup.lean | Filter.sdiff_limsup | [
{
"state_after": "α : Type u_2\nβ : Type u_1\nγ : Type ?u.176193\nι : Type ?u.176196\ninst✝¹ : CompleteBooleanAlgebra α\nf : Filter β\nu : β → α\ninst✝ : NeBot f\na : α\n⊢ (a \\ limsup u f)ᶜ = liminf (fun b => a \\ u b) fᶜ",
"state_before": "α : Type u_2\nβ : Type u_1\nγ : Type ?u.176193\nι : Type ?u.176196... | [
1039,
82
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1037,
1
] |
Mathlib/MeasureTheory/Function/SimpleFunc.lean | MeasureTheory.SimpleFunc.finMeasSupp_iff | [
{
"state_after": "case mp\nα : Type u_1\nβ : Type u_2\nγ : Type ?u.906136\nδ : Type ?u.906139\nm : MeasurableSpace α\ninst✝¹ : Zero β\ninst✝ : Zero γ\nμ : Measure α\nf : α →ₛ β\n⊢ SimpleFunc.FinMeasSupp f μ → ∀ (y : β), y ≠ 0 → ↑↑μ (↑f ⁻¹' {y}) < ⊤\n\ncase mpr\nα : Type u_1\nβ : Type u_2\nγ : Type ?u.906136\nδ ... | [
1199,
58
] | 5a919533f110b7d76410134a237ee374f24eaaad | https://github.com/leanprover-community/mathlib4 | [
1192,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.