module stringlengths 16 90 | startPos dict | endPos dict | nextStartPos dict | goals listlengths 0 96 | goalsAfter listlengths 0 96 | ppTac stringlengths 1 14.5k | elaborator stringclasses 375
values | kind stringclasses 379
values |
|---|---|---|---|---|---|---|---|---|
Mathlib.Combinatorics.SetFamily.FourFunctions | {
"line": 175,
"column": 8
} | {
"line": 175,
"column": 23
} | {
"line": 175,
"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.SetFamily.FourFunctions | {
"line": 176,
"column": 8
} | {
"line": 176,
"column": 23
} | {
"line": 176,
"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.SetFamily.LYM | {
"line": 106,
"column": 6
} | {
"line": 106,
"column": 55
} | {
"line": 106,
"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.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.LYM | {
"line": 208,
"column": 6
} | {
"line": 208,
"column": 78
} | {
"line": 209,
"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": 245,
"column": 2
} | {
"line": 245,
"column": 37
} | {
"line": 245,
"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.Combinatorics.SimpleGraph.Connectivity.Connected | {
"line": 117,
"column": 2
} | {
"line": 117,
"column": 36
} | {
"line": 117,
"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.Data.Setoid.Partition | {
"line": 475,
"column": 4
} | {
"line": 475,
"column": 44
} | {
"line": 475,
"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.Data.Setoid.Partition | {
"line": 517,
"column": 22
} | {
"line": 517,
"column": 68
} | {
"line": 517,
"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.Data.Setoid.Partition | {
"line": 538,
"column": 6
} | {
"line": 538,
"column": 17
} | {
"line": 538,
"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.SimpleGraph.Coloring.Vertex | {
"line": 201,
"column": 2
} | {
"line": 201,
"column": 35
} | {
"line": 202,
"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": 208,
"column": 2
} | {
"line": 208,
"column": 13
} | {
"line": 208,
"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.SetFamily.KruskalKatona | {
"line": 339,
"column": 6
} | {
"line": 339,
"column": 32
} | {
"line": 339,
"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.SetFamily.KruskalKatona | {
"line": 371,
"column": 64
} | {
"line": 371,
"column": 75
} | {
"line": 371,
"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.Connected | {
"line": 784,
"column": 4
} | {
"line": 784,
"column": 15
} | {
"line": 784,
"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": 361,
"column": 2
} | {
"line": 364,
"column": 48
} | {
"line": 366,
"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": 361,
"column": 2
} | {
"line": 364,
"column": 48
} | {
"line": 366,
"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": 361,
"column": 2
} | {
"line": 364,
"column": 48
} | {
"line": 366,
"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": 844,
"column": 6
} | {
"line": 844,
"column": 32
} | {
"line": 844,
"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": 433,
"column": 34
} | {
"line": 433,
"column": 45
} | {
"line": 433,
"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": 435,
"column": 4
} | {
"line": 435,
"column": 26
} | {
"line": 435,
"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": 482,
"column": 49
} | {
"line": 482,
"column": 60
} | {
"line": 482,
"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.Connectivity.Connected | {
"line": 937,
"column": 2
} | {
"line": 937,
"column": 13
} | {
"line": 937,
"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": 947,
"column": 8
} | {
"line": 947,
"column": 19
} | {
"line": 947,
"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": 523,
"column": 50
} | {
"line": 523,
"column": 61
} | {
"line": 523,
"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": 965,
"column": 6
} | {
"line": 965,
"column": 17
} | {
"line": 965,
"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": 965,
"column": 6
} | {
"line": 965,
"column": 17
} | {
"line": 965,
"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": 538,
"column": 8
} | {
"line": 538,
"column": 19
} | {
"line": 538,
"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.Coloring.Vertex | {
"line": 547,
"column": 4
} | {
"line": 547,
"column": 15
} | {
"line": 547,
"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": 581,
"column": 2
} | {
"line": 581,
"column": 13
} | {
"line": 581,
"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.SimpleGraph.Bipartite | {
"line": 102,
"column": 2
} | {
"line": 102,
"column": 23
} | {
"line": 102,
"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": 128,
"column": 2
} | {
"line": 128,
"column": 23
} | {
"line": 128,
"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.SetFamily.FourFunctions | {
"line": 278,
"column": 4
} | {
"line": 278,
"column": 15
} | {
"line": 278,
"column": 16
} | [
{
"pp": "case empty.inr.inr\nα : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\ninst✝ : ExistsAddOfLE β\nf₁ f₂ f₃ f₄ : Finset α → β\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α⦄, s ⊆ ∅ → ∀ ⦃t : Finset α... | [
"case empty.inr.inr\nα : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\ninst✝ : ExistsAddOfLE β\nf₁ f₂ f₃ f₄ : Finset α → β\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α⦄, s ⊆ ∅ → ∀ ⦃t : Finset α⦄, t ⊆ ∅ → f... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.FourFunctions | {
"line": 278,
"column": 4
} | {
"line": 278,
"column": 44
} | {
"line": 279,
"column": 2
} | [
{
"pp": "case empty.inr.inr\nα : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\ninst✝ : ExistsAddOfLE β\nf₁ f₂ f₃ f₄ : Finset α → β\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α⦄, s ⊆ ∅ → ∀ ⦃t : Finset α... | [] | simpa using h (subset_refl ∅) subset_rfl | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.Combinatorics.SimpleGraph.Connectivity.EdgeConnectivity | {
"line": 101,
"column": 2
} | {
"line": 101,
"column": 13
} | {
"line": 101,
"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.57",
"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.SetFamily.FourFunctions | {
"line": 282,
"column": 47
} | {
"line": 282,
"column": 58
} | {
"line": 282,
"column": 59
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\ninst✝ : ExistsAddOfLE β\na : α\nu : Finset α\nhu : a ∉ u\nf₁ f₂ f₃ f₄ : Finset α → β\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α⦄, s ⊆ insert... | [
"α : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\ninst✝ : ExistsAddOfLE β\na : α\nu : Finset α\nhu : a ∉ u\nf₁ f₂ f₃ f₄ : Finset α → β\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α⦄, s ⊆ insert a u → ∀ ⦃t ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.EdgeConnectivity | {
"line": 116,
"column": 4
} | {
"line": 116,
"column": 15
} | {
"line": 116,
"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.del... | [
"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.SetFamily.FourFunctions | {
"line": 283,
"column": 47
} | {
"line": 283,
"column": 58
} | {
"line": 283,
"column": 59
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\ninst✝ : ExistsAddOfLE β\na : α\nu : Finset α\nhu : a ∉ u\nf₁ f₂ f₃ f₄ : Finset α → β\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α⦄, s ⊆ insert... | [
"α : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\ninst✝ : ExistsAddOfLE β\na : α\nu : Finset α\nhu : a ∉ u\nf₁ f₂ f₃ f₄ : Finset α → β\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α⦄, s ⊆ insert a u → ∀ ⦃t ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.FourFunctions | {
"line": 284,
"column": 4
} | {
"line": 285,
"column": 33
} | {
"line": 285,
"column": 34
} | [
{
"pp": "case insert\nα : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\ninst✝ : ExistsAddOfLE β\na : α\nu : Finset α\nhu : a ∉ u\nf₁ f₂ f₃ f₄ : Finset α → β\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α... | [
"case insert\nα : Type u_1\nβ : Type u_2\ninst✝⁴ : DecidableEq α\ninst✝³ : CommSemiring β\ninst✝² : LinearOrder β\ninst✝¹ : IsStrictOrderedRing β\ninst✝ : ExistsAddOfLE β\na : α\nu : Finset α\nhu : a ∉ u\nf₁ f₂ f₃ f₄ : Finset α → β\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ ⦃s : Finset α⦄, s ⊆ inser... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.EdgeConnectivity | {
"line": 122,
"column": 78
} | {
"line": 123,
"column": 79
} | {
"line": 125,
"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",
"SimpleGraph.isEdgeRe... | [] | by
simp [IsEdgeConnected, isEdgeReachable_add_one hk, forall_comm (α := Sym2 _)] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 345,
"column": 6
} | {
"line": 345,
"column": 17
} | {
"line": 345,
"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": 347,
"column": 6
} | {
"line": 347,
"column": 17
} | {
"line": 347,
"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.Connectivity.EdgeConnectivity | {
"line": 165,
"column": 4
} | {
"line": 165,
"column": 15
} | {
"line": 165,
"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,
"usedC... | [
"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": 184,
"column": 23
} | {
"line": 184,
"column": 56
} | {
"line": 184,
"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": 189,
"column": 8
} | {
"line": 189,
"column": 19
} | {
"line": 189,
"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.Connectivity.Subgraph | {
"line": 82,
"column": 2
} | {
"line": 82,
"column": 36
} | {
"line": 83,
"column": 2
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nu v : V\nhuv : G.Adj u v\n⊢ (⊤.induce {u, v}).Connected",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"SimpleGraph.Subgraph",
"Set.instSingletonSet",
"id",
"Insert.insert",
"SimpleGrap... | [
"V : Type u\nG : SimpleGraph V\nu v : V\nhuv : G.Adj u v\n⊢ (G.subgraphOfAdj huv).Connected"
] | rw [← subgraphOfAdj_eq_induce huv] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 352,
"column": 8
} | {
"line": 352,
"column": 33
} | {
"line": 352,
"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 |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph | {
"line": 112,
"column": 2
} | {
"line": 112,
"column": 18
} | {
"line": 112,
"column": 19
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nH : G.Subgraph\nh : H.Preconnected\nv : ↑H.verts\ninst✝ : Fintype ↑(H.neighborSet ↑v)\nhv : H.degree ↑v = 0\nhn : H.verts.Nontrivial\nthis : Nontrivial ↑H.verts\n⊢ False",
"ppTerm": "?m.38",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"use... | [
"V : Type u\nG : SimpleGraph V\nH : G.Subgraph\nh : H.Preconnected\nv : ↑H.verts\ninst✝ : Fintype ↑(H.neighborSet ↑v)\nhv : H.degree ↑v = 0\nhn : H.verts.Nontrivial\nthis : Nontrivial ↑H.verts\n⊢ False"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph | {
"line": 131,
"column": 21
} | {
"line": 131,
"column": 32
} | {
"line": 131,
"column": 33
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nH : G.Subgraph\nhc : H.Connected\nh : ∀ v ∈ H.verts, ∀ (w : V), G.Adj v w → H.Adj v w\nv : V\nhv : v ∈ H.verts\nw : V\nhw : w ∈ H.verts\n⊢ G.Reachable w v",
"ppTerm": "?m.55",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}... | [
"V : Type u\nG : SimpleGraph V\nH : G.Subgraph\nhc : H.Connected\nh : ∀ v ∈ H.verts, ∀ (w : V), G.Adj v w → H.Adj v w\nv : V\nhv : v ∈ H.verts\nw : V\nhw : w ∈ H.verts\n⊢ G.Reachable w v"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph | {
"line": 280,
"column": 2
} | {
"line": 280,
"column": 13
} | {
"line": 280,
"column": 14
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nu v : V\nw : G.Walk u v\nh : ¬w.Nil\n⊢ w.toSubgraph.Adj u w.snd",
"ppTerm": "?m.18",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u\nG : SimpleGraph V\nu v : V\nw : G.Walk u v\nh : ¬w.Nil\n⊢ w.toSubgraph.Adj u w.snd"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph | {
"line": 285,
"column": 2
} | {
"line": 286,
"column": 9
} | {
"line": 286,
"column": 10
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nu v : V\nw : G.Walk u v\nh : 0 < w.length\n⊢ w.toSubgraph.Adj w.penultimate v",
"ppTerm": "?m.27",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u\nG : SimpleGraph V\nu v : V\nw : G.Walk u v\nh : 0 < w.length\n⊢ w.toSubgraph.Adj w.penultimate v"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 441,
"column": 2
} | {
"line": 441,
"column": 34
} | {
"line": 441,
"column": 35
} | [
{
"pp": "V : Type u_1\nv : V\nG : SimpleGraph V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ns : Finset V\ninst✝ : DecidableRel G.Adj\nhv : v ∈ s\n⊢ G.neighborFinset v ⊆ (between (↑s) (↑s)ᶜ G).neighborFinset v ∪ s",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Finse... | [
"V : Type u_1\nv : V\nG : SimpleGraph V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ns : Finset V\ninst✝ : DecidableRel G.Adj\nhv : v ∈ s\n⊢ G.neighborSet v ⊆ (between (↑s) (↑s)ᶜ G).neighborSet v ∪ ↑s"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 448,
"column": 4
} | {
"line": 448,
"column": 15
} | {
"line": 448,
"column": 16
} | [
{
"pp": "V : Type u_1\nv : V\nG : SimpleGraph V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ns : Finset V\ninst✝ : DecidableRel G.Adj\nhv : v ∈ s\n⊢ (between (↑s) (↑s)ᶜ G).IsBipartiteWith ↑s ↑sᶜ",
"ppTerm": "?m.32",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Compl.... | [
"V : Type u_1\nv : V\nG : SimpleGraph V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ns : Finset V\ninst✝ : DecidableRel G.Adj\nhv : v ∈ s\n⊢ (between (↑s) (↑s)ᶜ G).IsBipartiteWith (↑s) (↑s)ᶜ"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 457,
"column": 2
} | {
"line": 457,
"column": 34
} | {
"line": 457,
"column": 35
} | [
{
"pp": "V : Type u_1\nw : V\nG : SimpleGraph V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ns : Finset V\ninst✝ : DecidableRel G.Adj\nhw : w ∈ sᶜ\n⊢ G.neighborFinset w ⊆ (between (↑s) (↑s)ᶜ G).neighborFinset w ∪ sᶜ",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Fin... | [
"V : Type u_1\nw : V\nG : SimpleGraph V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ns : Finset V\ninst✝ : DecidableRel G.Adj\nhw : w ∈ sᶜ\n⊢ G.neighborSet w ⊆ (between (↑s) (↑s)ᶜ G).neighborSet w ∪ (↑s)ᶜ"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 457,
"column": 80
} | {
"line": 457,
"column": 91
} | {
"line": 457,
"column": 92
} | [
{
"pp": "V : Type u_1\nw : V\nG : SimpleGraph V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ns : Finset V\ninst✝ : DecidableRel G.Adj\nhw : w ∈ sᶜ\n⊢ w ∈ (↑s)ᶜ",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"SetLike.mem_coe._simp_1",
"congrArg",
"Compl.co... | [
"V : Type u_1\nw : V\nG : SimpleGraph V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ns : Finset V\ninst✝ : DecidableRel G.Adj\nhw : w ∈ sᶜ\n⊢ w ∉ s"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 464,
"column": 4
} | {
"line": 464,
"column": 15
} | {
"line": 464,
"column": 16
} | [
{
"pp": "V : Type u_1\nw : V\nG : SimpleGraph V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ns : Finset V\ninst✝ : DecidableRel G.Adj\nhw : w ∈ sᶜ\n⊢ (between (↑s) (↑s)ᶜ G).IsBipartiteWith ↑s ↑sᶜ",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Compl... | [
"V : Type u_1\nw : V\nG : SimpleGraph V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ns : Finset V\ninst✝ : DecidableRel G.Adj\nhw : w ∈ sᶜ\n⊢ (between (↑s) (↑s)ᶜ G).IsBipartiteWith (↑s) (↑s)ᶜ"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 551,
"column": 18
} | {
"line": 551,
"column": 29
} | {
"line": 551,
"column": 30
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nx✝ : V × V\nh :\n x✝ ∈\n {x |\n match x with\n | (x, y) => G.Adj x y}\n⊢ (match x✝, h with\n | (v, w), x => s(Sum.inl v, Sum.inr w)) ∈\n G.bipartiteDoubleCover.edgeFinset",
"ppTerm": "?m.38",
"a... | [
"V : Type u_1\nG : SimpleGraph V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nx✝ : V × V\nh :\n x✝ ∈\n {x |\n match x with\n | (x, y) => G.Adj x y}\n⊢ G.Adj x✝.1 x✝.2"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.FourFunctions | {
"line": 340,
"column": 2
} | {
"line": 340,
"column": 13
} | {
"line": 340,
"column": 14
} | [
{
"pp": "α : Type u_1\ninst✝¹ : DistribLattice α\ninst✝ : DecidableEq α\ns t : Finset α\n⊢ #s * #t ≤ #(s ⊼ t) * #(s ⊻ t)",
"ppTerm": "?m.23",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"α : Type u_1\ninst✝¹ : DistribLattice α\ninst✝ : DecidableEq α\ns t : Finset α\n⊢ #s * #t ≤ #(s ⊼ t) * #(s ⊻ t)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.FourFunctions | {
"line": 349,
"column": 12
} | {
"line": 349,
"column": 23
} | {
"line": 349,
"column": 24
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\ninst✝⁵ : DistribLattice α\ninst✝⁴ : CommSemiring β\ninst✝³ : LinearOrder β\ninst✝² : IsStrictOrderedRing β\ninst✝¹ : ExistsAddOfLE β\nf₁ f₂ f₃ f₄ : α → β\ninst✝ : Fintype α\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ (a b : α), f₁ a * f₂ b ≤ f₃ (a ⊓ b) * f₄ (a... | [
"α : Type u_1\nβ : Type u_2\ninst✝⁵ : DistribLattice α\ninst✝⁴ : CommSemiring β\ninst✝³ : LinearOrder β\ninst✝² : IsStrictOrderedRing β\ninst✝¹ : ExistsAddOfLE β\nf₁ f₂ f₃ f₄ : α → β\ninst✝ : Fintype α\nh₁ : 0 ≤ f₁\nh₂ : 0 ≤ f₂\nh₃ : 0 ≤ f₃\nh₄ : 0 ≤ f₄\nh : ∀ (a b : α), f₁ a * f₂ b ≤ f₃ (a ⊓ b) * f₄ (a ⊔ b)\n⊢ (∑ ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph | {
"line": 367,
"column": 2
} | {
"line": 367,
"column": 13
} | {
"line": 367,
"column": 14
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nhp : p.IsPath\nhnp : ¬p.Nil\n⊢ p.toSubgraph.neighborSet v = {p.penultimate}",
"ppTerm": "?m.28",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nhp : p.IsPath\nhnp : ¬p.Nil\n⊢ p.toSubgraph.neighborSet v = {p.penultimate}"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 101,
"column": 15
} | {
"line": 101,
"column": 25
} | {
"line": 102,
"column": 2
} | [
{
"pp": "case inl\nV : Type u_1\nG : SimpleGraph V\nu v w : V\nhuv : G.edist u v = ⊤\n⊢ G.edist u w ≤ G.edist u v + G.edist v w",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"instTopENat",
"congrArg",
"le_top._simp_2",
"PartialOrder.toPreorder",
"LinearOrdere... | [] | simp [huv] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 101,
"column": 15
} | {
"line": 101,
"column": 25
} | {
"line": 102,
"column": 2
} | [
{
"pp": "case inl\nV : Type u_1\nG : SimpleGraph V\nu v w : V\nhuv : G.edist u v = ⊤\n⊢ G.edist u w ≤ G.edist u v + G.edist v w",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"instTopENat",
"congrArg",
"le_top._simp_2",
"PartialOrder.toPreorder",
"LinearOrdere... | [] | simp [huv] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 101,
"column": 15
} | {
"line": 101,
"column": 25
} | {
"line": 102,
"column": 2
} | [
{
"pp": "case inl\nV : Type u_1\nG : SimpleGraph V\nu v w : V\nhuv : G.edist u v = ⊤\n⊢ G.edist u w ≤ G.edist u v + G.edist v w",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"instTopENat",
"congrArg",
"le_top._simp_2",
"PartialOrder.toPreorder",
"LinearOrdere... | [] | simp [huv] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 555,
"column": 22
} | {
"line": 555,
"column": 33
} | {
"line": 555,
"column": 34
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nv w : V ⊕ V\nval✝¹ val✝ : V\nhe : G.bipartiteDoubleCover.Adj (Sum.inl val✝¹) (Sum.inr val✝)\n⊢ ∃ a,\n ∃ (ha :\n a ∈\n {x |\n match x with\n | (x, y) => G.Adj x y}),\n (match a, ha with... | [
"V : Type u_1\nG : SimpleGraph V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nv w : V ⊕ V\nval✝¹ val✝ : V\nhe : G.bipartiteDoubleCover.Adj (Sum.inl val✝¹) (Sum.inr val✝)\n⊢ G.Adj val✝¹ val✝"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 556,
"column": 22
} | {
"line": 556,
"column": 33
} | {
"line": 556,
"column": 34
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nv w : V ⊕ V\nval✝¹ val✝ : V\nhe : G.bipartiteDoubleCover.Adj (Sum.inr val✝¹) (Sum.inl val✝)\n⊢ ∃ a,\n ∃ (ha :\n a ∈\n {x |\n match x with\n | (x, y) => G.Adj x y}),\n (match a, ha with... | [
"V : Type u_1\nG : SimpleGraph V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nv w : V ⊕ V\nval✝¹ val✝ : V\nhe : G.bipartiteDoubleCover.Adj (Sum.inr val✝¹) (Sum.inl val✝)\n⊢ G.Adj val✝ val✝¹"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 140,
"column": 4
} | {
"line": 140,
"column": 14
} | {
"line": 141,
"column": 2
} | [
{
"pp": "case pos\nV : Type u_1\nG : SimpleGraph V\nu v : V\nhuv : u = v\n⊢ G.edist u v ≤ 1 ↔ G.Adj u v ∨ u = v",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"False",
"instAddMonoidWithOneENat",
"congrArg",
"CommSemiring.toSemiring",
"instIsBotZeroClass",
... | [] | simp [huv] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 140,
"column": 4
} | {
"line": 140,
"column": 14
} | {
"line": 141,
"column": 2
} | [
{
"pp": "case pos\nV : Type u_1\nG : SimpleGraph V\nu v : V\nhuv : u = v\n⊢ G.edist u v ≤ 1 ↔ G.Adj u v ∨ u = v",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"False",
"instAddMonoidWithOneENat",
"congrArg",
"CommSemiring.toSemiring",
"instIsBotZeroClass",
... | [] | simp [huv] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 140,
"column": 4
} | {
"line": 140,
"column": 14
} | {
"line": 141,
"column": 2
} | [
{
"pp": "case pos\nV : Type u_1\nG : SimpleGraph V\nu v : V\nhuv : u = v\n⊢ G.edist u v ≤ 1 ↔ G.Adj u v ∨ u = v",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"False",
"instAddMonoidWithOneENat",
"congrArg",
"CommSemiring.toSemiring",
"instIsBotZeroClass",
... | [] | simp [huv] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.SetFamily.FourFunctions | {
"line": 364,
"column": 4
} | {
"line": 364,
"column": 33
} | {
"line": 364,
"column": 34
} | [
{
"pp": "case inr.inr.refine_2\nα : Type u_1\nβ : Type u_2\ninst✝⁵ : DistribLattice α\ninst✝⁴ : CommSemiring β\ninst✝³ : LinearOrder β\ninst✝² : IsStrictOrderedRing β\ninst✝¹ : ExistsAddOfLE β\nf g μ : α → β\ninst✝ : Fintype α\nhμ₀ : 0 ≤ μ\nhf✝ : 0 ≤ f\nhg✝ : 0 ≤ g\nhμ : Monotone μ\nhfg : ∑ a, f a = ∑ a, g a\nh... | [
"case inr.inr.refine_2\nα : Type u_1\nβ : Type u_2\ninst✝⁵ : DistribLattice α\ninst✝⁴ : CommSemiring β\ninst✝³ : LinearOrder β\ninst✝² : IsStrictOrderedRing β\ninst✝¹ : ExistsAddOfLE β\nf g μ : α → β\ninst✝ : Fintype α\nhμ₀ : 0 ≤ μ\nhf✝ : 0 ≤ f\nhg✝ : 0 ≤ g\nhμ : Monotone μ\nhfg : ∑ a, f a = ∑ a, g a\nh : ∀ (a b : ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 267,
"column": 2
} | {
"line": 267,
"column": 79
} | {
"line": 268,
"column": 4
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nu v : V\nh : 0 < sInf (Set.range Walk.length)\n⊢ Set.univ.Nonempty",
"ppTerm": "?m.17",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"V : Type u_1\nG : SimpleGraph V\nu v : V\nh : 0 < sInf (Set.range Walk.length)\n⊢ Set.univ.Nonempty"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 575,
"column": 31
} | {
"line": 575,
"column": 42
} | {
"line": 575,
"column": 43
} | [
{
"pp": "case inl.inl.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inl.inl.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 575,
"column": 31
} | {
"line": 575,
"column": 42
} | {
"line": 575,
"column": 43
} | [
{
"pp": "case inl.inr.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inl.inr.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 575,
"column": 53
} | {
"line": 575,
"column": 64
} | {
"line": 575,
"column": 65
} | [
{
"pp": "case inl.inr.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inl.inr.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 575,
"column": 31
} | {
"line": 575,
"column": 42
} | {
"line": 575,
"column": 43
} | [
{
"pp": "case inr.inl.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inr.inl.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 575,
"column": 53
} | {
"line": 575,
"column": 64
} | {
"line": 575,
"column": 65
} | [
{
"pp": "case inr.inl.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inr.inl.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.FourFunctions | {
"line": 394,
"column": 2
} | {
"line": 394,
"column": 67
} | {
"line": 395,
"column": 4
} | [
{
"pp": "α : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : GeneralizedBooleanAlgebra α\ns t : Finset α\nthis :\n ∀ (s t : Finset α),\n map { toFun := ⇑liftLatticeHom, inj' := ⋯ } (s \\\\ t) =\n map { toFun := ⇑liftLatticeHom, inj' := ⋯ } s \\\\ map { toFun := ⇑liftLatticeHom, inj' := ⋯ } t\n⊢ #s * #t ≤ #(s... | [
"α : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : GeneralizedBooleanAlgebra α\ns t : Finset α\nthis :\n ∀ (s t : Finset α),\n map { toFun := ⇑liftLatticeHom, inj' := ⋯ } (s \\\\ t) =\n map { toFun := ⇑liftLatticeHom, inj' := ⋯ } s \\\\ map { toFun := ⇑liftLatticeHom, inj' := ⋯ } t\n⊢ #s * #t ≤ #(s \\\\ t) * #... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SetFamily.FourFunctions | {
"line": 401,
"column": 4
} | {
"line": 401,
"column": 22
} | {
"line": 401,
"column": 23
} | [
{
"pp": "α : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : GeneralizedBooleanAlgebra α\ns : Finset α\n⊢ #s ^ 2 ≤ #(s \\\\ s) ^ 2",
"ppTerm": "?m.25",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"α : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : GeneralizedBooleanAlgebra α\ns : Finset α\n⊢ #s ^ 2 ≤ #(s \\\\ s) ^ 2"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 575,
"column": 31
} | {
"line": 575,
"column": 42
} | {
"line": 575,
"column": 43
} | [
{
"pp": "case inr.inr.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inr.inr.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 360,
"column": 59
} | {
"line": 360,
"column": 67
} | {
"line": 361,
"column": 2
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nu v u' v' : V\np₁ : G.Walk u v\np₂ : G.Walk u' v'\nh₁ : p₁.length = G.dist u v\nhh : G.dist u' v' < p₂.length\nru : G.Walk u u'\nrv : G.Walk v' v\nh : p₁ = (ru.append p₂).append rv\ns : G.Walk u' v'\nh✝ : s.IsPath ∧ s.length = G.dist u' v'\nr : G.Walk u v := (ru.append ... | [] | simp [r] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 379,
"column": 38
} | {
"line": 381,
"column": 9
} | {
"line": 381,
"column": 9
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nhp : p.length = G.dist v w\nhl : 1 < G.dist v w\nhnp : ¬p.Nil\n⊢ ¬p.tail.Nil",
"ppTerm": "?m.92",
"assigned": true,
"usedConstants": [
"_private.Mathlib.Combinatorics.SimpleGraph.Metric.0.SimpleGraph.Walk.exists_adj_adj_not_adj... | [] | by
simp only [not_nil_iff_lt_length, ← p.length_tail_add_one hnp] at hp ⊢
lia | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 386,
"column": 6
} | {
"line": 386,
"column": 38
} | {
"line": 386,
"column": 39
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nhp : p.length = G.dist v w\nhl : 1 < G.dist v w\nhnp : ¬p.Nil\nthis✝ : p.tail.tail.length < p.tail.length\nthis : p.tail.length < p.length\nhv : v = p.getVert 2\n⊢ G.dist v w ≤ p.tail.tail.length",
"ppTerm": "?m.155",
"assigned": true,
... | [
"V : Type u_1\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nhp : p.length = G.dist v w\nhl : 1 < G.dist v w\nhnp : ¬p.Nil\nthis✝ : p.tail.tail.length < p.tail.length\nthis : p.tail.length < p.length\nhv : v = p.getVert 2\n⊢ G.dist (p.getVert 2) w ≤ p.length - 1 - 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 385,
"column": 4
} | {
"line": 387,
"column": 7
} | {
"line": 388,
"column": 2
} | [
{
"pp": "case pos\nV : Type u_1\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nhp : p.length = G.dist v w\nhl : 1 < G.dist v w\nhnp : ¬p.Nil\nthis✝ : p.tail.tail.length < p.tail.length\nthis : p.tail.length < p.length\nhv : v = p.getVert 2\n⊢ G.Adj v (p.getVert 1) ∧ G.Adj (p.getVert 1) (p.getVert 2) ∧ ¬G.Adj v (p... | [] | have : G.dist v w ≤ p.tail.tail.length := by
simpa [hv, p.getVert_tail] using dist_le p.tail.tail
lia | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.SimpleGraph.Metric | {
"line": 385,
"column": 4
} | {
"line": 387,
"column": 7
} | {
"line": 388,
"column": 2
} | [
{
"pp": "case pos\nV : Type u_1\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nhp : p.length = G.dist v w\nhl : 1 < G.dist v w\nhnp : ¬p.Nil\nthis✝ : p.tail.tail.length < p.tail.length\nthis : p.tail.length < p.length\nhv : v = p.getVert 2\n⊢ G.Adj v (p.getVert 1) ∧ G.Adj (p.getVert 1) (p.getVert 2) ∧ ¬G.Adj v (p... | [] | have : G.dist v w ≤ p.tail.tail.length := by
simpa [hv, p.getVert_tail] using dist_le p.tail.tail
lia | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph | {
"line": 452,
"column": 2
} | {
"line": 452,
"column": 47
} | {
"line": 453,
"column": 2
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nv w : V\np : G.Walk v v\nh : p.IsCycle\nhadj : p.toSubgraph.Adj v w\n⊢ ∃ p', p'.IsCycle ∧ p'.snd = w ∧ p'.toSubgraph.verts = p.toSubgraph.verts",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"Membership.mem",
"SimpleGraph.Walk.toSubgraph... | [
"V : Type u\nG : SimpleGraph V\nv w : V\np : G.Walk v v\nh : p.IsCycle\nhadj : p.toSubgraph.Adj v w\nthis : w ∈ p.toSubgraph.neighborSet v\n⊢ ∃ p', p'.IsCycle ∧ p'.snd = w ∧ p'.toSubgraph.verts = p.toSubgraph.verts"
] | have : w ∈ p.toSubgraph.neighborSet v := hadj | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 579,
"column": 31
} | {
"line": 579,
"column": 42
} | {
"line": 579,
"column": 43
} | [
{
"pp": "case inl.inl.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inl.inl.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 579,
"column": 31
} | {
"line": 579,
"column": 42
} | {
"line": 579,
"column": 43
} | [
{
"pp": "case inl.inr.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inl.inr.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 579,
"column": 53
} | {
"line": 579,
"column": 64
} | {
"line": 579,
"column": 65
} | [
{
"pp": "case inl.inr.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inl.inr.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 579,
"column": 31
} | {
"line": 579,
"column": 42
} | {
"line": 579,
"column": 43
} | [
{
"pp": "case inr.inl.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inr.inl.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 579,
"column": 53
} | {
"line": 579,
"column": 64
} | {
"line": 579,
"column": 65
} | [
{
"pp": "case inr.inl.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inr.inl.inr\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 579,
"column": 31
} | {
"line": 579,
"column": 42
} | {
"line": 579,
"column": 43
} | [
{
"pp": "case inr.inr.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBe... | [
"case inr.inr.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph | {
"line": 500,
"column": 61
} | {
"line": 500,
"column": 92
} | {
"line": 500,
"column": 93
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\ninst✝ : DecidableEq V\nu v : V\np : G.Walk u v\ns : Finset V\nh✝ : {x ∈ s | x ∈ p.support}.Nonempty\nx : V\nhxs : x ∈ s\nhx : x ∈ p.support\nh : {t ∈ s.erase x | t ∈ (p.takeUntil x hx).support} = ∅\nthis : {t ∈ s | t ∈ (p.takeUntil x hx).support} ⊆ {x}\n⊢ ∀ t ∈ s, t ∈ (p.... | [
"V : Type u\nG : SimpleGraph V\ninst✝ : DecidableEq V\nu v : V\np : G.Walk u v\ns : Finset V\nh✝ : {x ∈ s | x ∈ p.support}.Nonempty\nx : V\nhxs : x ∈ s\nhx : x ∈ p.support\nh : {t ∈ s.erase x | t ∈ (p.takeUntil x hx).support} = ∅\nthis : {t ∈ s | t ∈ (p.takeUntil x hx).support} ⊆ {x}\n⊢ ∀ t ∈ s, t ∈ (p.takeUntil x ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Sum | {
"line": 254,
"column": 2
} | {
"line": 254,
"column": 12
} | {
"line": 255,
"column": 4
} | [
{
"pp": "case coe\nV : Type u_3\nW : Type u_5\nG : SimpleGraph V\nH : SimpleGraph W\nn : ℕ\nhG : G.chromaticNumber ≤ ↑n\nhH : H.chromaticNumber ≤ ↑n\n⊢ (G ⊕g H).chromaticNumber ≤ ↑n",
"ppTerm": "?coe",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"ENat.instNatCast",
"SimpleGraph... | [] | | coe n => | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalCases | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 581,
"column": 6
} | {
"line": 581,
"column": 17
} | {
"line": 581,
"column": 18
} | [
{
"pp": "case refine_1.inl.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompl... | [
"case refine_1.inl.inl\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 583,
"column": 57
} | {
"line": 583,
"column": 68
} | {
"line": 583,
"column": 69
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ↑right... | [
"V : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ↑right\nleft right... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph | {
"line": 639,
"column": 4
} | {
"line": 639,
"column": 75
} | {
"line": 640,
"column": 4
} | [
{
"pp": "case refine_2.patches\nV : Type u\nG : SimpleGraph V\nGpc : G.Preconnected\nt : Finset V\nu : V\nut : u ∈ t\nv : V\nhv : v ∈ ↑(t.biUnion fun v ↦ (Nonempty.some ⋯).support.toFinset)\n⊢ ∃ s' ⊆ ↑(t.biUnion fun v ↦ (Nonempty.some ⋯).support.toFinset),\n ∃ (hu' : u ∈ s') (hv' : v ∈ s'), (induce s' G).Rea... | [
"case refine_2.patches\nV : Type u\nG : SimpleGraph V\nGpc : G.Preconnected\nt : Finset V\nu : V\nut : u ∈ t\nv : V\nhv : ∃ a ∈ t, v ∈ (Nonempty.some ⋯).support\n⊢ ∃ s' ⊆ ↑(t.biUnion fun v ↦ (Nonempty.some ⋯).support.toFinset),\n ∃ (hu' : u ∈ s') (hv' : v ∈ s'), (induce s' G).Reachable ⟨u, hu'⟩ ⟨v, hv'⟩"
] | simp only [Finset.mem_coe, Finset.mem_biUnion, List.mem_toFinset] at hv | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Combinatorics.SimpleGraph.Hasse | {
"line": 131,
"column": 22
} | {
"line": 133,
"column": 24
} | {
"line": 135,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nV : Type u_3\ninst✝ : DecidableEq V\nG : SimpleGraph V\nu v : V\nw : G.Walk u v\na b : Fin (w.length + 1)\nh : (pathGraph (w.length + 1)).Adj a b\n⊢ w.toSubgraph.coe.Adj ⟨w.support[a], ⋯⟩ ⟨w.support[b], ⋯⟩",
"ppTerm": "?m.60",
"assigned": true,
"usedConstants": [... | [] | by
grind [support_getElem_eq_getVert, Subgraph.coe_adj, pathGraph_adj, toSubgraph_adj_getVert,
Subgraph.Adj.symm] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 585,
"column": 58
} | {
"line": 585,
"column": 69
} | {
"line": 585,
"column": 70
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ↑right... | [
"V : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsCompleteBetween ↑left ↑right\nleft right... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph | {
"line": 683,
"column": 18
} | {
"line": 683,
"column": 23
} | {
"line": 683,
"column": 23
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nG' : G.Subgraph\nG'' : G'.coe.Subgraph\nf : G'.coe →g G\nhpreconn : G''.Preconnected\nu' : V\nu : ↑G'.verts\nhu : u ∈ G''.verts\nhfu : f u = u'\nv' : V\nv : ↑G'.verts\nhv : v ∈ G''.verts\nhfv : f v = v'\n⊢ (Subgraph.map f G'').coe.Reachable ⟨f u, ⋯⟩ ⟨v', ⋯⟩",
"ppTerm"... | [
"V : Type u\nG : SimpleGraph V\nG' : G.Subgraph\nG'' : G'.coe.Subgraph\nf : G'.coe →g G\nhpreconn : G''.Preconnected\nu' : V\nu : ↑G'.verts\nhu : u ∈ G''.verts\nhfu : f u = u'\nv' : V\nv : ↑G'.verts\nhv : v ∈ G''.verts\nhfv : f v = v'\n⊢ (Subgraph.map f G'').coe.Reachable ⟨f u, ⋯⟩ ⟨f v, ⋯⟩"
] | ← hfv | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Combinatorics.SimpleGraph.Bipartite | {
"line": 589,
"column": 8
} | {
"line": 589,
"column": 19
} | {
"line": 589,
"column": 20
} | [
{
"pp": "case refine_1.inl.inr.refine_3\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCove... | [
"case refine_1.inl.inr.refine_3\nV : Type u_1\nG : SimpleGraph V\nα : Type u_2\nβ : Type u_3\ninst✝³ : Finite α\ninst✝² : Finite β\ninst✝¹ : Nonempty α\ninst✝ : Nonempty β\nthis✝ : Fintype α\nthis : Fintype β\nx✝ :\n ∃ left right, #left = Fintype.card α ∧ #right = Fintype.card β ∧ G.bipartiteDoubleCover.IsComplete... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.