module stringlengths 17 90 | startPos dict | endPos dict | nextStartPos dict | goals listlengths 0 96 | goalsAfter listlengths 0 96 | ppTac stringlengths 1 12.3k | elaborator stringclasses 379
values | kind stringclasses 383
values |
|---|---|---|---|---|---|---|---|---|
Mathlib.Combinatorics.Matroid.Minor.Contract | {
"line": 212,
"column": 2
} | {
"line": 212,
"column": 97
} | {
"line": 213,
"column": 4
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nI J X : Set α\nhIX : M.IsBasis' I X\nhJI : J ⊆ I\n⊢ (M / J).IsBasis' (I \\ J) X",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"_private.Mathlib.Combinatorics.Matroid.Minor.Contract.0.Matroid.IsBasis'.contract_isBasis'_sdiff_of_subset._simp_1_1",... | [
"α : Type u_1\nM : Matroid α\nI J X : Set α\nhIX : M.IsBasis' I X\nhJI : J ⊆ I\n⊢ (M / J).IsBasis (I \\ J) (X ∩ (M.E \\ J))"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Matroid.Minor.Contract | {
"line": 240,
"column": 2
} | {
"line": 240,
"column": 52
} | {
"line": 241,
"column": 4
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nI J X : Set α\nh : M.IsBasis' (J ∪ I) (X ∪ I)\nhJI : Disjoint J I\nhXI : Disjoint X I\n⊢ (M / I).IsBasis' J X",
"ppTerm": "?m.14",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"α : Type u_1\nM : Matroid α\nI J X : Set α\nh : M.IsBasis' (J ∪ I) (X ∪ I)\nhJI : Disjoint J I\nhXI : Disjoint X I\n⊢ (M / I).IsBasis' J X"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Matroid.Minor.Contract | {
"line": 368,
"column": 6
} | {
"line": 368,
"column": 17
} | {
"line": 368,
"column": 18
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nX : Set α\nhX : X ⊆ M.coloops\n⊢ M / X = M \ X",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Matroid.dual",
"id",
"propext",
"Eq.symm",
"Eq",
"Matroid",
"Matroid.contract",
... | [
"α : Type u_1\nM : Matroid α\nX : Set α\nhX : X ⊆ M.coloops\n⊢ (M / X)✶ = (M \ X)✶"
] | ← dual_inj, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Combinatorics.Matroid.Minor.Contract | {
"line": 491,
"column": 2
} | {
"line": 491,
"column": 49
} | {
"line": 491,
"column": 50
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nK C : Set α\nhC : M.IsCircuit C\nhK : K.Nonempty\nhKC : K ⊆ C\n⊢ (M / (C \\ K)).IsCircuit K",
"ppTerm": "?m.9",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"α : Type u_1\nM : Matroid α\nK C : Set α\nhC : M.IsCircuit C\nhK : K.Nonempty\nhKC : K ⊆ C\n⊢ (M / (C \\ K)).IsCircuit K"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Matroid.Minor.Contract | {
"line": 542,
"column": 2
} | {
"line": 542,
"column": 51
} | {
"line": 543,
"column": 2
} | [
{
"pp": "α : Type u_1\nR C : Set α\nM : Matroid α\nh : Disjoint C R\nI : Set α\nhI : I ⊆ R\n⊢ (M / C ↾ R).Indep I ↔ ((M ↾ (R ∪ C)) / C).Indep I",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"Set.instMax",
"Matroid.IsBasis'",
"Exists",
"Matroid.Indep",
"Iff",... | [
"α : Type u_1\nR C : Set α\nM : Matroid α\nh : Disjoint C R\nI : Set α\nhI : I ⊆ R\nJ : Set α\nhJ : (M ↾ (R ∪ C)).IsBasis' J C\n⊢ (M / C ↾ R).Indep I ↔ ((M ↾ (R ∪ C)) / C).Indep I"
] | obtain ⟨J, hJ⟩ := (M ↾ (R ∪ C)).exists_isBasis' C | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.Combinatorics.Matroid.Minor.Contract | {
"line": 544,
"column": 4
} | {
"line": 544,
"column": 65
} | {
"line": 544,
"column": 66
} | [
{
"pp": "α : Type u_1\nR C : Set α\nM : Matroid α\nh : Disjoint C R\nI : Set α\nhI : I ⊆ R\nJ : Set α\nhJ : (M ↾ (R ∪ C)).IsBasis' J C\n⊢ M.IsBasis' J C",
"ppTerm": "?m.36",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"α : Type u_1\nR C : Set α\nM : Matroid α\nh : Disjoint C R\nI : Set α\nhI : I ⊆ R\nJ : Set α\nhJ : (M ↾ (R ∪ C)).IsBasis' J C\n⊢ M.IsBasis' J C"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Matroid.Sum | {
"line": 133,
"column": 21
} | {
"line": 133,
"column": 32
} | {
"line": 133,
"column": 33
} | [
{
"pp": "ι : Type u_1\nα : ι → Type u_2\nM : (i : ι) → Matroid (α i)\nI X : Set ((i : ι) × α i)\nhI : ∀ (i : ι), (M i).Indep (Sigma.mk i ⁻¹' I)\nx✝ :\n I ⊆ X ∧\n (∀ ⦃t : Set ((i : ι) × α i)⦄, (∀ (i : ι), (M i).Indep (Sigma.mk i ⁻¹' t)) → t ⊆ X → I ⊆ t → I = t) ∧\n X ⊆ univ.sigma fun i ↦ (M i).E\nhIX : ... | [
"ι : Type u_1\nα : ι → Type u_2\nM : (i : ι) → Matroid (α i)\nI X : Set ((i : ι) × α i)\nhI : ∀ (i : ι), (M i).Indep (Sigma.mk i ⁻¹' I)\nx✝ :\n I ⊆ X ∧\n (∀ ⦃t : Set ((i : ι) × α i)⦄, (∀ (i : ι), (M i).Indep (Sigma.mk i ⁻¹' t)) → t ⊆ X → I ⊆ t → I = t) ∧\n X ⊆ univ.sigma fun i ↦ (M i).E\nhIX : I ⊆ X\nh : ∀... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Matroid.Sum | {
"line": 134,
"column": 29
} | {
"line": 134,
"column": 40
} | {
"line": 134,
"column": 41
} | [
{
"pp": "ι : Type u_1\nα : ι → Type u_2\nM : (i : ι) → Matroid (α i)\nI X : Set ((i : ι) × α i)\nhI : ∀ (i : ι), (M i).Indep (Sigma.mk i ⁻¹' I)\nx✝¹ :\n (∀ (x : ι), Sigma.mk x ⁻¹' I ⊆ Sigma.mk x ⁻¹' X) ∧\n (∀ (x : ι) ⦃t : Set (α x)⦄, (M x).Indep t → t ⊆ Sigma.mk x ⁻¹' X → Sigma.mk x ⁻¹' I ⊆ t → Sigma.mk x ⁻... | [
"ι : Type u_1\nα : ι → Type u_2\nM : (i : ι) → Matroid (α i)\nI X : Set ((i : ι) × α i)\nhI : ∀ (i : ι), (M i).Indep (Sigma.mk i ⁻¹' I)\nx✝¹ :\n (∀ (x : ι), Sigma.mk x ⁻¹' I ⊆ Sigma.mk x ⁻¹' X) ∧\n (∀ (x : ι) ⦃t : Set (α x)⦄, (M x).Indep t → t ⊆ Sigma.mk x ⁻¹' X → Sigma.mk x ⁻¹' I ⊆ t → Sigma.mk x ⁻¹' I = t) ∧\... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Matroid.Sum | {
"line": 136,
"column": 4
} | {
"line": 136,
"column": 15
} | {
"line": 136,
"column": 16
} | [
{
"pp": "case refine_4\nι : Type u_1\nα : ι → Type u_2\nM : (i : ι) → Matroid (α i)\nI X : Set ((i : ι) × α i)\nhI : ∀ (i : ι), (M i).Indep (Sigma.mk i ⁻¹' I)\nx✝¹ :\n (∀ (x : ι), Sigma.mk x ⁻¹' I ⊆ Sigma.mk x ⁻¹' X) ∧\n (∀ (x : ι) ⦃t : Set (α x)⦄, (M x).Indep t → t ⊆ Sigma.mk x ⁻¹' X → Sigma.mk x ⁻¹' I ⊆ t... | [
"case refine_4\nι : Type u_1\nα : ι → Type u_2\nM : (i : ι) → Matroid (α i)\nI X : Set ((i : ι) × α i)\nhI : ∀ (i : ι), (M i).Indep (Sigma.mk i ⁻¹' I)\nx✝¹ :\n (∀ (x : ι), Sigma.mk x ⁻¹' I ⊆ Sigma.mk x ⁻¹' X) ∧\n (∀ (x : ι) ⦃t : Set (α x)⦄, (M x).Indep t → t ⊆ Sigma.mk x ⁻¹' X → Sigma.mk x ⁻¹' I ⊆ t → Sigma.mk ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Matroid.Sum | {
"line": 137,
"column": 26
} | {
"line": 137,
"column": 37
} | {
"line": 137,
"column": 38
} | [
{
"pp": "ι : Type u_1\nα : ι → Type u_2\nM : (i : ι) → Matroid (α i)\nI X : Set ((i : ι) × α i)\nhI : ∀ (i : ι), (M i).Indep (Sigma.mk i ⁻¹' I)\nx✝¹ :\n (∀ (x : ι), Sigma.mk x ⁻¹' I ⊆ Sigma.mk x ⁻¹' X) ∧\n (∀ (x : ι) ⦃t : Set (α x)⦄, (M x).Indep t → t ⊆ Sigma.mk x ⁻¹' X → Sigma.mk x ⁻¹' I ⊆ t → Sigma.mk x ⁻... | [
"ι : Type u_1\nα : ι → Type u_2\nM : (i : ι) → Matroid (α i)\nI X : Set ((i : ι) × α i)\nhI : ∀ (i : ι), (M i).Indep (Sigma.mk i ⁻¹' I)\nx✝¹ :\n (∀ (x : ι), Sigma.mk x ⁻¹' I ⊆ Sigma.mk x ⁻¹' X) ∧\n (∀ (x : ι) ⦃t : Set (α x)⦄, (M x).Indep t → t ⊆ Sigma.mk x ⁻¹' X → Sigma.mk x ⁻¹' I ⊆ t → Sigma.mk x ⁻¹' I = t) ∧\... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPolynomial.Groebner | {
"line": 159,
"column": 6
} | {
"line": 159,
"column": 24
} | {
"line": 159,
"column": 25
} | [
{
"pp": "σ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝ : CommRing R\nι : Type u_3\nb : ι → MvPolynomial σ R\nhb : ∀ (i : ι), IsUnit (m.leadingCoeff (b i))\nf : MvPolynomial σ R\nhb' : ∀ (i : ι), m.degree (b i) ≠ 0\nhf0 : ¬f = 0\ni : ι\nhf : m.degree (b i) ≤ m.degree f\nhf0' : m.degree f = 0\n⊢ m.degree... | [
"σ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝ : CommRing R\nι : Type u_3\nb : ι → MvPolynomial σ R\nhb : ∀ (i : ι), IsUnit (m.leadingCoeff (b i))\nf : MvPolynomial σ R\nhb' : ∀ (i : ι), m.degree (b i) ≠ 0\nhf0 : ¬f = 0\ni : ι\nhf : m.degree (b i) ≤ m.degree f\nhf0' : m.degree f = 0\n⊢ m.degree (b i) = 0"
... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Matroid.Sum | {
"line": 289,
"column": 9
} | {
"line": 289,
"column": 33
} | {
"line": 289,
"column": 34
} | [
{
"pp": "case h\nα : Type u_1\nM N : Matroid α\nh : Disjoint M.E N.E\nI✝ : Set α\na✝ : I✝ ⊆ (M.disjointSum N h).E\n⊢ (M.disjointSum N h).Indep I✝ ↔ (N.disjointSum M ⋯).Indep I✝",
"ppTerm": "?h",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Set.instMax",
"ChainCompletePartialOrde... | [
"case h\nα : Type u_1\nM N : Matroid α\nh : Disjoint M.E N.E\nI✝ : Set α\na✝ : I✝ ⊆ (M.disjointSum N h).E\n⊢ M.Indep (I✝ ∩ M.E) ∧ N.Indep (I✝ ∩ N.E) ∧ I✝ ⊆ M.E ∪ N.E ↔ N.Indep (I✝ ∩ N.E) ∧ M.Indep (I✝ ∩ M.E) ∧ I✝ ⊆ M.E ∪ N.E"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Arborescence | {
"line": 68,
"column": 16
} | {
"line": 68,
"column": 55
} | {
"line": 69,
"column": 6
} | [
{
"pp": "case zero\nV : Type u\ninst✝ : Quiver V\nr : V\nheight : V → ℕ\nheight_lt : ∀ ⦃a b : V⦄ (a_1 : a ⟶ b), height a < height b\nunique_arrow : ∀ ⦃a b c : V⦄ (e : a ⟶ c) (f : b ⟶ c), a = b ∧ e ≍ f\nroot_or_arrow : ∀ (b : V), b = r ∨ ∃ a, Nonempty (a ⟶ b)\nb : V\nhn : height b < 0\n⊢ Nonempty (Path r b)",
... | [] | exact False.elim (Nat.not_lt_zero _ hn) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Combinatorics.Quiver.Arborescence | {
"line": 68,
"column": 16
} | {
"line": 68,
"column": 55
} | {
"line": 69,
"column": 6
} | [
{
"pp": "case zero\nV : Type u\ninst✝ : Quiver V\nr : V\nheight : V → ℕ\nheight_lt : ∀ ⦃a b : V⦄ (a_1 : a ⟶ b), height a < height b\nunique_arrow : ∀ ⦃a b c : V⦄ (e : a ⟶ c) (f : b ⟶ c), a = b ∧ e ≍ f\nroot_or_arrow : ∀ (b : V), b = r ∨ ∃ a, Nonempty (a ⟶ b)\nb : V\nhn : height b < 0\n⊢ Nonempty (Path r b)",
... | [] | exact False.elim (Nat.not_lt_zero _ hn) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.Quiver.Arborescence | {
"line": 68,
"column": 16
} | {
"line": 68,
"column": 55
} | {
"line": 69,
"column": 6
} | [
{
"pp": "case zero\nV : Type u\ninst✝ : Quiver V\nr : V\nheight : V → ℕ\nheight_lt : ∀ ⦃a b : V⦄ (a_1 : a ⟶ b), height a < height b\nunique_arrow : ∀ ⦃a b c : V⦄ (e : a ⟶ c) (f : b ⟶ c), a = b ∧ e ≍ f\nroot_or_arrow : ∀ (b : V), b = r ∨ ∃ a, Nonempty (a ⟶ b)\nb : V\nhn : height b < 0\n⊢ Nonempty (Path r b)",
... | [] | exact False.elim (Nat.not_lt_zero _ hn) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.Quiver.ConnectedComponent | {
"line": 199,
"column": 4
} | {
"line": 199,
"column": 85
} | {
"line": 200,
"column": 6
} | [
{
"pp": "V : Type u_2\ninst✝ : Quiver V\nh_sc : IsStronglyConnected V\ni₀ j₀ : V\ne₀ : i₀ ⟶ j₀\ni j : V\np₁ : Path i i₀\np₂ : Path j₀ j\np : Path i j := p₁.comp (e₀.toPath.comp p₂)\n⊢ 0 < p.length",
"ppTerm": "?m.56",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"id",... | [
"V : Type u_2\ninst✝ : Quiver V\nh_sc : IsStronglyConnected V\ni₀ j₀ : V\ne₀ : i₀ ⟶ j₀\ni j : V\np₁ : Path i i₀\np₂ : Path j₀ j\np : Path i j := p₁.comp (e₀.toPath.comp p₂)\n⊢ 0 < 1 + (p₂.length + p₁.length)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPolynomial.Groebner | {
"line": 200,
"column": 10
} | {
"line": 200,
"column": 49
} | {
"line": 200,
"column": 50
} | [
{
"pp": "σ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝ : CommRing R\nι : Type u_3\nb : ι → MvPolynomial σ R\nhb : ∀ (i : ι), IsUnit (m.leadingCoeff (b i))\nf : MvPolynomial σ R\nhb' : ∀ (i : ι), m.degree (b i) ≠ 0\nhf0 : ¬f = 0\nhf : ∀ (i : ι), ¬m.degree (b i) ≤ m.degree f\ng' : ι →₀ MvPolynomial σ R\n... | [
"σ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝ : CommRing R\nι : Type u_3\nb : ι → MvPolynomial σ R\nhb : ∀ (i : ι), IsUnit (m.leadingCoeff (b i))\nf : MvPolynomial σ R\nhb' : ∀ (i : ι), m.degree (b i) ≠ 0\nhf0 : ¬f = 0\nhf : ∀ (i : ι), ¬m.degree (b i) ≤ m.degree f\ng' : ι →₀ MvPolynomial σ R\nr' : MvPolyn... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Covering | {
"line": 110,
"column": 73
} | {
"line": 110,
"column": 84
} | {
"line": 110,
"column": 85
} | [
{
"pp": "U : Type u_1\ninst✝¹ : Quiver U\nV : Type u_2\ninst✝ : Quiver V\nφ : U ⥤q V\nhφ : φ.IsCovering\nu v : U\nf g : u ⟶ v\nhe : (fun f ↦ φ.map f) f = (fun f ↦ φ.map f) g\n⊢ φ.star u (Star.mk f) = φ.star u (Star.mk g)",
"ppTerm": "?m.45",
"assigned": true,
"usedConstants": [
"Eq.mpr",
... | [
"U : Type u_1\ninst✝¹ : Quiver U\nV : Type u_2\ninst✝ : Quiver V\nφ : U ⥤q V\nhφ : φ.IsCovering\nu v : U\nf g : u ⟶ v\nhe : (fun f ↦ φ.map f) f = (fun f ↦ φ.map f) g\n⊢ φ.map f = φ.map g"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Covering | {
"line": 111,
"column": 2
} | {
"line": 111,
"column": 13
} | {
"line": 111,
"column": 14
} | [
{
"pp": "U : Type u_1\ninst✝¹ : Quiver U\nV : Type u_2\ninst✝ : Quiver V\nφ : U ⥤q V\nhφ : φ.IsCovering\nu v : U\nf g : u ⟶ v\nhe : (fun f ↦ φ.map f) f = (fun f ↦ φ.map f) g\nthis : φ.star u (Star.mk f) = φ.star u (Star.mk g)\n⊢ f = g",
"ppTerm": "?m.46",
"assigned": false,
"usedConstants": [],
... | [
"U : Type u_1\ninst✝¹ : Quiver U\nV : Type u_2\ninst✝ : Quiver V\nφ : U ⥤q V\nhφ : φ.IsCovering\nu v : U\nf g : u ⟶ v\nhe : (fun f ↦ φ.map f) f = (fun f ↦ φ.map f) g\nthis : φ.star u (Star.mk f) = φ.star u (Star.mk g)\n⊢ f = g"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Nullstellensatz | {
"line": 136,
"column": 6
} | {
"line": 136,
"column": 68
} | {
"line": 136,
"column": 69
} | [
{
"pp": "case h_option.Heval\nR : Type u_1\ninst✝³ : CommRing R\nσ✝ : Type u_2\ninst✝² : Finite σ✝\ninst✝¹ : IsDomain R\nσ : Type u_2\ninst✝ : Fintype σ\nh :\n ∀ (P : MvPolynomial σ R) (S : σ → Finset R),\n (∀ (i : σ), degreeOf i P < #(S i)) → (∀ (x : σ → R), (∀ (i : σ), x i ∈ S i) → (eval x) P = 0) → P = 0... | [
"case h_option.Heval\nR : Type u_1\ninst✝³ : CommRing R\nσ✝ : Type u_2\ninst✝² : Finite σ✝\ninst✝¹ : IsDomain R\nσ : Type u_2\ninst✝ : Fintype σ\nh :\n ∀ (P : MvPolynomial σ R) (S : σ → Finset R),\n (∀ (i : σ), degreeOf i P < #(S i)) → (∀ (x : σ → R), (∀ (i : σ), x i ∈ S i) → (eval x) P = 0) → P = 0\nP : MvPoly... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Nullstellensatz | {
"line": 67,
"column": 2
} | {
"line": 67,
"column": 54
} | {
"line": 68,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝² : CommRing R\nσ : Type u_2\ninst✝¹ : Finite σ\ninst✝ : IsDomain R\nP : MvPolynomial σ R\nS : σ → Finset R\nHdeg : ∀ (i : σ), degreeOf i P < #(S i)\nHeval : ∀ (x : σ → R), (∀ (i : σ), x i ∈ S i) → (eval x) P = 0\n⊢ P = 0",
"ppTerm": "?m.24",
"assigned": true,
"usedConsta... | [] | induction σ using Finite.induction_empty_option with | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | null |
Mathlib.Combinatorics.Nullstellensatz | {
"line": 177,
"column": 6
} | {
"line": 177,
"column": 54
} | {
"line": 177,
"column": 55
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\nι : Type u_3\ni : ι\nS : Finset R\nm : ι →₀ ℕ\nhP : P S i = (rename fun x ↦ i) (P S ())\ne : Unit →₀ ℕ\nhe : ¬(P S ()).coeff e = 0\nhm : mapDomain (fun x ↦ i) e = m\nthis✝ : Nontrivial R\nthis : lex.toSyn e ≤ lex.toSyn (single () #S)\n⊢ e () ≤ #S",
"ppTerm": "?m.11... | [
"R : Type u_1\ninst✝ : CommRing R\nι : Type u_3\ni : ι\nS : Finset R\nm : ι →₀ ℕ\nhP : P S i = (rename fun x ↦ i) (P S ())\ne : Unit →₀ ℕ\nhe : ¬(P S ()).coeff e = 0\nhm : mapDomain (fun x ↦ i) e = m\nthis✝ : Nontrivial R\nthis : lex.toSyn e ≤ lex.toSyn (single () #S)\n⊢ e () ≤ #S"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Path.Vertices | {
"line": 143,
"column": 4
} | {
"line": 143,
"column": 15
} | {
"line": 143,
"column": 16
} | [
{
"pp": "V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nq : Path b a\nh : p.comp q = nil\n⊢ (p.comp q).length = 0",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Nat.add_eq_zero_iff._simp_1",
"id",
"instOfNatNat",
"instHAdd... | [
"V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nq : Path b a\nh : p.comp q = nil\n⊢ p.length = 0 ∧ q.length = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Path.Vertices | {
"line": 145,
"column": 4
} | {
"line": 145,
"column": 29
} | {
"line": 145,
"column": 30
} | [
{
"pp": "V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nq : Path b a\nh : p.comp q = nil\nhlen : (p.comp q).length = 0\n⊢ p.length + q.length = 0",
"ppTerm": "?m.70",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.add_eq_zero_iff._simp_1",
"id",
"instOfNatNat",
... | [
"V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nq : Path b a\nh : p.comp q = nil\nhlen : (p.comp q).length = 0\n⊢ p.length = 0 ∧ q.length = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Path.Vertices | {
"line": 152,
"column": 4
} | {
"line": 152,
"column": 15
} | {
"line": 152,
"column": 16
} | [
{
"pp": "V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nq : Path b a\nh : p.comp q = nil\n⊢ (p.comp q).length = 0",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Nat.add_eq_zero_iff._simp_1",
"id",
"instOfNatNat",
"instHAdd... | [
"V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nq : Path b a\nh : p.comp q = nil\n⊢ p.length = 0 ∧ q.length = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Path.Weight | {
"line": 105,
"column": 6
} | {
"line": 105,
"column": 31
} | {
"line": 105,
"column": 32
} | [
{
"pp": "case cons\nV : Type u_1\ninst✝³ : Quiver V\nR : Type u_2\ninst✝² : Semiring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nw : {i j : V} → (i ⟶ j) → R\nhw : ∀ {i j : V} (e : i ⟶ j), 0 < w e\ni j b✝ c✝ : V\np : Path i b✝\ne : b✝ ⟶ c✝\nih : 0 < weight (fun {i j} ↦ w) p\nhe : 0 < w e\n⊢ 0 < wei... | [
"case cons\nV : Type u_1\ninst✝³ : Quiver V\nR : Type u_2\ninst✝² : Semiring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nw : {i j : V} → (i ⟶ j) → R\nhw : ∀ {i j : V} (e : i ⟶ j), 0 < w e\ni j b✝ c✝ : V\np : Path i b✝\ne : b✝ ⟶ c✝\nih : 0 < weight (fun {i j} ↦ w) p\nhe : 0 < w e\n⊢ 0 < weight (fun {i ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Path.Vertices | {
"line": 154,
"column": 4
} | {
"line": 154,
"column": 29
} | {
"line": 154,
"column": 30
} | [
{
"pp": "V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nq : Path b a\nh : p.comp q = nil\nhlen : (p.comp q).length = 0\n⊢ p.length + q.length = 0",
"ppTerm": "?m.70",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.add_eq_zero_iff._simp_1",
"id",
"instOfNatNat",
... | [
"V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nq : Path b a\nh : p.comp q = nil\nhlen : (p.comp q).length = 0\n⊢ p.length = 0 ∧ q.length = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Path.Weight | {
"line": 116,
"column": 6
} | {
"line": 116,
"column": 31
} | {
"line": 116,
"column": 32
} | [
{
"pp": "case cons\nV : Type u_1\ninst✝³ : Quiver V\nR : Type u_2\ninst✝² : Semiring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nw : {i j : V} → (i ⟶ j) → R\nhw : ∀ {i j : V} (e : i ⟶ j), 0 ≤ w e\ni j b✝ c✝ : V\np : Path i b✝\ne : b✝ ⟶ c✝\nih : 0 ≤ weight (fun {i j} ↦ w) p\nhe : 0 ≤ w e\n⊢ 0 ≤ wei... | [
"case cons\nV : Type u_1\ninst✝³ : Quiver V\nR : Type u_2\ninst✝² : Semiring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nw : {i j : V} → (i ⟶ j) → R\nhw : ∀ {i j : V} (e : i ⟶ j), 0 ≤ w e\ni j b✝ c✝ : V\np : Path i b✝\ne : b✝ ⟶ c✝\nih : 0 ≤ weight (fun {i j} ↦ w) p\nhe : 0 ≤ w e\n⊢ 0 ≤ weight (fun {i ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Path.Vertices | {
"line": 161,
"column": 11
} | {
"line": 161,
"column": 22
} | {
"line": 161,
"column": 23
} | [
{
"pp": "case nil\nV : Type u_1\ninst✝ : Quiver V\na b : V\nq : Path a a\nx✝ : nil.length = 0 ∧ q.length = 0\nhp : nil.length = 0\nhq : q.length = 0\n⊢ nil.comp q = nil",
"ppTerm": "?nil",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Quiver.Path.nil",
"congrArg",
"id",
... | [
"case nil\nV : Type u_1\ninst✝ : Quiver V\na b : V\nq : Path a a\nx✝ : nil.length = 0 ∧ q.length = 0\nhp : nil.length = 0\nhq : q.length = 0\n⊢ q = nil"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Path.Vertices | {
"line": 169,
"column": 2
} | {
"line": 169,
"column": 18
} | {
"line": 169,
"column": 19
} | [
{
"pp": "V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nh₁ : p.vertices.getLast ⋯ = b\nh₂ : p.vertices.getLast ⋯ ∈ p.vertices\n⊢ b ∈ p.vertices",
"ppTerm": "?m.41",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nh₁ : p.vertices.getLast ⋯ = b\nh₂ : p.vertices.getLast ⋯ ∈ p.vertices\n⊢ b ∈ p.vertices"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Path.Vertices | {
"line": 185,
"column": 31
} | {
"line": 185,
"column": 42
} | {
"line": 185,
"column": 43
} | [
{
"pp": "V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nn : ℕ\nhn : n ≤ nil.length\n⊢ n = 0",
"ppTerm": "?m.48",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nn : ℕ\nhn : n ≤ nil.length\n⊢ n = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Path.Vertices | {
"line": 221,
"column": 6
} | {
"line": 221,
"column": 52
} | {
"line": 221,
"column": 53
} | [
{
"pp": "V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nv : V\nhv : v ∈ nil.vertices\n⊢ v = a",
"ppTerm": "?m.48",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nv : V\nhv : v ∈ nil.vertices\n⊢ v = a"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Quiver.Path.Vertices | {
"line": 224,
"column": 6
} | {
"line": 224,
"column": 76
} | {
"line": 224,
"column": 76
} | [
{
"pp": "V : Type u_1\ninst✝ : Quiver V\nb v : V\np : Path v b\nhv : v ∈ nil.vertices\n⊢ ¬v ∈ nil.vertices.tail",
"ppTerm": "?m.82",
"assigned": true,
"usedConstants": [
"False",
"Quiver.Path.nil",
"congrArg",
"Membership.mem",
"List.tail",
"List",
"_private... | [] | by simp only [vertices_nil, tail_cons, not_mem_nil, not_false_eq_true] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Combinatorics.Quiver.Path.Vertices | {
"line": 227,
"column": 6
} | {
"line": 227,
"column": 17
} | {
"line": 227,
"column": 18
} | [
{
"pp": "V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nv b✝ c✝ : V\npPrev : Path a b✝\ne : b✝ ⟶ c✝\nih : v ∈ pPrev.vertices → ∃ p₁ p₂, pPrev = p₁.comp p₂ ∧ ¬v ∈ p₂.vertices.tail\nhv : v ∈ (pPrev.cons e).vertices\n⊢ v ∈ pPrev.vertices ∨ v = (pPrev.cons e).end",
"ppTerm": "?m.104",
"assigned": tr... | [
"V : Type u_1\ninst✝ : Quiver V\na b : V\np : Path a b\nv b✝ c✝ : V\npPrev : Path a b✝\ne : b✝ ⟶ c✝\nih : v ∈ pPrev.vertices → ∃ p₁ p₂, pPrev = p₁.comp p₂ ∧ ¬v ∈ p₂.vertices.tail\nhv : v ∈ (pPrev.cons e).vertices\n⊢ v ∈ pPrev.vertices ∨ v = c✝"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Schnirelmann | {
"line": 99,
"column": 4
} | {
"line": 99,
"column": 15
} | {
"line": 99,
"column": 16
} | [
{
"pp": "case inl\nA : Set ℕ\ninst✝ : DecidablePred fun x ↦ x ∈ A\nhk : 0 ∉ A\n⊢ schnirelmannDensity A ≤ 1 - (↑0)⁻¹",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"GroupWithZero.toMonoidWithZero",
"Real.instLE",
"Real",
"congrArg",
"Real.instIn... | [
"case inl\nA : Set ℕ\ninst✝ : DecidablePred fun x ↦ x ∈ A\nhk : 0 ∉ A\n⊢ schnirelmannDensity A ≤ 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Schnirelmann | {
"line": 101,
"column": 6
} | {
"line": 101,
"column": 16
} | {
"line": 101,
"column": 17
} | [
{
"pp": "case inr\nA : Set ℕ\ninst✝ : DecidablePred fun x ↦ x ∈ A\nk : ℕ\nhk : k ∉ A\nhk' : k > 0\n⊢ ↑(#({a ∈ Ioc 0 k | a ∈ A})) / ↑k ≤ 1 - (↑k)⁻¹",
"ppTerm": "?inr",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"Real.instLE",
"Real",
"DivInvMonoid.toI... | [
"case inr\nA : Set ℕ\ninst✝ : DecidablePred fun x ↦ x ∈ A\nk : ℕ\nhk : k ∉ A\nhk' : k > 0\n⊢ ↑(#({a ∈ Ioc 0 k | a ∈ A})) / ↑k ≤ 1 - 1 / ↑k"
] | ← one_div, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Combinatorics.Schnirelmann | {
"line": 211,
"column": 36
} | {
"line": 211,
"column": 47
} | {
"line": 211,
"column": 48
} | [
{
"pp": "A : Set ℕ\ninst✝ : DecidablePred fun x ↦ x ∈ A\nhA : A.Finite\n⊢ schnirelmannDensity A = 0",
"ppTerm": "?m.11",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"A : Set ℕ\ninst✝ : DecidablePred fun x ↦ x ∈ A\nhA : A.Finite\n⊢ schnirelmannDensity A = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.Schnirelmann | {
"line": 240,
"column": 8
} | {
"line": 240,
"column": 18
} | {
"line": 240,
"column": 19
} | [
{
"pp": "m : ℕ\nhm : m ≠ 1\nhm' : m > 0\n⊢ ↑(#({a ∈ Ioc 0 m | a ∈ {n | n % m = 1}})) / ↑m ≤ (↑m)⁻¹",
"ppTerm": "?m.55",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"Real.instLE",
"Real",
"DivInvMonoid.toInv",
"instHDiv",
"Monoid.toMulOneCl... | [
"m : ℕ\nhm : m ≠ 1\nhm' : m > 0\n⊢ ↑(#({a ∈ Ioc 0 m | a ∈ {n | n % m = 1}})) / ↑m ≤ 1 / ↑m"
] | ← one_div, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Finset.Sups | {
"line": 159,
"column": 2
} | {
"line": 159,
"column": 28
} | {
"line": 159,
"column": 29
} | [
{
"pp": "F : Type u_1\nα : Type u_2\nβ : Type u_3\ninst✝⁵ : DecidableEq α\ninst✝⁴ : DecidableEq β\ninst✝³ : SemilatticeSup α\ninst✝² : SemilatticeSup β\ninst✝¹ : FunLike F α β\ninst✝ : SupHomClass F α β\nf : F\nhf : Injective ⇑f\ns t : Finset α\n⊢ map { toFun := ⇑f, inj' := hf } (s ⊻ t) = map { toFun := ⇑f, inj... | [
"F : Type u_1\nα : Type u_2\nβ : Type u_3\ninst✝⁵ : DecidableEq α\ninst✝⁴ : DecidableEq β\ninst✝³ : SemilatticeSup α\ninst✝² : SemilatticeSup β\ninst✝¹ : FunLike F α β\ninst✝ : SupHomClass F α β\nf : F\nhf : Injective ⇑f\ns t : Finset α\n⊢ image (⇑f) (s ⊻ t) = image (⇑f) s ⊻ image (⇑f) t"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Data.Finset.Sups | {
"line": 304,
"column": 2
} | {
"line": 304,
"column": 28
} | {
"line": 304,
"column": 29
} | [
{
"pp": "F : Type u_1\nα : Type u_2\nβ : Type u_3\ninst✝⁵ : DecidableEq α\ninst✝⁴ : DecidableEq β\ninst✝³ : SemilatticeInf α\ninst✝² : SemilatticeInf β\ninst✝¹ : FunLike F α β\ninst✝ : InfHomClass F α β\nf : F\nhf : Injective ⇑f\ns t : Finset α\n⊢ map { toFun := ⇑f, inj' := hf } (s ⊼ t) = map { toFun := ⇑f, inj... | [
"F : Type u_1\nα : Type u_2\nβ : Type u_3\ninst✝⁵ : DecidableEq α\ninst✝⁴ : DecidableEq β\ninst✝³ : SemilatticeInf α\ninst✝² : SemilatticeInf β\ninst✝¹ : FunLike F α β\ninst✝ : InfHomClass F α β\nf : F\nhf : Injective ⇑f\ns t : Finset α\n⊢ image (⇑f) (s ⊼ t) = image (⇑f) s ⊼ image (⇑f) t"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Data.Finset.Sups | {
"line": 484,
"column": 2
} | {
"line": 484,
"column": 66
} | {
"line": 484,
"column": 67
} | [
{
"pp": "α : Type u_2\ninst✝³ : DecidableEq α\ninst✝² : SemilatticeSup α\ninst✝¹ : OrderBot α\ninst✝ : DecidableRel Disjoint\ns₁ s₂ t : Finset α\n⊢ (s₁ ∩ s₂) ○ t ⊆ s₁ ○ t ∩ s₂ ○ t",
"ppTerm": "?m.27",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instDecidableEqProd",
"SProd.spro... | [
"α : Type u_2\ninst✝³ : DecidableEq α\ninst✝² : SemilatticeSup α\ninst✝¹ : OrderBot α\ninst✝ : DecidableRel Disjoint\ns₁ s₂ t : Finset α\n⊢ image (fun ab ↦ ab.1 ⊔ ab.2) ({ab ∈ s₁ ×ˢ t | Disjoint ab.1 ab.2} ∩ {ab ∈ s₂ ×ˢ t | Disjoint ab.1 ab.2}) ⊆\n image (fun ab ↦ ab.1 ⊔ ab.2) ({ab ∈ s₁ ×ˢ t | Disjoint ab.1 ab.2... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Data.Finset.Sups | {
"line": 487,
"column": 2
} | {
"line": 487,
"column": 66
} | {
"line": 487,
"column": 67
} | [
{
"pp": "α : Type u_2\ninst✝³ : DecidableEq α\ninst✝² : SemilatticeSup α\ninst✝¹ : OrderBot α\ninst✝ : DecidableRel Disjoint\ns t₁ t₂ : Finset α\n⊢ s ○ (t₁ ∩ t₂) ⊆ s ○ t₁ ∩ s ○ t₂",
"ppTerm": "?m.27",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instDecidableEqProd",
"SProd.spro... | [
"α : Type u_2\ninst✝³ : DecidableEq α\ninst✝² : SemilatticeSup α\ninst✝¹ : OrderBot α\ninst✝ : DecidableRel Disjoint\ns t₁ t₂ : Finset α\n⊢ image (fun ab ↦ ab.1 ⊔ ab.2) ({ab ∈ s ×ˢ t₁ | Disjoint ab.1 ab.2} ∩ {ab ∈ s ×ˢ t₂ | Disjoint ab.1 ab.2}) ⊆\n image (fun ab ↦ ab.1 ⊔ ab.2) ({ab ∈ s ×ˢ t₁ | Disjoint ab.1 ab.2... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Data.Finset.Sups | {
"line": 678,
"column": 14
} | {
"line": 678,
"column": 25
} | {
"line": 678,
"column": 26
} | [
{
"pp": "α : Type u_4\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\n𝒜 : Finset (Finset α)\nn : ℕ\nhn : n ≤ Fintype.card α\nh𝒜 : Set.Sized n ↑𝒜ᶜˢ\n⊢ Set.Sized (Fintype.card α - n) ↑𝒜",
"ppTerm": "?m.16",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"α : Type u_4\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\n𝒜 : Finset (Finset α)\nn : ℕ\nhn : n ≤ Fintype.card α\nh𝒜 : Set.Sized n ↑𝒜ᶜˢ\n⊢ Set.Sized (Fintype.card α - n) ↑𝒜"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Data.Finset.Sups | {
"line": 679,
"column": 15
} | {
"line": 679,
"column": 53
} | {
"line": 679,
"column": 54
} | [
{
"pp": "α : Type u_4\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\n𝒜 : Finset (Finset α)\nn : ℕ\nhn : n ≤ Fintype.card α\nh𝒜 : Set.Sized (Fintype.card α - n) ↑𝒜\n⊢ Set.Sized n ↑𝒜ᶜˢ",
"ppTerm": "?m.19",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"α : Type u_4\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\n𝒜 : Finset (Finset α)\nn : ℕ\nhn : n ≤ Fintype.card α\nh𝒜 : Set.Sized (Fintype.card α - n) ↑𝒜\n⊢ Set.Sized n ↑𝒜ᶜˢ"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.AhlswedeZhang | {
"line": 166,
"column": 2
} | {
"line": 166,
"column": 87
} | {
"line": 167,
"column": 4
} | [
{
"pp": "α : Type u_1\ninst✝³ : SemilatticeSup α\ns t : Finset α\na : α\ninst✝² : DecidableLE α\ninst✝¹ : OrderTop α\ninst✝ : DecidableEq α\nhs : a ∈ lowerClosure ↑s\nht : a ∈ lowerClosure ↑t\n⊢ (s ∪ t).truncatedSup a = s.truncatedSup a ⊔ t.truncatedSup a",
"ppTerm": "?m.33",
"assigned": true,
"used... | [
"α : Type u_1\ninst✝³ : SemilatticeSup α\ns t : Finset α\na : α\ninst✝² : DecidableLE α\ninst✝¹ : OrderTop α\ninst✝ : DecidableEq α\nhs : a ∈ lowerClosure ↑s\nht : a ∈ lowerClosure ↑t\n⊢ (({b ∈ s | a ≤ b} ∪ {b ∈ t | a ≤ b}).sup' ⋯ fun x ↦ id x) = {b ∈ s | a ≤ b}.sup' ⋯ id ⊔ {b ∈ t | a ≤ b}.sup' ⋯ id"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.AhlswedeZhang | {
"line": 243,
"column": 2
} | {
"line": 243,
"column": 87
} | {
"line": 244,
"column": 4
} | [
{
"pp": "α : Type u_1\ninst✝³ : SemilatticeInf α\ns t : Finset α\na : α\ninst✝² : DecidableLE α\ninst✝¹ : BoundedOrder α\ninst✝ : DecidableEq α\nhs : a ∈ upperClosure ↑s\nht : a ∈ upperClosure ↑t\n⊢ (s ∪ t).truncatedInf a = s.truncatedInf a ⊓ t.truncatedInf a",
"ppTerm": "?m.34",
"assigned": true,
"... | [
"α : Type u_1\ninst✝³ : SemilatticeInf α\ns t : Finset α\na : α\ninst✝² : DecidableLE α\ninst✝¹ : BoundedOrder α\ninst✝ : DecidableEq α\nhs : a ∈ upperClosure ↑s\nht : a ∈ upperClosure ↑t\n⊢ (({b ∈ s | b ≤ a} ∪ {b ∈ t | b ≤ a}).inf' ⋯ fun x ↦ id x) = {b ∈ s | b ≤ a}.inf' ⋯ id ⊓ {b ∈ t | b ≤ a}.inf' ⋯ id"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.Shatter | {
"line": 88,
"column": 13
} | {
"line": 88,
"column": 24
} | {
"line": 88,
"column": 25
} | [
{
"pp": "α : Type u_1\ninst✝ : DecidableEq α\n𝒜 ℬ : Finset (Finset α)\nh : 𝒜 ⊆ ℬ\nx✝ : Finset α\n⊢ x✝ ∈ 𝒜.shatterer → x✝ ∈ ℬ.shatterer",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Finset.mem_shatterer._simp_1",
"Finset",
"Membership.mem",
"id"... | [
"α : Type u_1\ninst✝ : DecidableEq α\n𝒜 ℬ : Finset (Finset α)\nh : 𝒜 ⊆ ℬ\nx✝ : Finset α\n⊢ 𝒜.Shatters x✝ → ℬ.Shatters x✝"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.Shatter | {
"line": 94,
"column": 62
} | {
"line": 94,
"column": 73
} | {
"line": 94,
"column": 74
} | [
{
"pp": "α : Type u_1\ninst✝ : DecidableEq α\n𝒜 : Finset (Finset α)\ns t : Finset α\n⊢ t ⊆ s → s ∈ ↑𝒜.shatterer → t ∈ ↑𝒜.shatterer",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"SetLike.mem_coe._simp_1",
"Finset.mem_shatterer._simp_1",
"Finset",
... | [
"α : Type u_1\ninst✝ : DecidableEq α\n𝒜 : Finset (Finset α)\ns t : Finset α\n⊢ t ⊆ s → 𝒜.Shatters s → 𝒜.Shatters t"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.Compression.UV | {
"line": 254,
"column": 2
} | {
"line": 254,
"column": 16
} | {
"line": 255,
"column": 2
} | [
{
"pp": "case inr\nα : Type u_1\ninst✝³ : GeneralizedBooleanAlgebra α\ninst✝² : DecidableRel Disjoint\ninst✝¹ : DecidableLE α\ns : Finset α\nu v a : α\ninst✝ : DecidableEq α\nhva : v ≤ a\nhvu : v = ⊥ → u = ⊥\nleft✝ : a ∉ s\nb : α\nhb : b ∈ s\nh : (if Disjoint u b ∧ v ≤ b then (b ⊔ u) \\ v else b) = a\n⊢ a ∈ s",... | [
"case pos\nα : Type u_1\ninst✝³ : GeneralizedBooleanAlgebra α\ninst✝² : DecidableRel Disjoint\ninst✝¹ : DecidableLE α\ns : Finset α\nu v a : α\ninst✝ : DecidableEq α\nhva : v ≤ a\nhvu : v = ⊥ → u = ⊥\nleft✝ : a ∉ s\nb : α\nhb : b ∈ s\nh✝ : Disjoint u b ∧ v ≤ b\nh : (b ⊔ u) \\ v = a\n⊢ a ∈ s",
"case neg\nα : Type ... | split_ifs at h | Mathlib.Tactic._aux_Mathlib_Tactic_SplitIfs___elabRules_Mathlib_Tactic_splitIfs_1 | Mathlib.Tactic.splitIfs |
Mathlib.Combinatorics.SetFamily.AhlswedeZhang | {
"line": 415,
"column": 4
} | {
"line": 415,
"column": 25
} | {
"line": 415,
"column": 26
} | [
{
"pp": "case ind.inl\nα : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\ninst✝ : Nonempty α\nm : ℕ\nih : ∀ (𝒜 : Finset (Finset α)), #𝒜 < m → 𝒜.Nonempty → univ ∉ 𝒜 → supSum 𝒜 = ↑(card α) * ∑ k ∈ range (card α), (↑k)⁻¹\na : Finset α\nh𝒜₁ : {a}.Nonempty\nh𝒜₂ : univ ∉ {a}\nhm : m = #{a}\n⊢ a ≠ univ",... | [
"case ind.inl\nα : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\ninst✝ : Nonempty α\nm : ℕ\nih : ∀ (𝒜 : Finset (Finset α)), #𝒜 < m → 𝒜.Nonempty → univ ∉ 𝒜 → supSum 𝒜 = ↑(card α) * ∑ k ∈ range (card α), (↑k)⁻¹\na : Finset α\nh𝒜₁ : {a}.Nonempty\nh𝒜₂ : univ ∉ {a}\nhm : m = #{a}\n⊢ ¬a = univ"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Order.Irreducible | {
"line": 88,
"column": 35
} | {
"line": 88,
"column": 53
} | {
"line": 88,
"column": 54
} | [
{
"pp": "α : Type u_2\ninst✝ : SemilatticeSup α\na : α\nh : ∀ ⦃b c : α⦄, a ≤ b ⊔ c → a ≤ b ∨ a ≤ c\nb c : α\nha : b ⊔ c = a\n⊢ b = a ∨ c = a",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"PartialOrder.toPreorder",
"Preorder.toLE",
"Semi... | [
"α : Type u_2\ninst✝ : SemilatticeSup α\na : α\nh : ∀ ⦃b c : α⦄, a ≤ b ⊔ c → a ≤ b ∨ a ≤ c\nb c : α\nha : b ⊔ c = a\n⊢ c ≤ b ∨ b ≤ c"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Order.Irreducible | {
"line": 114,
"column": 13
} | {
"line": 114,
"column": 36
} | {
"line": 114,
"column": 37
} | [
{
"pp": "case empty\nι : Type u_1\nα : Type u_2\ninst✝¹ : SemilatticeSup α\na : α\ninst✝ : OrderBot α\ns : Finset ι\nf : ι → α\nha : SupIrred a\nh : ∅.sup f = a\n⊢ ∃ i ∈ ∅, f i = a",
"ppTerm": "?empty",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"False",
"congrArg",
"Fins... | [
"case empty\nι : Type u_1\nα : Type u_2\ninst✝¹ : SemilatticeSup α\na : α\ninst✝ : OrderBot α\ns : Finset ι\nf : ι → α\nha : SupIrred a\nh : ∅.sup f = a\n⊢ False"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Order.Irreducible | {
"line": 204,
"column": 29
} | {
"line": 204,
"column": 58
} | {
"line": 204,
"column": 59
} | [
{
"pp": "α : Type u_2\ninst✝ : LinearOrder α\na x✝¹ x✝ : α\n⊢ max x✝¹ x✝ = a → x✝¹ = a ∨ x✝ = a",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Lattice.toSemilatticeSup",
"PartialOrder.toPreorder",
"Preorder.toLE",
"SemilatticeSup.toMax",
"_pri... | [
"α : Type u_2\ninst✝ : LinearOrder α\na x✝¹ x✝ : α\n⊢ x✝¹ = a ∧ x✝ ≤ x✝¹ ∨ x✝ = a ∧ x✝¹ ≤ x✝ → x✝¹ = a ∨ x✝ = a"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.AhlswedeZhang | {
"line": 424,
"column": 4
} | {
"line": 424,
"column": 15
} | {
"line": 424,
"column": 16
} | [
{
"pp": "case ind.inr.succ.h𝒜₂\nα : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\ninst✝ : Nonempty α\ns : Finset α\n𝒜 : Finset (Finset α)\nhs : s ∉ 𝒜\nh𝒜₁ : (insert s 𝒜).Nonempty\nh𝒜₂ : univ ∉ insert s 𝒜\nh𝒜₃ : (insert s 𝒜).Nontrivial\nih :\n ∀ (𝒜_1 : Finset (Finset α)),\n #𝒜_1 < #𝒜 + 1 ... | [
"case ind.inr.succ.h𝒜₂\nα : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\ninst✝ : Nonempty α\ns : Finset α\n𝒜 : Finset (Finset α)\nhs : s ∉ 𝒜\nh𝒜₁ : (insert s 𝒜).Nonempty\nh𝒜₂ : univ ∉ insert s 𝒜\nh𝒜₃ : (insert s 𝒜).Nontrivial\nih :\n ∀ (𝒜_1 : Finset (Finset α)),\n #𝒜_1 < #𝒜 + 1 → 𝒜_1.Nonem... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Order.Birkhoff | {
"line": 242,
"column": 2
} | {
"line": 243,
"column": 89
} | {
"line": 245,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝¹ : Finite α\ninst✝ : DistribLattice α\n⊢ ∃ β x x_1 f, Injective ⇑f",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Lattice.toSemilatticeSup",
"Finset",
"Classical.propDecidable",
"Exists",
"Subtype.fintype",
"inferInstance",
... | [] | cases nonempty_fintype α
exact ⟨{a : α // SupIrred a}, _, inferInstance, _, LatticeHom.birkhoffFinset_injective⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Order.Birkhoff | {
"line": 242,
"column": 2
} | {
"line": 243,
"column": 89
} | {
"line": 245,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝¹ : Finite α\ninst✝ : DistribLattice α\n⊢ ∃ β x x_1 f, Injective ⇑f",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Lattice.toSemilatticeSup",
"Finset",
"Classical.propDecidable",
"Exists",
"Subtype.fintype",
"inferInstance",
... | [] | cases nonempty_fintype α
exact ⟨{a : α // SupIrred a}, _, inferInstance, _, LatticeHom.birkhoffFinset_injective⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.SetFamily.KruskalKatona | {
"line": 67,
"column": 6
} | {
"line": 67,
"column": 22
} | {
"line": 67,
"column": 23
} | [
{
"pp": "case mp.right\nα : Type u_1\ninst✝¹ : LinearOrder α\ns : Finset α\ninst✝ : Fintype α\nhs : s.Nonempty\nt : Finset α\na : α\nha : a ∉ t\nhst : #s = #(insert a t)\nhts : toColex (insert a t) ≤ toColex s\n⊢ toColex t ≤ toColex (s.erase (s.min' hs))",
"ppTerm": "?mp.right",
"assigned": false,
"... | [
"case mp.right\nα : Type u_1\ninst✝¹ : LinearOrder α\ns : Finset α\ninst✝ : Fintype α\nhs : s.Nonempty\nt : Finset α\na : α\nha : a ∉ t\nhst : #s = #(insert a t)\nhts : toColex (insert a t) ≤ toColex s\n⊢ toColex t ≤ toColex (s.erase (s.min' hs))"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.KruskalKatona | {
"line": 89,
"column": 4
} | {
"line": 90,
"column": 34
} | {
"line": 90,
"column": 35
} | [
{
"pp": "case mpr.inr.inl\nα : Type u_1\ninst✝¹ : LinearOrder α\ns : Finset α\ninst✝ : Fintype α\nhs : s.Nonempty\nt : Finset α\ncards' : #(s.erase (s.min' hs)) = #t\nk : α\nhks : k ∈ s.erase (s.min' hs)\nhkt : k ∉ t\nz : ∀ ⦃a : α⦄, k < a → (a ∈ t ↔ a ∈ s.erase (s.min' hs))\nj : α := tᶜ.min' ⋯\nhjk✝ : j ≤ k\nth... | [
"case mpr.inr.inl\nα : Type u_1\ninst✝¹ : LinearOrder α\ns : Finset α\ninst✝ : Fintype α\nhs : s.Nonempty\nt : Finset α\ncards' : #(s.erase (s.min' hs)) = #t\nk : α\nhks : k ∈ s.erase (s.min' hs)\nhkt : k ∉ t\nz : ∀ ⦃a : α⦄, k < a → (a ∈ t ↔ a ∈ s.erase (s.min' hs))\nj : α := tᶜ.min' ⋯\nhjk✝ : j ≤ k\nthis : j ∉ t\n... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.LYM | {
"line": 107,
"column": 6
} | {
"line": 107,
"column": 55
} | {
"line": 107,
"column": 56
} | [
{
"pp": "case e'_3\n𝕜 : Type u_1\nα : Type u_2\ninst✝⁴ : Semifield 𝕜\ninst✝³ : LinearOrder 𝕜\ninst✝² : IsStrictOrderedRing 𝕜\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\n𝒜 : Finset (Finset α)\nr : ℕ\nhr : r + 1 ≠ 0\nhr' : r + 1 ≤ Fintype.card α\nh𝒜 : #𝒜 * (r + 1) ≤ #(∂ 𝒜) * (Fintype.card α - r)\n⊢ #𝒜 * ... | [
"case e'_3\n𝕜 : Type u_1\nα : Type u_2\ninst✝⁴ : Semifield 𝕜\ninst✝³ : LinearOrder 𝕜\ninst✝² : IsStrictOrderedRing 𝕜\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\n𝒜 : Finset (Finset α)\nr : ℕ\nhr : r + 1 ≠ 0\nhr' : r + 1 ≤ Fintype.card α\nh𝒜 : #𝒜 * (r + 1) ≤ #(∂ 𝒜) * (Fintype.card α - r)\n⊢ (Fintype.card α).c... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected | {
"line": 116,
"column": 2
} | {
"line": 116,
"column": 36
} | {
"line": 116,
"column": 37
} | [
{
"pp": "V : Type u\ns : Set (Sym2 V)\nx✝¹ x✝ : V\n⊢ Relation.ReflGen (fromEdgeSet s).Adj x✝¹ x✝ ↔ Relation.ReflGen (Sym2.ToRel s) x✝¹ x✝",
"ppTerm": "?m.40",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Sym2.mk",
"congrArg",
"SimpleGraph.fromEdgeSet",
"SimpleGraph.A... | [
"V : Type u\ns : Set (Sym2 V)\nx✝¹ x✝ : V\n⊢ x✝ = x✝¹ ∨ s(x✝¹, x✝) ∈ s ∧ ¬x✝¹ = x✝ ↔ x✝ = x✝¹ ∨ s(x✝¹, x✝) ∈ s"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.LYM | {
"line": 209,
"column": 6
} | {
"line": 209,
"column": 78
} | {
"line": 210,
"column": 8
} | [
{
"pp": "𝕜 : Type u_1\nα : Type u_2\ninst✝³ : Semifield 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\ninst✝ : Fintype α\n𝒜 : Finset (Finset α)\nh𝒜 : IsAntichain (fun x1 x2 ↦ x1 ⊆ x2) ↑𝒜\n⊢ #(falling (Fintype.card α - Fintype.card α) 𝒜) ≤ 1 * (Fintype.card α).choose (Fintype.card α - Fintype... | [
"𝕜 : Type u_1\nα : Type u_2\ninst✝³ : Semifield 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\ninst✝ : Fintype α\n𝒜 : Finset (Finset α)\nh𝒜 : IsAntichain (fun x1 x2 ↦ x1 ⊆ x2) ↑𝒜\n⊢ #(𝒜.sup (powersetCard 0)) ≤ 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.LYM | {
"line": 246,
"column": 2
} | {
"line": 246,
"column": 37
} | {
"line": 246,
"column": 38
} | [
{
"pp": "α : Type u_2\ninst✝ : Fintype α\n𝒜 : Finset (Finset α)\nh𝒜 : IsAntichain (fun x1 x2 ↦ x1 ⊆ x2) ↑𝒜\nthis : 0 < ↑((Fintype.card α).choose (Fintype.card α / 2))\nh : ∑ s ∈ 𝒜, (↑((Fintype.card α).choose (Fintype.card α / 2)))⁻¹ ≤ 1\n⊢ #𝒜 ≤ (Fintype.card α).choose (Fintype.card α / 2)",
"ppTerm": "... | [
"α : Type u_2\ninst✝ : Fintype α\n𝒜 : Finset (Finset α)\nh𝒜 : IsAntichain (fun x1 x2 ↦ x1 ⊆ x2) ↑𝒜\nthis : 0 < ↑((Fintype.card α).choose (Fintype.card α / 2))\nh : ∑ s ∈ 𝒜, (↑((Fintype.card α).choose (Fintype.card α / 2)))⁻¹ ≤ 1\n⊢ #𝒜 ≤ (Fintype.card α).choose (Fintype.card α / 2)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Order.Setoid.Partition | {
"line": 476,
"column": 4
} | {
"line": 476,
"column": 44
} | {
"line": 476,
"column": 45
} | [
{
"pp": "ι : Type u_1\nα : Type u_2\ns : ι → Set α\nhs : IndexedPartition s\nβ : Type u_3\nf : ι → α → β\nh_injOn : ∀ (i : ι), InjOn (f i) (s i)\nh_disjoint : univ.PairwiseDisjoint fun i ↦ f i '' s i\nx y : α\nh : hs.piecewise f x = hs.piecewise f y\nthis : hs.index x = hs.index y\n⊢ f (hs.index x) x = f (hs.in... | [
"ι : Type u_1\nα : Type u_2\ns : ι → Set α\nhs : IndexedPartition s\nβ : Type u_3\nf : ι → α → β\nh_injOn : ∀ (i : ι), InjOn (f i) (s i)\nh_disjoint : univ.PairwiseDisjoint fun i ↦ f i '' s i\nx y : α\nh : hs.piecewise f x = hs.piecewise f y\nthis : hs.index x = hs.index y\n⊢ f (hs.index y) x = f (hs.index y) y"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.FourFunctions | {
"line": 173,
"column": 8
} | {
"line": 173,
"column": 23
} | {
"line": 173,
"column": 24
} | [
{
"pp": "case pos.refine_1\nα : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\na : α\nf₁ f₂ f₃ f₄ : Finset α → β\nu : Finset α\ninst✝ : ExistsAddOfLE β\nhu : a ∉ u\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Fi... | [
"case pos.refine_1\nα : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\na : α\nf₁ f₂ f₃ f₄ : Finset α → β\nu : Finset α\ninst✝ : ExistsAddOfLE β\nhu : a ∉ u\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α⦄, s ⊆... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Order.Setoid.Partition | {
"line": 518,
"column": 22
} | {
"line": 518,
"column": 68
} | {
"line": 518,
"column": 69
} | [
{
"pp": "ι : Type u_1\nα : Type u_2\ns : ι → Set α\nhs : IndexedPartition s\nβ : Type u_3\nf : ι → α → β\nx : β\nx✝ : x ∈ range (hs.piecewise f)\ny : α\nhy : hs.piecewise f y = x\n⊢ x ∈ ⋃ i, range (f i)",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
... | [
"ι : Type u_1\nα : Type u_2\ns : ι → Set α\nhs : IndexedPartition s\nβ : Type u_3\nf : ι → α → β\nx : β\nx✝ : x ∈ range (hs.piecewise f)\ny : α\nhy : hs.piecewise f y = x\n⊢ ∃ i y, f i y = x"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.FourFunctions | {
"line": 174,
"column": 8
} | {
"line": 174,
"column": 23
} | {
"line": 174,
"column": 24
} | [
{
"pp": "case pos.refine_2\nα : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\na : α\nf₁ f₂ f₃ f₄ : Finset α → β\nu : Finset α\ninst✝ : ExistsAddOfLE β\nhu : a ∉ u\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Fi... | [
"case pos.refine_2\nα : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\na : α\nf₁ f₂ f₃ f₄ : Finset α → β\nu : Finset α\ninst✝ : ExistsAddOfLE β\nhu : a ∉ u\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α⦄, s ⊆... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected | {
"line": 763,
"column": 2
} | {
"line": 763,
"column": 30
} | {
"line": 763,
"column": 31
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\ninst✝¹ : Finite V\ninst✝ : Fintype G.ConnectedComponent\n⊢ ∑ c, c.toSimpleGraph.edgeSet.ncard = G.edgeSet.ncard",
"ppTerm": "?m.16",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u\nG : SimpleGraph V\ninst✝¹ : Finite V\ninst✝ : Fintype G.ConnectedComponent\n⊢ ∑ c, c.toSimpleGraph.edgeSet.ncard = G.edgeSet.ncard"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Order.Setoid.Partition | {
"line": 539,
"column": 6
} | {
"line": 539,
"column": 17
} | {
"line": 539,
"column": 18
} | [
{
"pp": "case left\nι : Type u_1\nα : Type u_2\ns : ι → Set α\nhs✝ : IndexedPartition s\nβ : Type u_3\nf : ι → α → β\nhs : IndexedPartition s\nκ : Type u_4\ng : ι → κ\nhg : Surjective g\nk : κ\n⊢ g ⋯.some = k",
"ppTerm": "?left",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"used... | [
"case left\nι : Type u_1\nα : Type u_2\ns : ι → Set α\nhs✝ : IndexedPartition s\nβ : Type u_3\nf : ι → α → β\nhs : IndexedPartition s\nκ : Type u_4\ng : ι → κ\nhg : Surjective g\nk : κ\n⊢ g ⋯.some = k"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.FourFunctions | {
"line": 175,
"column": 8
} | {
"line": 175,
"column": 23
} | {
"line": 175,
"column": 24
} | [
{
"pp": "case pos.refine_3\nα : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\na : α\nf₁ f₂ f₃ f₄ : Finset α → β\nu : Finset α\ninst✝ : ExistsAddOfLE β\nhu : a ∉ u\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Fi... | [
"case pos.refine_3\nα : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\na : α\nf₁ f₂ f₃ f₄ : Finset α → β\nu : Finset α\ninst✝ : ExistsAddOfLE β\nhu : a ∉ u\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α⦄, s ⊆... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 190,
"column": 2
} | {
"line": 190,
"column": 35
} | {
"line": 191,
"column": 2
} | [
{
"pp": "case map_rel'\nV : Type u\nG : SimpleGraph V\nn : ℕ\nβ : Type u_3\nf : V ↪ β\ninst✝ : NeZero n\nC : G.Coloring (Fin n)\n⊢ ∀ {a b : β},\n (SimpleGraph.map (⇑f) G).Adj a b →\n (completeGraph (Fin n)).Adj (extend (⇑f) (⇑C) (const β default) a) (extend (⇑f) (⇑C) (const β default) b)",
"ppTerm":... | [
"case map_rel'\nV : Type u\nG : SimpleGraph V\nn : ℕ\nβ : Type u_3\nf : V ↪ β\ninst✝ : NeZero n\nC : G.Coloring (Fin n)\na b : β\nleft✝ : a ≠ b\nw✝¹ w✝ : V\nhadj : G.Adj w✝¹ w✝\nha : f w✝¹ = a\nhb : f w✝ = b\n⊢ (completeGraph (Fin n)).Adj (extend (⇑f) (⇑C) (const β default) a) (extend (⇑f) (⇑C) (const β default) b)... | intro a b ⟨_, _, _, hadj, ha, hb⟩ | Lean.Elab.Tactic.evalIntro | Lean.Parser.Tactic.intro |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 197,
"column": 2
} | {
"line": 197,
"column": 13
} | {
"line": 197,
"column": 14
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nn : ℕ\nι : Type u_1\nf : ι → V\nhf : Pairwise fun i j ↦ G.Adj (f i) (f j)\nC : G.Coloring (Fin n)\n⊢ Nat.card ι ≤ n",
"ppTerm": "?m.16",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u\nG : SimpleGraph V\nn : ℕ\nι : Type u_1\nf : ι → V\nhf : Pairwise fun i j ↦ G.Adj (f i) (f j)\nC : G.Coloring (Fin n)\n⊢ Nat.card ι ≤ n"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected | {
"line": 839,
"column": 4
} | {
"line": 839,
"column": 15
} | {
"line": 839,
"column": 16
} | [
{
"pp": "case h\nV : Type u\nG : SimpleGraph V\nv w v' w' : V\np : (G.deleteEdges {s(v, w)}).Walk v' w'\nh : s(v, w) ∈ p.edges\n⊢ False",
"ppTerm": "?h",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case h\nV : Type u\nG : SimpleGraph V\nv w v' w' : V\np : (G.deleteEdges {s(v, w)}).Walk v' w'\nh : s(v, w) ∈ p.edges\n⊢ False"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 350,
"column": 2
} | {
"line": 353,
"column": 48
} | {
"line": 355,
"column": 0
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nm : ℕ\nhc : G.Colorable m\n⊢ G.Colorable G.chromaticNumber.toNat",
"ppTerm": "?m.5",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"ENat.instNatCast",
"congrArg",
"Set.ofPred",
"SimpleGraph.Colorable.chromaticNumber_eq_sInf",
... | [] | classical
rw [hc.chromaticNumber_eq_sInf, Nat.sInf_def]
· apply Nat.find_spec
· exact colorable_set_nonempty_of_colorable hc | Lean.Elab.Tactic.evalClassical | Lean.Parser.Tactic.classical |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 350,
"column": 2
} | {
"line": 353,
"column": 48
} | {
"line": 355,
"column": 0
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nm : ℕ\nhc : G.Colorable m\n⊢ G.Colorable G.chromaticNumber.toNat",
"ppTerm": "?m.5",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"ENat.instNatCast",
"congrArg",
"Set.ofPred",
"SimpleGraph.Colorable.chromaticNumber_eq_sInf",
... | [] | classical
rw [hc.chromaticNumber_eq_sInf, Nat.sInf_def]
· apply Nat.find_spec
· exact colorable_set_nonempty_of_colorable hc | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 350,
"column": 2
} | {
"line": 353,
"column": 48
} | {
"line": 355,
"column": 0
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nm : ℕ\nhc : G.Colorable m\n⊢ G.Colorable G.chromaticNumber.toNat",
"ppTerm": "?m.5",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"ENat.instNatCast",
"congrArg",
"Set.ofPred",
"SimpleGraph.Colorable.chromaticNumber_eq_sInf",
... | [] | classical
rw [hc.chromaticNumber_eq_sInf, Nat.sInf_def]
· apply Nat.find_spec
· exact colorable_set_nonempty_of_colorable hc | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected | {
"line": 896,
"column": 6
} | {
"line": 896,
"column": 32
} | {
"line": 896,
"column": 33
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nv w u : V\nc : G.Walk u u\nhc : c.IsCycle\nhe : s(v, w) ∈ c.edges\nhb : ∀ (p : G.Walk v w), s(v, w) ∈ p.edges\np : G.Walk w v\n⊢ s(w, v) ∈ p.edges",
"ppTerm": "?m.156",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Sym2.mk",
"congrArg",
... | [
"V : Type u\nG : SimpleGraph V\nv w u : V\nc : G.Walk u u\nhc : c.IsCycle\nhe : s(v, w) ∈ c.edges\nhb : ∀ (p : G.Walk v w), s(v, w) ∈ p.edges\np : G.Walk w v\n⊢ s(v, w) ∈ p.edges"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 422,
"column": 34
} | {
"line": 422,
"column": 45
} | {
"line": 422,
"column": 46
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nα : Type u_2\ninst✝ : Fintype α\ni : ℕ\nC : G.Coloring (Fin i)\nh : i < card α\n⊢ card (Fin i) ≤ card α",
"ppTerm": "?m.138",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Fintype.card_fin",
"congrArg",
"Fintype.card",
"id",
... | [
"V : Type u\nG : SimpleGraph V\nα : Type u_2\ninst✝ : Fintype α\ni : ℕ\nC : G.Coloring (Fin i)\nh : i < card α\n⊢ i ≤ card α"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 424,
"column": 4
} | {
"line": 424,
"column": 26
} | {
"line": 424,
"column": 27
} | [
{
"pp": "case refine_2\nV : Type u\nG : SimpleGraph V\nα : Type u_2\ninst✝ : Fintype α\ni : ℕ\nC : G.Coloring (Fin i)\nh : i < card α\nhC : Surjective (⇑⋯.some ∘ ⇑C)\n⊢ False",
"ppTerm": "?refine_2",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case refine_2\nV : Type u\nG : SimpleGraph V\nα : Type u_2\ninst✝ : Fintype α\ni : ℕ\nC : G.Coloring (Fin i)\nh : i < card α\nhC : Surjective (⇑⋯.some ∘ ⇑C)\n⊢ False"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 471,
"column": 49
} | {
"line": 471,
"column": 60
} | {
"line": 471,
"column": 61
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\ninst✝ : Fintype V\nh : G.chromaticNumber = ↑(card V)\nhh : G ≠ ⊤\na b : V\nhne : a ≠ b\nright✝ : ¬G.Adj a b\nthis : G.Coloring ↥(Finset.univ.erase b)\n⊢ G.Colorable (card V - 1)",
"ppTerm": "?m.72",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
... | [
"V : Type u\nG : SimpleGraph V\ninst✝ : Fintype V\nh : G.chromaticNumber = ↑(card V)\nhh : G ≠ ⊤\na b : V\nhne : a ≠ b\nright✝ : ¬G.Adj a b\nthis : G.Coloring ↥(Finset.univ.erase b)\n⊢ G.Colorable (card V - 1)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 509,
"column": 50
} | {
"line": 509,
"column": 61
} | {
"line": 509,
"column": 62
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nh : G = ⊥\nh' : ¬IsEmpty V\n⊢ Nonempty V",
"ppTerm": "?m.39",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u\nG : SimpleGraph V\nh : G = ⊥\nh' : ¬IsEmpty V\n⊢ Nonempty V"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected | {
"line": 985,
"column": 2
} | {
"line": 985,
"column": 13
} | {
"line": 985,
"column": 14
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nu v : V\nw : G.Walk u v\ne : Sym2 V\nhuv : ¬(G.deleteEdges {e}).Reachable u v\n⊢ e ∈ w.edges",
"ppTerm": "?m.15",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u\nG : SimpleGraph V\nu v : V\nw : G.Walk u v\ne : Sym2 V\nhuv : ¬(G.deleteEdges {e}).Reachable u v\n⊢ e ∈ w.edges"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected | {
"line": 995,
"column": 8
} | {
"line": 995,
"column": 19
} | {
"line": 995,
"column": 20
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nu v x y : V\nw : G.Walk u v\nhw : w.IsTrail\nhuy : ¬(G.deleteEdges {s(x, y)}).Reachable u y\nhvy : ¬(G.deleteEdges {s(x, y)}).Reachable v y\nhxy : s(x, y) ∈ w.edges\n⊢ s(x, y) ∈ (w.dropUntil y ⋯).edges",
"ppTerm": "?m.54",
"assigned": false,
"usedConstants": [... | [
"V : Type u\nG : SimpleGraph V\nu v x y : V\nw : G.Walk u v\nhw : w.IsTrail\nhuy : ¬(G.deleteEdges {s(x, y)}).Reachable u y\nhvy : ¬(G.deleteEdges {s(x, y)}).Reachable v y\nhxy : s(x, y) ∈ w.edges\n⊢ s(x, y) ∈ (w.dropUntil y ⋯).edges"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 524,
"column": 8
} | {
"line": 524,
"column": 19
} | {
"line": 524,
"column": 20
} | [
{
"pp": "V : Type u_4\nW : Type u_5\ninst✝¹ : Nonempty V\ninst✝ : Nonempty W\n⊢ (completeBipartiteGraph V W).Colorable 2",
"ppTerm": "?m.13",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u_4\nW : Type u_5\ninst✝¹ : Nonempty V\ninst✝ : Nonempty W\n⊢ (completeBipartiteGraph V W).Colorable 2"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected | {
"line": 1019,
"column": 6
} | {
"line": 1019,
"column": 17
} | {
"line": 1019,
"column": 18
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nu v x : V\nw : G.Walk u v\nhw : w.IsTrail\nhxu : x ≠ u\nhxv : x ≠ v\nhx : (G.neighborSet x).Subsingleton\nhxw : x ∈ w.support\ny : V\nhxy : G.Adj x y\np : (G.deleteEdges {s(y, x)}).Walk u x\n⊢ G.Adj x p.penultimate ∧ ?m.117 ∧ ¬p.penultimate = y",
"ppTerm": "?m.124",
... | [
"V : Type u\nG : SimpleGraph V\nu v x : V\nw : G.Walk u v\nhw : w.IsTrail\nhxu : x ≠ u\nhxv : x ≠ v\nhx : (G.neighborSet x).Subsingleton\nhxw : x ∈ w.support\ny : V\nhxy : G.Adj x y\np : (G.deleteEdges {s(y, x)}).Walk u x\n⊢ G.Adj x p.penultimate ∧ ?m.117 ∧ ¬p.penultimate = y"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected | {
"line": 1019,
"column": 6
} | {
"line": 1019,
"column": 17
} | {
"line": 1019,
"column": 18
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nu v x : V\nw : G.Walk u v\nhw : w.IsTrail\nhxu : x ≠ u\nhxv : x ≠ v\nhx : (G.neighborSet x).Subsingleton\nhxw : x ∈ w.support\ny : V\nhxy : G.Adj x y\np : (G.deleteEdges {s(y, x)}).Walk v x\n⊢ G.Adj x p.penultimate ∧ ?m.183 ∧ ¬p.penultimate = y",
"ppTerm": "?m.190",
... | [
"V : Type u\nG : SimpleGraph V\nu v x : V\nw : G.Walk u v\nhw : w.IsTrail\nhxu : x ≠ u\nhxv : x ≠ v\nhx : (G.neighborSet x).Subsingleton\nhxw : x ∈ w.support\ny : V\nhxy : G.Adj x y\np : (G.deleteEdges {s(y, x)}).Walk v x\n⊢ G.Adj x p.penultimate ∧ ?m.183 ∧ ¬p.penultimate = y"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 533,
"column": 4
} | {
"line": 533,
"column": 15
} | {
"line": 533,
"column": 16
} | [
{
"pp": "case neg\nV : Type u_4\nW : Type u_5\ninst✝¹ : Nonempty V\ninst✝ : Nonempty W\nC : (completeBipartiteGraph V W).Coloring (Fin 2)\nb : Fin 2\nv : V\nw : W\nh : (completeBipartiteGraph V W).Adj (Sum.inl v) (Sum.inr w)\nhe : ¬C (Sum.inl v) = b\nhe' : ¬C (Sum.inr w) = b\n⊢ ∃ a, C a = b",
"ppTerm": "?ne... | [
"case neg\nV : Type u_4\nW : Type u_5\ninst✝¹ : Nonempty V\ninst✝ : Nonempty W\nC : (completeBipartiteGraph V W).Coloring (Fin 2)\nb : Fin 2\nv : V\nw : W\nh : (completeBipartiteGraph V W).Adj (Sum.inl v) (Sum.inr w)\nhe : ¬C (Sum.inl v) = b\nhe' : ¬C (Sum.inr w) = b\n⊢ (∃ a, C (Sum.inl a) = b) ∨ ∃ b_1, C (Sum.inr ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex | {
"line": 567,
"column": 2
} | {
"line": 567,
"column": 13
} | {
"line": 567,
"column": 14
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nn : ℕ\nhc : ↑G.chromaticNumber.toNat < ↑n\nhne : ↑G.chromaticNumber.toNat = G.chromaticNumber\nm : ℕ\nhc' : G.Colorable m\nthis : G.Colorable G.chromaticNumber.toNat\n⊢ G.chromaticNumber.toNat < n",
"ppTerm": "?m.57",
"assigned": false,
"usedConstants": [],
... | [
"V : Type u\nG : SimpleGraph V\nn : ℕ\nhc : ↑G.chromaticNumber.toNat < ↑n\nhne : ↑G.chromaticNumber.toNat = G.chromaticNumber\nm : ℕ\nhc' : G.Colorable m\nthis : G.Colorable G.chromaticNumber.toNat\n⊢ G.chromaticNumber.toNat < n"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.KruskalKatona | {
"line": 338,
"column": 6
} | {
"line": 338,
"column": 32
} | {
"line": 338,
"column": 33
} | [
{
"pp": "n r k i : ℕ\n𝒜 : Finset (Finset (Fin n))\nhir : i ≤ r\nhrk : r ≤ k\nhkn : k ≤ n\nh₁ : Set.Sized r ↑𝒜\nh₂ : k.choose r ≤ #𝒜\nrange'k : Finset (Fin n) := (range k).attachFin ⋯\n𝒞 : Finset (Finset (Fin n)) := powersetCard r range'k\nthis✝ : Set.Sized r ↑𝒞\nA B : Finset (Fin n)\nhA : A ⊆ range'k ∧ #A ... | [
"n r k i : ℕ\n𝒜 : Finset (Finset (Fin n))\nhir : i ≤ r\nhrk : r ≤ k\nhkn : k ≤ n\nh₁ : Set.Sized r ↑𝒜\nh₂ : k.choose r ≤ #𝒜\nrange'k : Finset (Fin n) := (range k).attachFin ⋯\n𝒞 : Finset (Finset (Fin n)) := powersetCard r range'k\nthis✝ : Set.Sized r ↑𝒞\nA B : Finset (Fin n)\nhA : A ⊆ range'k ∧ #A = r\nHB₁ : t... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.EdgeConnectivity | {
"line": 104,
"column": 2
} | {
"line": 104,
"column": 13
} | {
"line": 104,
"column": 14
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nk : ℕ∞\nu v : V\ninst✝ : Fintype ↑(G.neighborSet u)\nh : G.IsEdgeReachable k u v\nhuv : u ≠ v\nhh : (G.incidenceSet u).encard < k\nw : (G.deleteEdges (G.incidenceSet u)).Walk u v\nh✝ : w.IsPath\n⊢ False",
"ppTerm": "?m.50",
"assigned": false,
"usedConstants"... | [
"V : Type u_1\nG : SimpleGraph V\nk : ℕ∞\nu v : V\ninst✝ : Fintype ↑(G.neighborSet u)\nh : G.IsEdgeReachable k u v\nhuv : u ≠ v\nhh : (G.incidenceSet u).encard < k\nw : (G.deleteEdges (G.incidenceSet u)).Walk u v\nh✝ : w.IsPath\n⊢ False"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.EdgeConnectivity | {
"line": 119,
"column": 4
} | {
"line": 119,
"column": 15
} | {
"line": 119,
"column": 16
} | [
{
"pp": "case refine_2.inl\nV : Type u_1\nG : SimpleGraph V\nk : ℕ∞\nu v : V\nhk : k ≠ 0\nh : ∀ (e : Sym2 V), (G.deleteEdges {e}).IsEdgeReachable k u v\nhs : ∅.encard < k + 1\n⊢ (G.deleteEdges ∅).Reachable u v",
"ppTerm": "?refine_2.inl",
"assigned": true,
"usedConstants": [
"SimpleGraph.delet... | [
"case refine_2.inl\nV : Type u_1\nG : SimpleGraph V\nk : ℕ∞\nu v : V\nhk : k ≠ 0\nh : ∀ (e : Sym2 V), (G.deleteEdges {e}).IsEdgeReachable k u v\nhs : ∅.encard < k + 1\n⊢ G.Reachable u v"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.EdgeConnectivity | {
"line": 125,
"column": 78
} | {
"line": 126,
"column": 79
} | {
"line": 128,
"column": 0
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nk : ℕ∞\nhk : k ≠ 0\n⊢ G.IsEdgeConnected (k + 1) ↔ ∀ (e : Sym2 V), (G.deleteEdges {e}).IsEdgeConnected k",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"SimpleGraph.IsEdgeReachable",
"SimpleGraph.deleteEdges",
"instOneENat",
... | [] | by
simp [IsEdgeConnected, isEdgeReachable_add_one hk, forall_comm (α := Sym2 _)] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Combinatorics.SetFamily.KruskalKatona | {
"line": 370,
"column": 64
} | {
"line": 370,
"column": 75
} | {
"line": 370,
"column": 76
} | [
{
"pp": "n : ℕ\n𝒜 : Finset (Finset (Fin n))\nr : ℕ\nh𝒜 : (↑𝒜).Intersecting\nh₂ : Set.Sized r ↑𝒜\nh₃ : r ≤ n / 2\nh1r : r > 0\nsize : (n - 1).choose (r - 1) < #𝒜\nthis✝¹ : Disjoint 𝒜 (∂^[n - 2 * r] 𝒜ᶜˢ)\nthis✝ : r ≤ n\nthis : 1 ≤ n\nz : (n - 1).choose (n - r) < #𝒜ᶜˢ\n⊢ Set.Sized (n - r) ↑𝒜ᶜˢ",
"ppTe... | [
"n : ℕ\n𝒜 : Finset (Finset (Fin n))\nr : ℕ\nh𝒜 : (↑𝒜).Intersecting\nh₂ : Set.Sized r ↑𝒜\nh₃ : r ≤ n / 2\nh1r : r > 0\nsize : (n - 1).choose (r - 1) < #𝒜\nthis✝¹ : Disjoint 𝒜 (∂^[n - 2 * r] 𝒜ᶜˢ)\nthis✝ : r ≤ n\nthis : 1 ≤ n\nz : (n - 1).choose (n - r) < #𝒜ᶜˢ\n⊢ Set.Sized (n - r) (compl '' ↑𝒜)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.EdgeConnectivity | {
"line": 177,
"column": 4
} | {
"line": 177,
"column": 15
} | {
"line": 177,
"column": 16
} | [
{
"pp": "case pos\nV : Type u_1\nG : SimpleGraph V\nu v : V\nhne : u ≠ v\nh : G.IsEdgeReachable 2 u v\nw : G.Walk u v\nhw : w.IsPath\nthis✝ : G.Adj u w.snd\nhs : {s(u, w.snd)}.encard < 2\nhh : s(u, w.snd) ∈ w.tail.edges\nthis : u = w.getVert 2\n⊢ False",
"ppTerm": "?pos✝",
"assigned": false,
"usedCo... | [
"case pos\nV : Type u_1\nG : SimpleGraph V\nu v : V\nhne : u ≠ v\nh : G.IsEdgeReachable 2 u v\nw : G.Walk u v\nhw : w.IsPath\nthis✝ : G.Adj u w.snd\nhs : {s(u, w.snd)}.encard < 2\nhh : s(u, w.snd) ∈ w.tail.edges\nthis : u = w.getVert 2\n⊢ False"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.EdgeConnectivity | {
"line": 214,
"column": 23
} | {
"line": 214,
"column": 56
} | {
"line": 214,
"column": 57
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nu v x : V\nw : G.Walk u v\nhw : w.IsTrail\nhuv : G.IsEdgeReachable 2 u v\nhuy : ¬G.IsEdgeReachable 2 u x\n⊢ ?m.25",
"ppTerm": "?m.30",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u_1\nG : SimpleGraph V\nu v x : V\nw : G.Walk u v\nhw : w.IsTrail\nhuv : G.IsEdgeReachable 2 u v\nhuy : ¬G.IsEdgeReachable 2 u x\n⊢ ?m.25"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.EdgeConnectivity | {
"line": 219,
"column": 8
} | {
"line": 219,
"column": 19
} | {
"line": 219,
"column": 20
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nu v x : V\nw : G.Walk u v\nhw : w.IsTrail\nhuv : G.IsEdgeReachable 2 u v\nhuy : ¬G.IsEdgeReachable 2 u x\ne : Sym2 V\nhe : ¬(G.deleteEdges {e}).Reachable u x\nhe' : ¬(G.deleteEdges {e}).Reachable v x\nhy : x ∈ w.support\n⊢ e ∈ (w.dropUntil x hy).edges",
"ppTerm": "?... | [
"V : Type u_1\nG : SimpleGraph V\nu v x : V\nw : G.Walk u v\nhw : w.IsTrail\nhuv : G.IsEdgeReachable 2 u v\nhuy : ¬G.IsEdgeReachable 2 u x\ne : Sym2 V\nhe : ¬(G.deleteEdges {e}).Reachable u x\nhe' : ¬(G.deleteEdges {e}).Reachable v x\nhy : x ∈ w.support\n⊢ e ∈ (w.dropUntil x hy).edges"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 100,
"column": 2
} | {
"line": 100,
"column": 23
} | {
"line": 100,
"column": 24
} | [
{
"pp": "V : Type u_1\nv w : V\nG : SimpleGraph V\ns t : Set V\nh : G.IsBipartiteWith s t\nhv : v ∈ s\nhadj : v ∈ s ∧ w ∈ t ∨ v ∈ t ∧ w ∈ s\nnhv : v ∉ t\n⊢ w ∈ t",
"ppTerm": "?m.34",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u_1\nv w : V\nG : SimpleGraph V\ns t : Set V\nh : G.IsBipartiteWith s t\nhv : v ∈ s\nhadj : v ∈ s ∧ w ∈ t ∨ v ∈ t ∧ w ∈ s\nnhv : v ∉ t\n⊢ w ∈ t"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 126,
"column": 2
} | {
"line": 126,
"column": 23
} | {
"line": 126,
"column": 24
} | [
{
"pp": "V : Type u_1\nv w : V\nG : SimpleGraph V\ns t : Set V\nh : G.IsBipartiteWith s t\nhw : w ∈ t\nhadj : v ∈ s ∧ w ∈ t ∨ v ∈ t ∧ w ∈ s\nnhw : w ∉ s\n⊢ v ∈ s",
"ppTerm": "?m.34",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u_1\nv w : V\nG : SimpleGraph V\ns t : Set V\nh : G.IsBipartiteWith s t\nhw : w ∈ t\nhadj : v ∈ s ∧ w ∈ t ∨ v ∈ t ∧ w ∈ s\nnhw : w ∉ s\n⊢ v ∈ s"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 355,
"column": 6
} | {
"line": 355,
"column": 17
} | {
"line": 355,
"column": 18
} | [
{
"pp": "V : Type u_1\nv w : V\nG : SimpleGraph V\ns t : Set V\nα : Type u_2\nβ : Type u_3\ninst✝¹ : Fintype α\ninst✝ : Fintype β\nleft right : Finset V\ncard_left : #left = Fintype.card α\ncard_right : #right = Fintype.card β\nh : G.IsCompleteBetween ↑left ↑right\nthis✝ : Nonempty (α ↪ ↥left)\nfα : α ↪ ↥left :... | [
"V : Type u_1\nv w : V\nG : SimpleGraph V\ns t : Set V\nα : Type u_2\nβ : Type u_3\ninst✝¹ : Fintype α\ninst✝ : Fintype β\nleft right : Finset V\ncard_left : #left = Fintype.card α\ncard_right : #right = Fintype.card β\nh : G.IsCompleteBetween ↑left ↑right\nthis✝ : Nonempty (α ↪ ↥left)\nfα : α ↪ ↥left := Classical.... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 357,
"column": 6
} | {
"line": 357,
"column": 17
} | {
"line": 357,
"column": 18
} | [
{
"pp": "V : Type u_1\nv w : V\nG : SimpleGraph V\ns t : Set V\nα : Type u_2\nβ : Type u_3\ninst✝¹ : Fintype α\ninst✝ : Fintype β\nleft right : Finset V\ncard_left : #left = Fintype.card α\ncard_right : #right = Fintype.card β\nh : G.IsCompleteBetween ↑left ↑right\nthis✝ : Nonempty (α ↪ ↥left)\nfα : α ↪ ↥left :... | [
"V : Type u_1\nv w : V\nG : SimpleGraph V\ns t : Set V\nα : Type u_2\nβ : Type u_3\ninst✝¹ : Fintype α\ninst✝ : Fintype β\nleft right : Finset V\ncard_left : #left = Fintype.card α\ncard_right : #right = Fintype.card β\nh : G.IsCompleteBetween ↑left ↑right\nthis✝ : Nonempty (α ↪ ↥left)\nfα : α ↪ ↥left := Classical.... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 362,
"column": 8
} | {
"line": 362,
"column": 33
} | {
"line": 362,
"column": 34
} | [
{
"pp": "case inl\nV : Type u_1\nv w : V\nG : SimpleGraph V\ns t : Set V\nα : Type u_2\nβ : Type u_3\ninst✝¹ : Fintype α\ninst✝ : Fintype β\nleft right : Finset V\ncard_left : #left = Fintype.card α\ncard_right : #right = Fintype.card β\nh : G.IsCompleteBetween ↑left ↑right\nthis✝ : Nonempty (α ↪ ↥left)\nfα : α... | [
"case inl\nV : Type u_1\nv w : V\nG : SimpleGraph V\ns t : Set V\nα : Type u_2\nβ : Type u_3\ninst✝¹ : Fintype α\ninst✝ : Fintype β\nleft right : Finset V\ncard_left : #left = Fintype.card α\ncard_right : #right = Fintype.card β\nh : G.IsCompleteBetween ↑left ↑right\nthis✝ : Nonempty (α ↪ ↥left)\nfα : α ↪ ↥left := ... | ← Sum.inl_getLeft s₁ hs₁, | Lean.Elab.Tactic.evalRewriteSeq | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.