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.HalesJewett
{ "line": 125, "column": 6 }
{ "line": 126, "column": 60 }
{ "line": 127, "column": 4 }
[ { "pp": "case inr.inl\nη : Type u_5\nα : Type u_6\nι : Type u_7\ninst✝ : Nontrivial α\nl m : Subspace η α ι\ni : ι\nhlm : ∀ (x : η → α) (x_1 : ι), ↑l x x_1 = ↑m x x_1\ne : η\nhl : l.idxFun i = Sum.inr e\na : α\nhm : m.idxFun i = Sum.inl a\n⊢ Sum.inr e = Sum.inl a", "ppTerm": "?inr.inl", "assigned": true...
[]
obtain ⟨b, hba⟩ := exists_ne a simpa [hl, hm, hba, coe_apply] using hlm (const _ b) i
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.HalesJewett
{ "line": 125, "column": 6 }
{ "line": 126, "column": 60 }
{ "line": 127, "column": 4 }
[ { "pp": "case inr.inl\nη : Type u_5\nα : Type u_6\nι : Type u_7\ninst✝ : Nontrivial α\nl m : Subspace η α ι\ni : ι\nhlm : ∀ (x : η → α) (x_1 : ι), ↑l x x_1 = ↑m x x_1\ne : η\nhl : l.idxFun i = Sum.inr e\na : α\nhm : m.idxFun i = Sum.inl a\n⊢ Sum.inr e = Sum.inl a", "ppTerm": "?inr.inl", "assigned": true...
[]
obtain ⟨b, hba⟩ := exists_ne a simpa [hl, hm, hba, coe_apply] using hlm (const _ b) i
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.Compactification.StoneCech
{ "line": 182, "column": 2 }
{ "line": 182, "column": 78 }
{ "line": 184, "column": 0 }
[ { "pp": "α : Type u\nγ : Type u_1\ninst✝¹ : TopologicalSpace γ\ninst✝ : T2Space γ\nf : α → γ\nthis✝ : TopologicalSpace α := ⊥\nthis : DiscreteTopology α\n⊢ Ultrafilter.extend f ∘ pure = f", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "Pure.pure", "Lattice.toSemilatticeSup", ...
[]
exact funext (isDenseInducing_pure.extend_eq continuous_of_discreteTopology)
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Combinatorics.Matroid.Minor.Delete
{ "line": 97, "column": 6 }
{ "line": 97, "column": 20 }
{ "line": 97, "column": 21 }
[ { "pp": "α : Type u_1\nM : Matroid α\nD₁ D₂ : Set α\n⊢ M \ D₁ \ D₂ = M \ D₂ \ D₁", "ppTerm": "?m.6", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.instMax", "congrArg", "id", "Max.max", "Matroid.delete_delete", "Eq", "Matroid", "Matroid.del...
[ "α : Type u_1\nM : Matroid α\nD₁ D₂ : Set α\n⊢ M \ (D₁ ∪ D₂) = M \ D₂ \ D₁" ]
delete_delete,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.Hindman
{ "line": 168, "column": 2 }
{ "line": 168, "column": 48 }
{ "line": 169, "column": 2 }
[ { "pp": "M : Type u_1\ninst✝ : Semigroup M\nU : Ultrafilter M\nU_idem : U * U = U\ns₀ : Set M\nsU : s₀ ∈ U\nexists_elem : ∀ {s : Set M}, s ∈ U → (s ∩ {m | ∀ᶠ (m' : M) in ↑U, m * m' ∈ s}).Nonempty\nelem : { s // s ∈ U } → M := fun p ↦ ⋯.some\nsucc : { s // s ∈ U } → { s // s ∈ U } := fun p ↦ ⟨↑p ∩ {m | elem p * ...
[ "case h\nM : Type u_1\ninst✝ : Semigroup M\nU : Ultrafilter M\nU_idem : U * U = U\ns₀ : Set M\nsU : s₀ ∈ U\nexists_elem : ∀ {s : Set M}, s ∈ U → (s ∩ {m | ∀ᶠ (m' : M) in ↑U, m * m' ∈ s}).Nonempty\nelem : { s // s ∈ U } → M := ⋯\nsucc : { s // s ∈ U } → { s // s ∈ U } := ⋯\n⊢ ∀ (m : M), FP (Stream'.corec elem succ ⟨...
use Stream'.corec elem succ (Subtype.mk s₀ sU)
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.Combinatorics.Matroid.Minor.Delete
{ "line": 125, "column": 7 }
{ "line": 125, "column": 21 }
{ "line": 125, "column": 22 }
[ { "pp": "α : Type u_1\nM : Matroid α\nX D : Set α\nhD : D ⊆ M.E\nh : M \ D ≤r M\nhX : Disjoint X (M \ D).E\n⊢ M \ D = M \ X \ (D \\ X)", "ppTerm": "?m.55", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.instMax", "congrArg", "id", "SDiff.sdiff", "Max.max", ...
[ "α : Type u_1\nM : Matroid α\nX D : Set α\nhD : D ⊆ M.E\nh : M \ D ≤r M\nhX : Disjoint X (M \ D).E\n⊢ M \ D = M \ (X ∪ D \\ X)" ]
delete_delete,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 300, "column": 42 }
{ "line": 300, "column": 51 }
{ "line": 300, "column": 51 }
[ { "pp": "α : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ X \\ C ∪ J ⊆ X ∪ C", "ppTerm": "?m.84", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "Set.instMax", "_priva...
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 300, "column": 42 }
{ "line": 300, "column": 51 }
{ "line": 300, "column": 51 }
[ { "pp": "α : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ X \\ C ∪ J ⊆ X ∪ C", "ppTerm": "?m.84", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "Set.instMax", "_priva...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 300, "column": 42 }
{ "line": 300, "column": 51 }
{ "line": 300, "column": 51 }
[ { "pp": "α : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ X \\ C ∪ J ⊆ X ∪ C", "ppTerm": "?m.84", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "Set.instMax", "_priva...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_3\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ Disjoint (I \\ C) J", "ppTerm": "?refine_3", "assigned": true, "usedConstants": [ "Eq.mpr", "_private.Mathlib.Combina...
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_3\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ Disjoint (I \\ C) J", "ppTerm": "?refine_3", "assigned": true, "usedConstants": [ "Eq.mpr", "_private.Mathlib.Combina...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_3\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ Disjoint (I \\ C) J", "ppTerm": "?refine_3", "assigned": true, "usedConstants": [ "Eq.mpr", "_private.Mathlib.Combina...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_4\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ Disjoint (X \\ C) J", "ppTerm": "?refine_4", "assigned": true, "usedConstants": [ "Eq.mpr", "_private.Mathlib.Combina...
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_4\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ Disjoint (X \\ C) J", "ppTerm": "?refine_4", "assigned": true, "usedConstants": [ "Eq.mpr", "_private.Mathlib.Combina...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_4\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ Disjoint (X \\ C) J", "ppTerm": "?refine_4", "assigned": true, "usedConstants": [ "Eq.mpr", "_private.Mathlib.Combina...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_5\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ Disjoint (X \\ C) (C \\ J)", "ppTerm": "?refine_5", "assigned": true, "usedConstants": [ "Eq.mpr", "_private.Mathlib....
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_5\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ Disjoint (X \\ C) (C \\ J)", "ppTerm": "?refine_5", "assigned": true, "usedConstants": [ "Eq.mpr", "_private.Mathlib....
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_5\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ Disjoint (X \\ C) (C \\ J)", "ppTerm": "?refine_5", "assigned": true, "usedConstants": [ "Eq.mpr", "_private.Mathlib....
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_1\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ I \\ C ∪ J ⊆ X \\ C ∪ J", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "Set...
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_1\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ I \\ C ∪ J ⊆ X \\ C ∪ J", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "Set...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 302, "column": 12 }
{ "line": 302, "column": 21 }
{ "line": 304, "column": 0 }
[ { "pp": "case refine_1\nα : Type u_1\nM : Matroid α\nI J X C : Set α\nh : M.IsBasis I X\nhJC : M.IsBasis' J C\nh_ind : M.Indep (I \\ C ∪ J)\nhIX : I ⊆ X\nhJCss : J ⊆ C\n⊢ I \\ C ∪ J ⊆ X \\ C ∪ J", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "Set...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 360, "column": 63 }
{ "line": 360, "column": 72 }
{ "line": 360, "column": 72 }
[ { "pp": "α : Type u_1\nM : Matroid α\ne : α\nI✝ J✝ R D B X Y K✝ C C₁ C₂ : Set α\ninst✝ : M.Finitary\nJ : Set α\nhJ : M.IsBasis' J C\nI : Set α\nhI : ∀ J_1 ⊆ I, J_1.Finite → (M / J).Indep J_1\nK : Set α\nhK : K ⊆ I ∪ J\nhKfin : K.Finite\n⊢ K ⊆ K ∩ I ∪ J", "ppTerm": "?m.97", "assigned": true, "usedCon...
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 360, "column": 63 }
{ "line": 360, "column": 72 }
{ "line": 360, "column": 72 }
[ { "pp": "α : Type u_1\nM : Matroid α\ne : α\nI✝ J✝ R D B X Y K✝ C C₁ C₂ : Set α\ninst✝ : M.Finitary\nJ : Set α\nhJ : M.IsBasis' J C\nI : Set α\nhI : ∀ J_1 ⊆ I, J_1.Finite → (M / J).Indep J_1\nK : Set α\nhK : K ⊆ I ∪ J\nhKfin : K.Finite\n⊢ K ⊆ K ∩ I ∪ J", "ppTerm": "?m.97", "assigned": true, "usedCon...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 360, "column": 63 }
{ "line": 360, "column": 72 }
{ "line": 360, "column": 72 }
[ { "pp": "α : Type u_1\nM : Matroid α\ne : α\nI✝ J✝ R D B X Y K✝ C C₁ C₂ : Set α\ninst✝ : M.Finitary\nJ : Set α\nhJ : M.IsBasis' J C\nI : Set α\nhI : ∀ J_1 ⊆ I, J_1.Finite → (M / J).Indep J_1\nK : Set α\nhK : K ⊆ I ∪ J\nhKfin : K.Finite\n⊢ K ⊆ K ∩ I ∪ J", "ppTerm": "?m.97", "assigned": true, "usedCon...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 422, "column": 4 }
{ "line": 422, "column": 18 }
{ "line": 422, "column": 19 }
[ { "pp": "α✝ α : Type u_1\nM : Matroid α\nC : Set α\nhCE : C ⊆ M.E\nI : Set α\nhI : M.IsBasis I C\n⊢ M / I \ (M.closure C \\ I) = M / I \ (C \\ I) \ (M.closure C \\ C)", "ppTerm": "?m.81", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.instMax", "congrArg", "id", "S...
[ "α✝ α : Type u_1\nM : Matroid α\nC : Set α\nhCE : C ⊆ M.E\nI : Set α\nhI : M.IsBasis I C\n⊢ M / I \ (M.closure C \\ I) = M / I \ (C \\ I ∪ M.closure C \\ C)" ]
delete_delete,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 454, "column": 24 }
{ "line": 454, "column": 33 }
{ "line": 454, "column": 33 }
[ { "pp": "α : Type u_1\nM : Matroid α\nX : Set α\nhX : M.Spanning X\nC : Set α\nhXE : X ⊆ M.E\n⊢ X ⊆ X \\ C ∪ C ∩ M.E", "ppTerm": "?m.28", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "Set.instMax", "instDecidableNot", "instDecidableTrue", "congrArg", ...
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 454, "column": 24 }
{ "line": 454, "column": 33 }
{ "line": 454, "column": 33 }
[ { "pp": "α : Type u_1\nM : Matroid α\nX : Set α\nhX : M.Spanning X\nC : Set α\nhXE : X ⊆ M.E\n⊢ X ⊆ X \\ C ∪ C ∩ M.E", "ppTerm": "?m.28", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "Set.instMax", "instDecidableNot", "instDecidableTrue", "congrArg", ...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 454, "column": 24 }
{ "line": 454, "column": 33 }
{ "line": 454, "column": 33 }
[ { "pp": "α : Type u_1\nM : Matroid α\nX : Set α\nhX : M.Spanning X\nC : Set α\nhXE : X ⊆ M.E\n⊢ X ⊆ X \\ C ∪ C ∩ M.E", "ppTerm": "?m.28", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "Set.instMax", "instDecidableNot", "instDecidableTrue", "congrArg", ...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 454, "column": 39 }
{ "line": 454, "column": 48 }
{ "line": 454, "column": 48 }
[ { "pp": "α : Type u_1\nM : Matroid α\nX : Set α\nhX : M.Spanning X\nC : Set α\nhXE : X ⊆ M.E\n⊢ X \\ C ∪ C ∩ M.E ⊆ M.E", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.instMax", "congrArg", "Matroid.E", "Compl.compl", "False.elim", "C...
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 454, "column": 39 }
{ "line": 454, "column": 48 }
{ "line": 454, "column": 48 }
[ { "pp": "α : Type u_1\nM : Matroid α\nX : Set α\nhX : M.Spanning X\nC : Set α\nhXE : X ⊆ M.E\n⊢ X \\ C ∪ C ∩ M.E ⊆ M.E", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.instMax", "congrArg", "Matroid.E", "Compl.compl", "False.elim", "C...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 454, "column": 39 }
{ "line": 454, "column": 48 }
{ "line": 454, "column": 48 }
[ { "pp": "α : Type u_1\nM : Matroid α\nX : Set α\nhX : M.Spanning X\nC : Set α\nhXE : X ⊆ M.E\n⊢ X \\ C ∪ C ∩ M.E ⊆ M.E", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.instMax", "congrArg", "Matroid.E", "Compl.compl", "False.elim", "C...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.MvPolynomial.Groebner
{ "line": 118, "column": 12 }
{ "line": 118, "column": 23 }
{ "line": 118, "column": 23 }
[ { "pp": "case right\nσ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝ : CommRing R\nf b : MvPolynomial σ R\nhb : IsUnit (m.leadingCoeff b)\nhbf : m.degree b ≤ m.degree f\nhf : m.degree f ≠ 0\nH : m.degree f = m.degree ((monomial (m.degree f - m.degree b)) (↑hb.unit⁻¹ * m.leadingCoeff f)) + m.degree b\nH' ...
[ "case right\nσ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝ : CommRing R\nf b : MvPolynomial σ R\nhb : IsUnit (m.leadingCoeff b)\nhbf : m.degree b ≤ m.degree f\nhf : m.degree f ≠ 0\nH : m.degree f = m.degree ((monomial (m.degree f - m.degree b)) (↑hb.unit⁻¹ * m.leadingCoeff f)) + m.degree b\nH' : m.reduce h...
degree_zero
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.Matroid.Minor.Contract
{ "line": 547, "column": 2 }
{ "line": 547, "column": 11 }
{ "line": 549, "column": 0 }
[ { "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\nhJ' : M.IsBasis' J C\nhJC : J ⊆ C\n⊢ (M.Indep (I ∪ J) ∧ Disjoint C I) ∧ I ⊆ R ↔ (M.Indep (I ∪ J) ∧ I ∪ J ⊆ R ∪ C) ∧ Disjoint C I", "ppTerm": "?m.84", "assigned": true, ...
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Combinatorics.Schnirelmann
{ "line": 207, "column": 49 }
{ "line": 207, "column": 74 }
{ "line": 209, "column": 0 }
[ { "pp": "A : Finset ℕ\nε : ℝ\nhε : 0 < ε\nhε₁ : ε ≤ 1\nn : ℕ := ⌊↑(#A) / ε⌋₊ + 1\nhn : 0 < n\n⊢ ↑(#({a ∈ Ioc 0 n | a ∈ ↑A})) / ε ≤ ↑(#A) / ε", "ppTerm": "?m.152", "assigned": true, "usedConstants": [ "SetLike.mem_coe._simp_1", "Real.partialOrder", "Real", "Finset.mem_filter._...
[]
gcongr; simp [subset_iff]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Schnirelmann
{ "line": 207, "column": 49 }
{ "line": 207, "column": 74 }
{ "line": 209, "column": 0 }
[ { "pp": "A : Finset ℕ\nε : ℝ\nhε : 0 < ε\nhε₁ : ε ≤ 1\nn : ℕ := ⌊↑(#A) / ε⌋₊ + 1\nhn : 0 < n\n⊢ ↑(#({a ∈ Ioc 0 n | a ∈ ↑A})) / ε ≤ ↑(#A) / ε", "ppTerm": "?m.152", "assigned": true, "usedConstants": [ "SetLike.mem_coe._simp_1", "Real.partialOrder", "Real", "Finset.mem_filter._...
[]
gcongr; simp [subset_iff]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Schnirelmann
{ "line": 274, "column": 2 }
{ "line": 274, "column": 24 }
{ "line": 275, "column": 2 }
[ { "pp": "case inl\n⊢ schnirelmannDensity {n | n ≡ 1 [MOD 1]} = (↑1)⁻¹", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "Set.decidableUniv", "Real", "InvOneClass.toOne", "DivisionCommMonoid.toDivisionMonoid", "DivInvOneMonoid.toInvOneClass", "inv_one", ...
[ "case inr\nm : ℕ\nhm : m ≠ 1\n⊢ schnirelmannDensity {n | n ≡ 1 [MOD m]} = (↑m)⁻¹" ]
· simp [Nat.modEq_one]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Combinatorics.SetFamily.Compression.Down
{ "line": 170, "column": 2 }
{ "line": 170, "column": 56 }
{ "line": 171, "column": 2 }
[ { "pp": "α : Type u_1\ninst✝ : DecidableEq α\np : Finset (Finset α) → Prop\n𝒜 : Finset (Finset α)\nempty : p ∅\nsingleton_empty : p {∅}\nsubfamily : ∀ (a : α) ⦃𝒜 : Finset (Finset α)⦄, p (nonMemberSubfamily a 𝒜) → p (memberSubfamily a 𝒜) → p 𝒜\nu : Finset α\nhu : ∀ s ∈ 𝒜, s ⊆ u\n⊢ p 𝒜", "ppTerm": "?m....
[]
induction u using Finset.induction generalizing 𝒜 with
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Combinatorics.SetFamily.AhlswedeZhang
{ "line": 392, "column": 2 }
{ "line": 393, "column": 76 }
{ "line": 394, "column": 2 }
[ { "pp": "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\ns : Finset α\ninst✝ : Nonempty α\nhs : s ≠ univ\nthis :\n ∀ (t : Finset α),\n (↑(card α) - ↑(#({s}.truncatedSup t))) / ((↑(card α) - ↑(#t)) * ↑((card α).choose #t)) =\n if t ⊆ s then (↑(card α) - ↑(#s)) / ((↑(card α) - ↑(#t)) * ↑((card ...
[ "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\ns : Finset α\ninst✝ : Nonempty α\nhs : s ≠ univ\nthis :\n ∀ (t : Finset α),\n (↑(card α) - ↑(#({s}.truncatedSup t))) / ((↑(card α) - ↑(#t)) * ↑((card α).choose #t)) =\n if t ⊆ s then (↑(card α) - ↑(#s)) / ((↑(card α) - ↑(#t)) * ↑((card α).choose #t...
rw [sum_congr rfl fun t _ ↦ this t, sum_ite, sum_const_zero, add_zero, filter_subset_univ, sum_powerset, ← binomial_sum_eq ((card_lt_iff_ne_univ _).2 hs), eq_comm]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Combinatorics.SetFamily.HarrisKleitman
{ "line": 69, "column": 67 }
{ "line": 69, "column": 75 }
{ "line": 69, "column": 76 }
[ { "pp": "case insert\nα : Type u_1\ninst✝ : DecidableEq α\na : α\ns : Finset α\nhs : a ∉ s\nih :\n ∀ {𝒜 ℬ : Finset (Finset α)},\n IsLowerSet ↑𝒜 → IsLowerSet ↑ℬ → (∀ t ∈ 𝒜, t ⊆ s) → (∀ t ∈ ℬ, t ⊆ s) → #𝒜 * #ℬ ≤ 2 ^ #s * #(𝒜 ∩ ℬ)\n𝒜 ℬ : Finset (Finset α)\nh𝒜 : IsLowerSet ↑𝒜\nhℬ : IsLowerSet ↑ℬ\nh𝒜s :...
[ "case insert\nα : Type u_1\ninst✝ : DecidableEq α\na : α\ns : Finset α\nhs : a ∉ s\nih :\n ∀ {𝒜 ℬ : Finset (Finset α)},\n IsLowerSet ↑𝒜 → IsLowerSet ↑ℬ → (∀ t ∈ 𝒜, t ⊆ s) → (∀ t ∈ ℬ, t ⊆ s) → #𝒜 * #ℬ ≤ 2 ^ #s * #(𝒜 ∩ ℬ)\n𝒜 ℬ : Finset (Finset α)\nh𝒜 : IsLowerSet ↑𝒜\nhℬ : IsLowerSet ↑ℬ\nh𝒜s : ∀ t ∈ 𝒜, t...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SetFamily.HarrisKleitman
{ "line": 69, "column": 76 }
{ "line": 69, "column": 84 }
{ "line": 70, "column": 4 }
[ { "pp": "case insert\nα : Type u_1\ninst✝ : DecidableEq α\na : α\ns : Finset α\nhs : a ∉ s\nih :\n ∀ {𝒜 ℬ : Finset (Finset α)},\n IsLowerSet ↑𝒜 → IsLowerSet ↑ℬ → (∀ t ∈ 𝒜, t ⊆ s) → (∀ t ∈ ℬ, t ⊆ s) → #𝒜 * #ℬ ≤ 2 ^ #s * #(𝒜 ∩ ℬ)\n𝒜 ℬ : Finset (Finset α)\nh𝒜 : IsLowerSet ↑𝒜\nhℬ : IsLowerSet ↑ℬ\nh𝒜s :...
[ "case insert\nα : Type u_1\ninst✝ : DecidableEq α\na : α\ns : Finset α\nhs : a ∉ s\nih :\n ∀ {𝒜 ℬ : Finset (Finset α)},\n IsLowerSet ↑𝒜 → IsLowerSet ↑ℬ → (∀ t ∈ 𝒜, t ⊆ s) → (∀ t ∈ ℬ, t ⊆ s) → #𝒜 * #ℬ ≤ 2 ^ #s * #(𝒜 ∩ ℬ)\n𝒜 ℬ : Finset (Finset α)\nh𝒜 : IsLowerSet ↑𝒜\nhℬ : IsLowerSet ↑ℬ\nh𝒜s : ∀ t ∈ 𝒜, t...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SetFamily.Kleitman
{ "line": 49, "column": 4 }
{ "line": 49, "column": 56 }
{ "line": 50, "column": 2 }
[ { "pp": "case inl\nι : Type u_1\nα : Type u_2\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\ninst✝ : Nonempty α\ns : Finset ι\nf : ι → Finset (Finset α)\nhf : ∀ i ∈ s, (↑(f i)).Intersecting\nthis : DecidableEq ι\nhs : Fintype.card α ≤ #s\n⊢ #{⊥}ᶜ = 2 ^ Fintype.card α - 1", "ppTerm": "?inl", "assigned": tr...
[]
rw [card_compl, Fintype.card_finset, card_singleton]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Combinatorics.SetFamily.Kleitman
{ "line": 70, "column": 16 }
{ "line": 70, "column": 24 }
{ "line": 70, "column": 25 }
[ { "pp": "case inr.cons\nι : Type u_1\nα : Type u_2\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\ninst✝ : Nonempty α\nthis : DecidableEq ι\ni : ι\ns : Finset ι\nhi : i ∉ s\nih :\n ∀ (f : ι → Finset (Finset α)),\n (∀ i ∈ s, (↑(f i)).Intersecting) →\n #s ≤ Fintype.card α → #(s.biUnion f) ≤ 2 ^ Fintype.card...
[ "case inr.cons\nι : Type u_1\nα : Type u_2\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\ninst✝ : Nonempty α\nthis : DecidableEq ι\ni : ι\ns : Finset ι\nhi : i ∉ s\nih :\n ∀ (f : ι → Finset (Finset α)),\n (∀ i ∈ s, (↑(f i)).Intersecting) →\n #s ≤ Fintype.card α → #(s.biUnion f) ≤ 2 ^ Fintype.card α - 2 ^ (Fi...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SetFamily.KruskalKatona
{ "line": 94, "column": 4 }
{ "line": 97, "column": 44 }
{ "line": 98, "column": 2 }
[ { "pp": "case mpr.inr.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\...
[]
apply mem_insert_of_mem rw [z lt] refine mem_erase_of_ne_of_mem (lt_of_le_of_lt ?_ lt).ne' ha apply min'_le _ _ (mem_of_mem_erase ‹_›)
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SetFamily.KruskalKatona
{ "line": 94, "column": 4 }
{ "line": 97, "column": 44 }
{ "line": 98, "column": 2 }
[ { "pp": "case mpr.inr.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\...
[]
apply mem_insert_of_mem rw [z lt] refine mem_erase_of_ne_of_mem (lt_of_le_of_lt ?_ lt).ne' ha apply min'_le _ _ (mem_of_mem_erase ‹_›)
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SetFamily.KruskalKatona
{ "line": 109, "column": 36 }
{ "line": 109, "column": 92 }
{ "line": 110, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝¹ : LinearOrder α\n𝒜 : Finset (Finset α)\ninst✝ : Finite α\nval✝ : Fintype α\nh₁ : IsInitSeg 𝒜 0\ns : Finset α\nhs : s ∈ 𝒜\n⊢ s ∈ {∅}", "ppTerm": "?m.68", "assigned": true, "usedConstants": [ "Eq.mpr", "Finset.mem_singleton", "Preorder.toLT", "E...
[]
rw [mem_singleton, ← Finset.card_eq_zero]; exact h₁.1 hs
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SetFamily.KruskalKatona
{ "line": 109, "column": 36 }
{ "line": 109, "column": 92 }
{ "line": 110, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝¹ : LinearOrder α\n𝒜 : Finset (Finset α)\ninst✝ : Finite α\nval✝ : Fintype α\nh₁ : IsInitSeg 𝒜 0\ns : Finset α\nhs : s ∈ 𝒜\n⊢ s ∈ {∅}", "ppTerm": "?m.68", "assigned": true, "usedConstants": [ "Eq.mpr", "Finset.mem_singleton", "Preorder.toLT", "E...
[]
rw [mem_singleton, ← Finset.card_eq_zero]; exact h₁.1 hs
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SetFamily.FourFunctions
{ "line": 114, "column": 16 }
{ "line": 114, "column": 37 }
{ "line": 114, "column": 37 }
[ { "pp": "α : Type u_1\nβ : Type u_2\ninst✝¹ : DecidableEq α\ninst✝ : CommSemiring β\na : α\ns : Finset α\nha : a ∉ s\n𝒜 : Finset (Finset α)\nf : Finset α → β\n⊢ ∑ t ∈ 𝒜 with t.erase a = s, f t = (if s ∈ 𝒜 then f s else 0) + if insert a s ∈ 𝒜 then f (insert a s) else 0", "ppTerm": "?m.46", "assigned"...
[ "α : Type u_1\nβ : Type u_2\ninst✝¹ : DecidableEq α\ninst✝ : CommSemiring β\na : α\ns : Finset α\nha : a ∉ s\n𝒜 : Finset (Finset α)\nf : Finset α → β\n⊢ ∑ t ∈ if s ∈ 𝒜 then if insert a s ∈ 𝒜 then {s, insert a s} else {s} else if insert a s ∈ 𝒜 then {insert a s} else ∅,\n f t =\n (if s ∈ 𝒜 then f s else...
filter_collapse_eq ha
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
{ "line": 105, "column": 22 }
{ "line": 105, "column": 70 }
{ "line": 107, "column": 0 }
[ { "pp": "case mpr.tail\nV : Type u\nG : SimpleGraph V\nu v b✝ c✝ : V\na✝ : Relation.ReflTransGen G.Adj u b✝\nha : G.Adj b✝ c✝\nhr : G.Reachable u b✝\n⊢ G.Reachable u c✝", "ppTerm": "?mpr.tail", "assigned": true, "usedConstants": [ "SimpleGraph.Walk", "SimpleGraph.Reachable.trans", ...
[]
exact Reachable.trans hr ⟨Walk.cons ha Walk.nil⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
{ "line": 105, "column": 22 }
{ "line": 105, "column": 70 }
{ "line": 107, "column": 0 }
[ { "pp": "case mpr.tail\nV : Type u\nG : SimpleGraph V\nu v b✝ c✝ : V\na✝ : Relation.ReflTransGen G.Adj u b✝\nha : G.Adj b✝ c✝\nhr : G.Reachable u b✝\n⊢ G.Reachable u c✝", "ppTerm": "?mpr.tail", "assigned": true, "usedConstants": [ "SimpleGraph.Walk", "SimpleGraph.Reachable.trans", ...
[]
exact Reachable.trans hr ⟨Walk.cons ha Walk.nil⟩
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
{ "line": 105, "column": 22 }
{ "line": 105, "column": 70 }
{ "line": 107, "column": 0 }
[ { "pp": "case mpr.tail\nV : Type u\nG : SimpleGraph V\nu v b✝ c✝ : V\na✝ : Relation.ReflTransGen G.Adj u b✝\nha : G.Adj b✝ c✝\nhr : G.Reachable u b✝\n⊢ G.Reachable u c✝", "ppTerm": "?mpr.tail", "assigned": true, "usedConstants": [ "SimpleGraph.Walk", "SimpleGraph.Reachable.trans", ...
[]
exact Reachable.trans hr ⟨Walk.cons ha Walk.nil⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
{ "line": 179, "column": 2 }
{ "line": 181, "column": 26 }
{ "line": 183, "column": 0 }
[ { "pp": "V : Type u\nu v : V\n⊢ (completeGraph V).Reachable u v", "ppTerm": "?m.2", "assigned": true, "usedConstants": [ "SimpleGraph.Walk", "SimpleGraph.completeGraph", "Ne", "Nonempty.intro", "Or.casesOn", "SimpleGraph", "SimpleGraph.Walk.cons", "Boo...
[]
obtain rfl | huv := eq_or_ne u v · simp · exact ⟨.cons huv .nil⟩
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
{ "line": 179, "column": 2 }
{ "line": 181, "column": 26 }
{ "line": 183, "column": 0 }
[ { "pp": "V : Type u\nu v : V\n⊢ (completeGraph V).Reachable u v", "ppTerm": "?m.2", "assigned": true, "usedConstants": [ "SimpleGraph.Walk", "SimpleGraph.completeGraph", "Ne", "Nonempty.intro", "Or.casesOn", "SimpleGraph", "SimpleGraph.Walk.cons", "Boo...
[]
obtain rfl | huv := eq_or_ne u v · simp · exact ⟨.cons huv .nil⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
{ "line": 330, "column": 4 }
{ "line": 330, "column": 50 }
{ "line": 332, "column": 0 }
[ { "pp": "case mpr\nV : Type u\nG : SimpleGraph V\nv : V\nh : ∀ (w : V), G.Reachable v w\n⊢ G.Preconnected ∧ Nonempty V", "ppTerm": "?mpr", "assigned": true, "usedConstants": [ "SimpleGraph.Reachable.symm", "SimpleGraph.Preconnected", "SimpleGraph.Reachable.trans", "Nonempty.i...
[]
exact ⟨fun u w => (h u).symm.trans (h w), ⟨v⟩⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Combinatorics.SetFamily.KruskalKatona
{ "line": 251, "column": 2 }
{ "line": 251, "column": 72 }
{ "line": 252, "column": 2 }
[ { "pp": "case inr\nn r : ℕ\n𝒜 : Finset (Finset (Fin n))\nh : Set.Sized r ↑𝒜\nusable : Finset (Finset (Fin n) × Finset (Fin n)) := {t | UsefulCompression t.1 t.2 ∧ ¬IsCompressed t.1 t.2 𝒜}\nhusable : usable.Nonempty\nU V : Finset (Fin n)\nhUV : (U, V) ∈ univ ∧ UsefulCompression (U, V).1 (U, V).2 ∧ ¬IsCompress...
[ "case inr\nn r : ℕ\n𝒜 : Finset (Finset (Fin n))\nh : Set.Sized r ↑𝒜\nusable : Finset (Finset (Fin n) × Finset (Fin n)) := {t | UsefulCompression t.1 t.2 ∧ ¬IsCompressed t.1 t.2 𝒜}\nhusable : usable.Nonempty\nU V : Finset (Fin n)\nhUV : (U, V) ∈ univ ∧ UsefulCompression (U, V).1 (U, V).2 ∧ ¬IsCompressed (U, V).1 ...
have p1 : #(∂ (𝓒 U V 𝒜)) ≤ #(∂ 𝒜) := compression_improved _ hUV.2.1 h₂
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
{ "line": 658, "column": 35 }
{ "line": 661, "column": 73 }
{ "line": 663, "column": 0 }
[ { "pp": "V : Type u\nc : ⊤.ConnectedComponent\n⊢ c.supp = Set.univ", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Set.ext", "Eq.mpr", "SimpleGraph.connectedComponentMk", "congrArg", "Set.mem_univ._simp_1", "Set.univ", "SimpleGraph.reachable_top._s...
[]
by obtain ⟨w, rfl⟩ := c.exists_rep ext v simpa [-ConnectedComponent.eq] using! ConnectedComponent.sound (G := ⊤)
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
{ "line": 873, "column": 26 }
{ "line": 873, "column": 42 }
{ "line": 873, "column": 42 }
[ { "pp": "V : Type u\nG : SimpleGraph V\ninst✝ : DecidableEq V\nu v w : V\nhb : ∀ (p : G.Walk v w), s(v, w) ∈ p.edges\nc : G.Walk u u\nhc : c.IsTrail\nhe : s(v, w) ∈ c.edges\nhw : w ∈ (c.takeUntil v ⋯).support\nhv : v ∈ c.support\npuw : G.Walk u w := (c.takeUntil v hv).takeUntil w hw\npwv : G.Walk w v := (c.take...
[ "V : Type u\nG : SimpleGraph V\ninst✝ : DecidableEq V\nu v w : V\nhb : ∀ (p : G.Walk v w), s(v, w) ∈ p.edges\nc : G.Walk u u\nhc : c.IsTrail\nhe : s(v, w) ∈ c.edges\nhw : w ∈ (c.takeUntil v ⋯).support\nhv : v ∈ c.support\npuw : G.Walk u w := (c.takeUntil v hv).takeUntil w hw\npwv : G.Walk w v := (c.takeUntil v hv)....
List.mem_reverse
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
{ "line": 884, "column": 4 }
{ "line": 890, "column": 10 }
{ "line": 891, "column": 2 }
[ { "pp": "case mp\nV : Type u\nG : SimpleGraph V\nv w : V\n⊢ (G.Adj v w ∧ ∃ p, s(v, w) ∉ p.edges) → ∃ u p, p.IsCycle ∧ s(v, w) ∈ p.edges", "ppTerm": "?mp", "assigned": true, "usedConstants": [ "Eq.mpr", "SimpleGraph.Adj.symm", "False", "Sym2.Rel", "Sym2.eq._simp_1", ...
[]
rintro ⟨h, p, hp⟩ refine ⟨w, Walk.cons h.symm p.toPath, ?_, ?_⟩ · apply Path.cons_isCycle rw [Sym2.eq_swap] intro h cases hp (Walk.edges_toPath_subset_edges p h) · simp
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
{ "line": 884, "column": 4 }
{ "line": 890, "column": 10 }
{ "line": 891, "column": 2 }
[ { "pp": "case mp\nV : Type u\nG : SimpleGraph V\nv w : V\n⊢ (G.Adj v w ∧ ∃ p, s(v, w) ∉ p.edges) → ∃ u p, p.IsCycle ∧ s(v, w) ∈ p.edges", "ppTerm": "?mp", "assigned": true, "usedConstants": [ "Eq.mpr", "SimpleGraph.Adj.symm", "False", "Sym2.Rel", "Sym2.eq._simp_1", ...
[]
rintro ⟨h, p, hp⟩ refine ⟨w, Walk.cons h.symm p.toPath, ?_, ?_⟩ · apply Path.cons_isCycle rw [Sym2.eq_swap] intro h cases hp (Walk.edges_toPath_subset_edges p h) · simp
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Bipartite
{ "line": 134, "column": 2 }
{ "line": 134, "column": 28 }
{ "line": 136, "column": 0 }
[ { "pp": "V : Type u_1\nw : V\nG : SimpleGraph V\ns t : Set V\nh : G.IsBipartiteWith s t\nhw : w ∈ t\nv : V\n⊢ G.Adj v w → v ∈ s", "ppTerm": "?m.36", "assigned": true, "usedConstants": [ "SimpleGraph.IsBipartiteWith.mem_of_mem_adj'" ], "usedFVars": [ "V", "v", "w", ...
[]
exact h.mem_of_mem_adj' hw
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Combinatorics.SimpleGraph.Bipartite
{ "line": 177, "column": 2 }
{ "line": 177, "column": 28 }
{ "line": 179, "column": 0 }
[ { "pp": "V : Type u_1\nw : V\nG : SimpleGraph V\ns t : Finset V\ninst✝¹ : Fintype ↑(G.neighborSet w)\ninst✝ : DecidableRel G.Adj\nh : G.IsBipartiteWith ↑s ↑t\nhw : w ∈ t\nv : V\n⊢ G.Adj v w → v ∈ s", "ppTerm": "?m.43", "assigned": true, "usedConstants": [ "Finset", "SimpleGraph.IsBiparti...
[]
exact h.mem_of_mem_adj' hw
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Combinatorics.SetFamily.FourFunctions
{ "line": 200, "column": 10 }
{ "line": 200, "column": 19 }
{ "line": 200, "column": 20 }
[ { "pp": "case neg\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 α⦄, ...
[ "case neg\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 ⊆ insert a...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SetFamily.FourFunctions
{ "line": 204, "column": 10 }
{ "line": 204, "column": 19 }
{ "line": 204, "column": 20 }
[ { "pp": "case pos\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 α⦄, ...
[ "case pos\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 ⊆ insert a...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SetFamily.FourFunctions
{ "line": 209, "column": 15 }
{ "line": 209, "column": 24 }
{ "line": 209, "column": 25 }
[ { "pp": "case neg\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 α⦄, ...
[ "case neg\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 ⊆ insert a...
mul_zero,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Combinatorics.SetFamily.FourFunctions
{ "line": 222, "column": 10 }
{ "line": 222, "column": 19 }
{ "line": 222, "column": 20 }
[ { "pp": "case neg\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 α⦄, ...
[ "case neg\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 ⊆ insert a...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph
{ "line": 280, "column": 40 }
{ "line": 283, "column": 69 }
{ "line": 285, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v : V\nw : G.Walk u v\nh : ¬w.Nil\n⊢ w.toSubgraph.Adj w.penultimate v", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "congrArg", "SimpleGraph.Walk.length", "HSub.hSub", "SimpleGraph.Walk.toSubgraph", "Eq.mp", "i...
[]
by rw [not_nil_iff_lt_length] at h simpa [show w.length - 1 + 1 = w.length by lia] using w.toSubgraph_adj_getVert (by lia : w.length - 1 < w.length)
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SetFamily.FourFunctions
{ "line": 226, "column": 10 }
{ "line": 226, "column": 19 }
{ "line": 226, "column": 20 }
[ { "pp": "case pos\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 α⦄, ...
[ "case pos\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 ⊆ insert a...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.CycleGraph
{ "line": 189, "column": 4 }
{ "line": 189, "column": 57 }
{ "line": 191, "column": 0 }
[ { "pp": "case refine_2\nV : Type u_1\nG : SimpleGraph V\nu : V\np : G.Walk u u\nhp : p.IsCycle\nhn : 2 < p.length\nhn' : p.length - 3 + 3 = p.length\nkey : ∀ {i j : Fin p.length}, ↑(j - i) = 1 → G.Adj (p.getVert ↑i) (p.getVert ↑j)\ni j : Fin p.length\nhij : { toFun := fun x ↦ p.getVert ↑x, map_rel' := ⋯ } i = {...
[]
grind [hp.getVert_injOn', Set.InjOn, RelHom.coeFn_mk]
Lean.Elab.Tactic.evalGrind
Lean.Parser.Tactic.grind
Mathlib.Combinatorics.SimpleGraph.CycleGraph
{ "line": 189, "column": 4 }
{ "line": 189, "column": 57 }
{ "line": 191, "column": 0 }
[ { "pp": "case refine_2\nV : Type u_1\nG : SimpleGraph V\nu : V\np : G.Walk u u\nhp : p.IsCycle\nhn : 2 < p.length\nhn' : p.length - 3 + 3 = p.length\nkey : ∀ {i j : Fin p.length}, ↑(j - i) = 1 → G.Adj (p.getVert ↑i) (p.getVert ↑j)\ni j : Fin p.length\nhij : { toFun := fun x ↦ p.getVert ↑x, map_rel' := ⋯ } i = {...
[]
grind [hp.getVert_injOn', Set.InjOn, RelHom.coeFn_mk]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.CycleGraph
{ "line": 189, "column": 4 }
{ "line": 189, "column": 57 }
{ "line": 191, "column": 0 }
[ { "pp": "case refine_2\nV : Type u_1\nG : SimpleGraph V\nu : V\np : G.Walk u u\nhp : p.IsCycle\nhn : 2 < p.length\nhn' : p.length - 3 + 3 = p.length\nkey : ∀ {i j : Fin p.length}, ↑(j - i) = 1 → G.Adj (p.getVert ↑i) (p.getVert ↑j)\ni j : Fin p.length\nhij : { toFun := fun x ↦ p.getVert ↑x, map_rel' := ⋯ } i = {...
[]
grind [hp.getVert_injOn', Set.InjOn, RelHom.coeFn_mk]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SetFamily.FourFunctions
{ "line": 231, "column": 15 }
{ "line": 231, "column": 24 }
{ "line": 231, "column": 25 }
[ { "pp": "case neg\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 α⦄, ...
[ "case neg\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 ⊆ insert a...
mul_zero,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Combinatorics.SimpleGraph.Metric
{ "line": 364, "column": 2 }
{ "line": 364, "column": 51 }
{ "line": 365, "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\n⊢ False", "ppTerm": "?m.47", "assigned": true, "usedConstants": [ "Fal...
[ "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'\n⊢ False" ]
obtain ⟨s, _⟩ := p₂.reachable.exists_path_of_dist
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Combinatorics.SimpleGraph.Bipartite
{ "line": 584, "column": 6 }
{ "line": 584, "column": 49 }
{ "line": 584, "column": 50 }
[ { "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...
[ "case 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 ↑rig...
rcases l with l | l <;> rcases r with r | r
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Combinatorics.SimpleGraph.Bipartite
{ "line": 588, "column": 6 }
{ "line": 588, "column": 49 }
{ "line": 588, "column": 50 }
[ { "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...
[ "case 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 ↑rig...
rcases l with l | l <;> rcases r with r | r
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Combinatorics.SimpleGraph.Sum
{ "line": 276, "column": 2 }
{ "line": 276, "column": 73 }
{ "line": 276, "column": 74 }
[ { "pp": "U : Type u_1\nU' : Type u_2\nV : Type u_3\nV' : Type u_4\nW : Type u_5\nW' : Type u_6\nγ : Type u_7\nG : SimpleGraph V\nH : SimpleGraph W\nI : SimpleGraph U\nG' : SimpleGraph V'\nH' : SimpleGraph W'\nI' : SimpleGraph U'\nv v' : V\nw w' : W\ninst✝³ : DecidableEq V\ninst✝² : DecidableEq W\ninst✝¹ : G.Loc...
[ "case inl\nU : Type u_1\nU' : Type u_2\nV : Type u_3\nV' : Type u_4\nW : Type u_5\nW' : Type u_6\nγ : Type u_7\nG : SimpleGraph V\nH : SimpleGraph W\nI : SimpleGraph U\nG' : SimpleGraph V'\nH' : SimpleGraph W'\nI' : SimpleGraph U'\nv✝ v' : V\nw w' : W\ninst✝³ : DecidableEq V\ninst✝² : DecidableEq W\ninst✝¹ : G.Loca...
rintro (v | w) <;> simp only [neighborSet_sum_inl, neighborSet_sum_inr]
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Combinatorics.SimpleGraph.Bipartite
{ "line": 590, "column": 4 }
{ "line": 590, "column": 47 }
{ "line": 591, "column": 4 }
[ { "pp": "case refine_1\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.IsCompleteBetwe...
[ "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 ↑...
rcases l with l | l <;> rcases r with r | r
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Combinatorics.SimpleGraph.Acyclic
{ "line": 145, "column": 2 }
{ "line": 145, "column": 14 }
{ "line": 146, "column": 2 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nh : ENat.card V ≤ 2\n⊢ G.IsAcyclic", "ppTerm": "?m.6", "assigned": true, "usedConstants": [ "SimpleGraph.Walk.IsCycle", "SimpleGraph.Walk" ], "usedFVars": [ "V" ], "usedGoals": [ { "new": true, "index":...
[ "V : Type u_1\nG : SimpleGraph V\nh : ENat.card V ≤ 2\nv : V\np : G.Walk v v\nhp : p.IsCycle\n⊢ False" ]
intro v p hp
Lean.Elab.Tactic.evalIntro
Lean.Parser.Tactic.intro
Mathlib.Combinatorics.SimpleGraph.Prod
{ "line": 282, "column": 4 }
{ "line": 283, "column": 59 }
{ "line": 284, "column": 4 }
[ { "pp": "case neg\nα : Type u_1\nβ : Type u_2\nG : SimpleGraph α\nH : SimpleGraph β\nx y : α × β\ntop_case : (G □ H).edist x y = ⊤ ↔ G.edist x.1 y.1 = ⊤ ∨ H.edist x.2 y.2 = ⊤\nh : ¬(G □ H).edist x y = ⊤\nrGH : G.edist x.1 y.1 ≠ ⊤ ∧ H.edist x.2 y.2 ≠ ⊤\nwG : G.Walk x.1 y.1\nhwG : ↑wG.length = G.edist x.1 y.1\nwH...
[ "case neg\nα : Type u_1\nβ : Type u_2\nG : SimpleGraph α\nH : SimpleGraph β\nx y : α × β\ntop_case : (G □ H).edist x y = ⊤ ↔ G.edist x.1 y.1 = ⊤ ∨ H.edist x.2 y.2 = ⊤\nh : ¬(G □ H).edist x y = ⊤\nrGH : G.edist x.1 y.1 ≠ ⊤ ∧ H.edist x.2 y.2 ≠ ⊤\nwG : G.Walk x.1 y.1\nhwG : ↑wG.length = G.edist x.1 y.1\nwH : H.Walk x....
have w_len : w_app.length = wG.length + wH.length := by unfold w_app Walk.boxProdLeft Walk.boxProdRight; simp
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Combinatorics.SimpleGraph.AdjMatrix
{ "line": 254, "column": 25 }
{ "line": 254, "column": 35 }
{ "line": 256, "column": 0 }
[ { "pp": "case inl\nα : Type u_1\nV : Type u_2\ninst✝¹ : DecidableEq V\ninst✝ : Ring α\ni j : V\nh✝ : i = j\n⊢ adjMatrix α ⊤ i j = of (fun i j ↦ if i = j then 0 else 1) i j", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "ite_eq_left_of_eq_true", "ite_eq_right_of_eq_false", ...
[]
simp [‹_›]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.SimpleGraph.AdjMatrix
{ "line": 254, "column": 25 }
{ "line": 254, "column": 35 }
{ "line": 256, "column": 0 }
[ { "pp": "case inr\nα : Type u_1\nV : Type u_2\ninst✝¹ : DecidableEq V\ninst✝ : Ring α\ni j : V\nh✝ : i ≠ j\n⊢ adjMatrix α ⊤ i j = of (fun i j ↦ if i = j then 0 else 1) i j", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "ite_eq_left_of_eq_true", "False", "ite_eq_right_of_e...
[]
simp [‹_›]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.SimpleGraph.Acyclic
{ "line": 381, "column": 4 }
{ "line": 381, "column": 45 }
{ "line": 382, "column": 2 }
[ { "pp": "case pos\nV : Type u_1\nG : SimpleGraph V\nu v : V\nhuv : ¬u = v\nhadj : G.Adj u v\n⊢ (G ⊔ edge u v).IsAcyclic ↔ G.IsAcyclic ∧ (G.Reachable u v → u = v ∨ G.Adj u v)", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "_private.Mathlib.Combinatorics.SimpleGraph.Acyclic.0.SimpleGr...
[]
grind [sup_eq_left, edge_le, mem_edgeSet]
Lean.Elab.Tactic.evalGrind
Lean.Parser.Tactic.grind
Mathlib.Combinatorics.SimpleGraph.Acyclic
{ "line": 381, "column": 4 }
{ "line": 381, "column": 45 }
{ "line": 382, "column": 2 }
[ { "pp": "case pos\nV : Type u_1\nG : SimpleGraph V\nu v : V\nhuv : ¬u = v\nhadj : G.Adj u v\n⊢ (G ⊔ edge u v).IsAcyclic ↔ G.IsAcyclic ∧ (G.Reachable u v → u = v ∨ G.Adj u v)", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "_private.Mathlib.Combinatorics.SimpleGraph.Acyclic.0.SimpleGr...
[]
grind [sup_eq_left, edge_le, mem_edgeSet]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Acyclic
{ "line": 381, "column": 4 }
{ "line": 381, "column": 45 }
{ "line": 382, "column": 2 }
[ { "pp": "case pos\nV : Type u_1\nG : SimpleGraph V\nu v : V\nhuv : ¬u = v\nhadj : G.Adj u v\n⊢ (G ⊔ edge u v).IsAcyclic ↔ G.IsAcyclic ∧ (G.Reachable u v → u = v ∨ G.Adj u v)", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "_private.Mathlib.Combinatorics.SimpleGraph.Acyclic.0.SimpleGr...
[]
grind [sup_eq_left, edge_le, mem_edgeSet]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Extremal.Turan
{ "line": 79, "column": 4 }
{ "line": 79, "column": 57 }
{ "line": 80, "column": 4 }
[ { "pp": "case refine_1\nn r : ℕ\nh : r ≠ 0 ∧ r < n\n⊢ ∃ x x_1, ↑x % r = ↑x_1 % r ∧ x ≠ x_1 ∨ ↑x % r ≠ ↑x_1 % r ∧ x = x_1", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Preorder.toLT", "PartialOrder.toPreorder", "Exists", "Fin.mk", "Nat.instMod", "i...
[ "case h\nn r : ℕ\nh : r ≠ 0 ∧ r < n\n⊢ ↑⟨0, ⋯⟩ % r = ↑⟨r, ⋯⟩ % r ∧ ⟨0, ⋯⟩ ≠ ⟨r, ⋯⟩ ∨ ↑⟨0, ⋯⟩ % r ≠ ↑⟨r, ⋯⟩ % r ∧ ⟨0, ⋯⟩ = ⟨r, ⋯⟩" ]
use ⟨0, (Nat.pos_of_ne_zero h.1).trans h.2⟩, ⟨r, h.2⟩
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.Combinatorics.SimpleGraph.Coloring.Constructions
{ "line": 54, "column": 4 }
{ "line": 55, "column": 44 }
{ "line": 57, "column": 0 }
[ { "pp": "case a\nn : ℕ\nh : 2 ≤ n\nhc : (pathGraph n).Colorable (Fintype.card Bool)\n⊢ 2 ≤ (pathGraph n).chromaticNumber", "ppTerm": "?a✝", "assigned": true, "usedConstants": [ "False", "SimpleGraph.two_le_chromaticNumber_of_adj", "congrArg", "SimpleGraph.Adj", "AddMono...
[]
have hadj : (pathGraph n).Adj ⟨0, Nat.zero_lt_of_lt h⟩ ⟨1, h⟩ := by simp [pathGraph_adj] exact two_le_chromaticNumber_of_adj hadj
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Coloring.Constructions
{ "line": 54, "column": 4 }
{ "line": 55, "column": 44 }
{ "line": 57, "column": 0 }
[ { "pp": "case a\nn : ℕ\nh : 2 ≤ n\nhc : (pathGraph n).Colorable (Fintype.card Bool)\n⊢ 2 ≤ (pathGraph n).chromaticNumber", "ppTerm": "?a✝", "assigned": true, "usedConstants": [ "False", "SimpleGraph.two_le_chromaticNumber_of_adj", "congrArg", "SimpleGraph.Adj", "AddMono...
[]
have hadj : (pathGraph n).Adj ⟨0, Nat.zero_lt_of_lt h⟩ ⟨1, h⟩ := by simp [pathGraph_adj] exact two_le_chromaticNumber_of_adj hadj
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Extremal.Turan
{ "line": 339, "column": 39 }
{ "line": 339, "column": 41 }
{ "line": 340, "column": 4 }
[ { "pp": "case inr.a\nn r c : ℕ\nhr : r > 0\nw x : ℕ\nmw : w ∈ {i ∈ range r | c ≡ n + i [MOD r]}\n⊢ x ∈ {i ∈ range r | c ≡ n + i [MOD r]} → w = x", "ppTerm": "?inr.a", "assigned": true, "usedConstants": [ "Nat.instDecidableModEq", "Finset", "Membership.mem", "Finset.range", ...
[ "case inr.a\nn r c : ℕ\nhr : r > 0\nw x : ℕ\nmw : w ∈ {i ∈ range r | c ≡ n + i [MOD r]}\nmx : x ∈ {i ∈ range r | c ≡ n + i [MOD r]}\n⊢ w = x" ]
mx
Lean.Elab.Tactic.evalIntro
ident
Mathlib.Combinatorics.SimpleGraph.Extremal.Turan
{ "line": 352, "column": 11 }
{ "line": 352, "column": 19 }
{ "line": 352, "column": 20 }
[ { "pp": "n r : ℕ\n⊢ 2 * turanNumber (n + r) r = 2 * (turanNumber n r + n * (r - 1) + r.choose 2)", "ppTerm": "?m.41", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "Nat.choose", "HMul.hMul", "congrArg", "HSub.hSub", "id", "...
[ "n r : ℕ\n⊢ 2 * turanNumber (n + r) r = 2 * turanNumber n r + 2 * (n * (r - 1)) + 2 * r.choose 2" ]
mul_add,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Combinatorics.SimpleGraph.Extremal.Turan
{ "line": 365, "column": 4 }
{ "line": 368, "column": 43 }
{ "line": 370, "column": 0 }
[ { "pp": "case e_a.e_a\nn r : ℕ\n⊢ (∑ x ∈ range r, ∑ w ∈ range r, if (n + x) % r ≠ (n + w) % r then 1 else 0) = 2 * r.choose 2", "ppTerm": "?e_a.e_a✝", "assigned": true, "usedConstants": [ "Nat.even_mul_pred_self", "Eq.mpr", "instDecidableNot", "instHSMul", "Nat.choose",...
[]
rw [mul_comm 2, Nat.choose_two_right, Nat.div_two_mul_two_of_even (Nat.even_mul_pred_self r)] conv_rhs => enter [1]; rw [← card_range r] rw [← smul_eq_mul, ← sum_const] congr!; exact sum_ne_add_mod_eq_sub_one
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Extremal.Turan
{ "line": 365, "column": 4 }
{ "line": 368, "column": 43 }
{ "line": 370, "column": 0 }
[ { "pp": "case e_a.e_a\nn r : ℕ\n⊢ (∑ x ∈ range r, ∑ w ∈ range r, if (n + x) % r ≠ (n + w) % r then 1 else 0) = 2 * r.choose 2", "ppTerm": "?e_a.e_a✝", "assigned": true, "usedConstants": [ "Nat.even_mul_pred_self", "Eq.mpr", "instDecidableNot", "instHSMul", "Nat.choose",...
[]
rw [mul_comm 2, Nat.choose_two_right, Nat.div_two_mul_two_of_even (Nat.even_mul_pred_self r)] conv_rhs => enter [1]; rw [← card_range r] rw [← smul_eq_mul, ← sum_const] congr!; exact sum_ne_add_mod_eq_sub_one
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Diam
{ "line": 375, "column": 2 }
{ "line": 375, "column": 51 }
{ "line": 377, "column": 0 }
[ { "pp": "α : Type u_1\nG : SimpleGraph α\ninst✝ : Nontrivial α\n⊢ ∀ (i : α), 1 ≤ G.eccent i", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "False", "instCompleteLinearOrderENat", "instCharZeroENat", "instAddMonoidWithOneENat", "ChainCompletePartialOrder.instO...
[]
simp [Order.one_le_iff_ne_zero, G.eccent_ne_zero]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.SimpleGraph.Extremal.Turan
{ "line": 419, "column": 23 }
{ "line": 419, "column": 31 }
{ "line": 419, "column": 32 }
[ { "pp": "n r : ℕ\n⊢ 2 * r * ((n ^ 2 - (n % r) ^ 2) * (r - 1) / (2 * r) + (n % r).choose 2) ≤ (r - 1) * n ^ 2", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "Nat.choose", "instHDiv", "HMul.hMul", "congrArg", "N...
[ "n r : ℕ\n⊢ 2 * r * ((n ^ 2 - (n % r) ^ 2) * (r - 1) / (2 * r)) + 2 * r * (n % r).choose 2 ≤ (r - 1) * n ^ 2" ]
mul_add,
Mathlib.Tactic.GRewrite.evalGRewriteSeq
null
Mathlib.Data.Set.Card.Arithmetic
{ "line": 158, "column": 46 }
{ "line": 159, "column": 45 }
{ "line": 161, "column": 0 }
[ { "pp": "α : Type u_1\nι : Type u_2\ninst✝ : Finite ι\ns : ι → Set α\n⊢ (⋃ i, s i).encard ≤ ∑ᶠ (i : ι), (s i).encard", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Set.encard", "Iff.of_eq", "congrArg", "Set.mem_univ._simp_1", "Set.univ", "finsum", ...
[]
by simpa using finite_univ.encard_biUnion_le s
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Matching
{ "line": 404, "column": 2 }
{ "line": 404, "column": 8 }
{ "line": 405, "column": 2 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nc : G.ConnectedComponent\nh : G.IsCycles\nv w : V\nhw : v ∈ c.supp ∧ G.Adj v w\n⊢ c.toSimpleGraph.spanningCoe.neighborSet v = G.neighborSet v", "ppTerm": "?m.60", "assigned": true, "usedConstants": [ "Set.ext", "SimpleGraph.neighborSet", "S...
[ "V : Type u_1\nG : SimpleGraph V\nc : G.ConnectedComponent\nh : G.IsCycles\nv w : V\nhw : v ∈ c.supp ∧ G.Adj v w\nw' : V\n⊢ w' ∈ c.toSimpleGraph.spanningCoe.neighborSet v ↔ w' ∈ G.neighborSet v" ]
ext w'
_private.Lean.Elab.Tactic.Ext.0.Lean.Elab.Tactic.Ext.evalExt
Lean.Elab.Tactic.Ext.ext
Mathlib.Combinatorics.SimpleGraph.Matching
{ "line": 466, "column": 2 }
{ "line": 466, "column": 82 }
{ "line": 467, "column": 2 }
[ { "pp": "case neg\nV : Type u_1\nG : SimpleGraph V\ninst✝ : Finite V\nv w : V\nhcyc : G.IsCycles\np : G.Walk v w\nhp : p.IsPath\nn : ℕ\nhnl : n ≤ p.length\nhw : w ≠ p.getVert n\nhadj : G.Adj v (p.getVert n)\nhn : ¬(n = 0 ∨ n = p.length)\ne : ↑(G.neighborSet (p.getVert n)) ≃ ↑(p.toSubgraph.neighborSet (p.getVert...
[ "case neg\nV : Type u_1\nG : SimpleGraph V\ninst✝ : Finite V\nv w : V\nhcyc : G.IsCycles\np : G.Walk v w\nhp : p.IsPath\nn : ℕ\nhnl : n ≤ p.length\nhw : w ≠ p.getVert n\nhadj : G.Adj v (p.getVert n)\nhn : ¬(n = 0 ∨ n = p.length)\ne : ↑(G.neighborSet (p.getVert n)) ≃ ↑(p.toSubgraph.neighborSet (p.getVert n))\n⊢ G.Ad...
rw [Subgraph.adj_comm, Subgraph.adj_iff_of_neighborSet_equiv e (Set.toFinite _)]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Combinatorics.SimpleGraph.LapMatrix
{ "line": 186, "column": 2 }
{ "line": 186, "column": 16 }
{ "line": 187, "column": 2 }
[ { "pp": "case e_a.e_f\nV : Type u_1\nR : Type u_2\ninst✝⁴ : Fintype V\nG : SimpleGraph V\ninst✝³ : DecidableRel G.Adj\ninst✝² : DecidableEq V\ninst✝¹ : Field R\ninst✝ : CharZero R\nx : V → R\ni : V\n⊢ (∑ x_1, if G.Adj i x_1 then x i * x i - x i * x x_1 + (x x_1 * x x_1 - x x_1 * x i) else 0 + 0) =\n ∑ j, if ...
[ "case e_a.e_f.e_f\nV : Type u_1\nR : Type u_2\ninst✝⁴ : Fintype V\nG : SimpleGraph V\ninst✝³ : DecidableRel G.Adj\ninst✝² : DecidableEq V\ninst✝¹ : Field R\ninst✝ : CharZero R\nx : V → R\ni j : V\n⊢ (if G.Adj i j then x i * x i - x i * x j + (x j * x j - x j * x i) else 0 + 0) =\n if G.Adj i j then (x i - x j) ^...
congr 2 with j
Batteries.Tactic._aux_Batteries_Tactic_Congr___macroRules_Batteries_Tactic_congrConfigWith_1
Batteries.Tactic.congrConfigWith
Mathlib.Combinatorics.SimpleGraph.Matching
{ "line": 549, "column": 10 }
{ "line": 549, "column": 16 }
{ "line": 549, "column": 17 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nv : V\ninst✝ : Finite V\nc : G.ConnectedComponent\nh : G.IsCycles\nhv : v ∈ c.supp\nw : V\nhw : w ∈ G.neighborSet v\nu : V\np : G.Walk u u\nhp : p.IsCycle ∧ s(v, w) ∈ p.edges\nhvp : v ∈ p.support\nc' : G.ConnectedComponent\nhc' : p.toSubgraph.verts = c'.supp\n⊢ v ∈ c'.s...
[ "V : Type u_1\nG : SimpleGraph V\nv : V\ninst✝ : Finite V\nc : G.ConnectedComponent\nh : G.IsCycles\nhv : v ∈ c.supp\nw : V\nhw : w ∈ G.neighborSet v\nu : V\np : G.Walk u u\nhp : p.IsCycle ∧ s(v, w) ∈ p.edges\nhvp : v ∈ p.support\nc' : G.ConnectedComponent\nhc' : p.toSubgraph.verts = c'.supp\n⊢ v ∈ p.toSubgraph.ver...
← hc',
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.LapMatrix
{ "line": 216, "column": 2 }
{ "line": 216, "column": 19 }
{ "line": 216, "column": 20 }
[ { "pp": "case cons\nV : Type u_1\nR : Type u_2\ninst✝⁵ : Fintype V\nG : SimpleGraph V\ninst✝⁴ : DecidableRel G.Adj\ninst✝³ : DecidableEq V\ninst✝² : Field R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nx : V → R\nh : ∀ (i j : V), G.Adj i j → x i = x j\ni j u✝ v✝ w✝ : V\nhA : G.Adj u✝ v✝\np✝ : G.Walk ...
[]
| cons hA _ h' =>
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Combinatorics.SimpleGraph.LapMatrix
{ "line": 230, "column": 48 }
{ "line": 232, "column": 31 }
{ "line": 234, "column": 0 }
[ { "pp": "V : Type u_1\ninst✝³ : Fintype V\ninst✝² : DecidableEq V\nG : SimpleGraph V\ninst✝¹ : DecidableRel G.Adj\ninst✝ : DecidableEq G.ConnectedComponent\nc : G.ConnectedComponent\n⊢ (fun i ↦ if G.connectedComponentMk i = c then 1 else 0) ∈ (toLin' (lapMatrix ℝ G)).ker", "ppTerm": "?m.49", "assigned":...
[]
by rw [LinearMap.mem_ker, toLin'_apply, lapMatrix_mulVec_eq_zero_iff_forall_reachable] grind [ConnectedComponent.eq]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Star
{ "line": 94, "column": 2 }
{ "line": 94, "column": 27 }
{ "line": 96, "column": 0 }
[ { "pp": "V : Type u_1\nr : V\n⊢ (SimpleGraph.starGraph r).IsCompleteBetween {r} {r}ᶜ", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "_private.Mathlib.Combinatorics.SimpleGraph.Star.0.SimpleGraph.IsCompleteBetween.starGraph._proof_1_1" ], "usedFVars": [ "V", "r" ...
[]
grind [IsCompleteBetween]
Lean.Elab.Tactic.evalGrind
Lean.Parser.Tactic.grind
Mathlib.Combinatorics.SimpleGraph.Star
{ "line": 94, "column": 2 }
{ "line": 94, "column": 27 }
{ "line": 96, "column": 0 }
[ { "pp": "V : Type u_1\nr : V\n⊢ (SimpleGraph.starGraph r).IsCompleteBetween {r} {r}ᶜ", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "_private.Mathlib.Combinatorics.SimpleGraph.Star.0.SimpleGraph.IsCompleteBetween.starGraph._proof_1_1" ], "usedFVars": [ "V", "r" ...
[]
grind [IsCompleteBetween]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented