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.CategoryTheory.Triangulated.TStructure.ETrunc
{ "line": 470, "column": 11 }
{ "line": 470, "column": 22 }
{ "line": 470, "column": 23 }
[ { "pp": "case top\nC : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Preadditive C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nt : TStructure C\ninst✝ : IsTriangulated C\na b : EInt\nX : C\n⊢ IsIso ((t.eTruncLTGELTSelfToLTGE...
[ "case top\nC : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Preadditive C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nt : TStructure C\ninst✝ : IsTriangulated C\na b : EInt\nX : C\n⊢ IsIso (𝟙 ((t.eTruncGE.obj a).obj X))" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.CategoryTheory.Triangulated.TStructure.ETrunc
{ "line": 479, "column": 11 }
{ "line": 479, "column": 22 }
{ "line": 479, "column": 23 }
[ { "pp": "case bot\nC : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Preadditive C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nt : TStructure C\ninst✝ : IsTriangulated C\na b✝ b : EInt\nX✝ X : C\n⊢ IsIso ((t.eTruncLTGELTSelf...
[ "case bot\nC : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Preadditive C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nt : TStructure C\ninst✝ : IsTriangulated C\na b✝ b : EInt\nX✝ X : C\n⊢ IsIso ((t.eTruncLTι b).app ((t.eTruncL...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.CategoryTheory.Triangulated.TStructure.ETrunc
{ "line": 482, "column": 13 }
{ "line": 482, "column": 61 }
{ "line": 483, "column": 8 }
[ { "pp": "case coe.bot\nC : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Preadditive C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nt : TStructure C\ninst✝ : IsTriangulated C\na✝ b✝ b : EInt\nX✝ X : C\na : ℤ\n⊢ IsIso ((t.eTru...
[ "case coe.bot\nC : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Preadditive C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nt : TStructure C\ninst✝ : IsTriangulated C\na✝ b✝ b : EInt\nX✝ X : C\na : ℤ\n⊢ IsZero ((t.truncGE a).obj ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.CategoryTheory.Triangulated.TStructure.ETrunc
{ "line": 488, "column": 13 }
{ "line": 488, "column": 24 }
{ "line": 488, "column": 25 }
[ { "pp": "case coe.top\nC : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Preadditive C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nt : TStructure C\ninst✝ : IsTriangulated C\na✝ b✝ b : EInt\nX✝ X : C\na : ℤ\n⊢ IsIso ((t.eTru...
[ "case coe.top\nC : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Preadditive C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nt : TStructure C\ninst✝ : IsTriangulated C\na✝ b✝ b : EInt\nX✝ X : C\na : ℤ\n⊢ IsIso (𝟙 ((t.truncGE a).o...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.SmallTripling
{ "line": 44, "column": 12 }
{ "line": 44, "column": 23 }
{ "line": 44, "column": 24 }
[ { "pp": "case base\nG : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nk : ℝ\nm : ℕ\nh : ∀ (ε : Fin 3 → ℤ), (∀ (i : Fin 3), |ε i| = 1) → ↑(#(List.map (fun i ↦ A ^ ε i) (finRange 3)).prod) ≤ k * ↑(#A)\nε : Fin 3 → ℤ\nhε : ∀ (i : Fin 3), |ε i| = 1\n⊢ ↑(#(List.map (fun i ↦ A ^ ε i) (finRange 3))....
[ "case base\nG : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nk : ℝ\nm : ℕ\nh : ∀ (ε : Fin 3 → ℤ), (∀ (i : Fin 3), |ε i| = 1) → ↑(#(List.map (fun i ↦ A ^ ε i) (finRange 3)).prod) ≤ k * ↑(#A)\nε : Fin 3 → ℤ\nhε : ∀ (i : Fin 3), |ε i| = 1\n⊢ ↑(#(List.map (fun i ↦ A ^ ε i) (finRange 3)).prod) ≤ k * ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.SmallTripling
{ "line": 49, "column": 39 }
{ "line": 49, "column": 54 }
{ "line": 49, "column": 55 }
[ { "pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nk : ℝ\nm✝ : ℕ\nh✝ : ∀ (ε : Fin 3 → ℤ), (∀ (i : Fin 3), |ε i| = 1) → ↑(#(List.map (fun i ↦ A ^ ε i) (finRange 3)).prod) ≤ k * ↑(#A)\nm : ℕ\nhm : 3 ≤ m + 1\nih :\n ∀ (ε : Fin (m + 1) → ℤ),\n (∀ (i : Fin (m + 1)), |ε i| = 1) →\n ...
[ "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nk : ℝ\nm✝ : ℕ\nh✝ : ∀ (ε : Fin 3 → ℤ), (∀ (i : Fin 3), |ε i| = 1) → ↑(#(List.map (fun i ↦ A ^ ε i) (finRange 3)).prod) ≤ k * ↑(#A)\nm : ℕ\nhm : 3 ≤ m + 1\nih :\n ∀ (ε : Fin (m + 1) → ℤ),\n (∀ (i : Fin (m + 1)), |ε i| = 1) →\n ↑(#(List.ma...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.RuzsaCovering
{ "line": 72, "column": 64 }
{ "line": 72, "column": 94 }
{ "line": 72, "column": 95 }
[ { "pp": "G : Type u_1\ninst✝ : Group G\nK : ℝ\nA B : Finset G\nhB₀ : (↑B).Nonempty\nhK : ↑(Nat.card ↑(↑A * ↑B)) ≤ K * ↑(Nat.card ↑↑B)\n⊢ ↑(?m.82 * B).card ≤ ?m.80 * ↑B.card", "ppTerm": "?m.84", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "G : Type u_1\ninst✝ : Group G\nK : ℝ\nA B : Finset G\nhB₀ : (↑B).Nonempty\nhK : ↑(Nat.card ↑(↑A * ↑B)) ≤ K * ↑(Nat.card ↑↑B)\n⊢ ↑(?m.82 * B).card ≤ ?m.80 * ↑B.card" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.ApproximateSubgroup
{ "line": 89, "column": 12 }
{ "line": 89, "column": 23 }
{ "line": 89, "column": 24 }
[ { "pp": "G : Type u_1\ninst✝¹ : Group G\nK : ℝ\ninst✝ : DecidableEq G\nA : Finset G\nhA : IsApproximateSubgroup K ↑A\n⊢ ↑(#(A ^ 0)) ≤ K ^ (0 - 1) * ↑(#A)", "ppTerm": "?m.55", "assigned": true, "usedConstants": [ "Eq.mpr", "Nat.instCanonicallyOrderedAdd", "MulOne.toOne", "Real...
[ "G : Type u_1\ninst✝¹ : Group G\nK : ℝ\ninst✝ : DecidableEq G\nA : Finset G\nhA : IsApproximateSubgroup K ↑A\n⊢ A.Nonempty" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.ApproximateSubgroup
{ "line": 102, "column": 28 }
{ "line": 102, "column": 44 }
{ "line": 102, "column": 45 }
[ { "pp": "G : Type u_1\ninst✝¹ : Group G\nK : ℝ\ninst✝ : DecidableEq G\nA : Finset G\nhA : IsApproximateSubgroup K ↑A\n⊢ ↑(#(A * A)) ≤ K * ↑(#A)", "ppTerm": "?m.15", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "G : Type u_1\ninst✝¹ : Group G\nK : ℝ\ninst✝ : DecidableEq G\nA : Finset G\nhA : IsApproximateSubgroup K ↑A\n⊢ ↑(#(A * A)) ≤ K * ↑(#A)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.ApproximateSubgroup
{ "line": 138, "column": 32 }
{ "line": 138, "column": 89 }
{ "line": 138, "column": 90 }
[ { "pp": "G : Type u_1\ninst✝¹ : Group G\nK : ℝ\ninst✝ : DecidableEq G\nA : Finset G\nhA₁ : 1 ∈ A\nhAsymm : A⁻¹ = A\nhA : ↑(#(A ^ 4 * A)) ≤ K ^ 3 * ↑(#A)\nhA₀ : A.Nonempty\nF : Finset G\nhF : ↑(#F) ≤ K ^ 3\nhAF : A ^ 4 ⊆ F * (A / A)\n⊢ (A ^ 2) ^ 2 ⊆ F • A ^ 2", "ppTerm": "?m.188", "assigned": true, "...
[ "G : Type u_1\ninst✝¹ : Group G\nK : ℝ\ninst✝ : DecidableEq G\nA : Finset G\nhA₁ : 1 ∈ A\nhAsymm : A⁻¹ = A\nhA : ↑(#(A ^ 4 * A)) ≤ K ^ 3 * ↑(#A)\nhA₀ : A.Nonempty\nF : Finset G\nhF : ↑(#F) ≤ K ^ 3\nhAF : A ^ 4 ⊆ F * (A / A)\n⊢ A * (A * (A * A)) ⊆ F * (A * A)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.SmallTripling
{ "line": 92, "column": 2 }
{ "line": 92, "column": 25 }
{ "line": 92, "column": 26 }
[ { "pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\n⊢ ↑(#(A⁻¹ * A⁻¹ * A)⁻¹) ≤ K ^ 2 * ↑(#A)", "ppTerm": "?m.56", "assigned": true, "usedConstants": [ "Eq.mpr", "Real.instLE", "Semigroup.toMul", "Real", "DivI...
[ "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\n⊢ ↑(#(A⁻¹ * (A * A))) ≤ K ^ 2 * ↑(#A)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.SmallTripling
{ "line": 96, "column": 2 }
{ "line": 96, "column": 13 }
{ "line": 96, "column": 14 }
[ { "pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\n⊢ ↑(#(A * A⁻¹ * A⁻¹)) ≤ K ^ 2 * ↑(#A)", "ppTerm": "?m.51", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\n⊢ ↑(#(A * A⁻¹ * A⁻¹)) ≤ K ^ 2 * ↑(#A)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.SmallTripling
{ "line": 101, "column": 2 }
{ "line": 101, "column": 25 }
{ "line": 101, "column": 26 }
[ { "pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\n⊢ ↑(#(A * A * A⁻¹)⁻¹) ≤ K ^ 2 * ↑(#A)", "ppTerm": "?m.54", "assigned": true, "usedConstants": [ "Eq.mpr", "Real.instLE", "Semigroup.toMul", "Real", "DivInv...
[ "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\n⊢ ↑(#(A * (A⁻¹ * A⁻¹))) ≤ K ^ 2 * ↑(#A)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.SmallTripling
{ "line": 110, "column": 17 }
{ "line": 110, "column": 28 }
{ "line": 110, "column": 29 }
[ { "pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\nhA₀ : A.Nonempty\n⊢ #A * #(A * A⁻¹ * A) ≤ #(A * (A * A⁻¹)) * #(A * A)", "ppTerm": "?m.218", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\nhA₀ : A.Nonempty\n⊢ #A * #(A * A⁻¹ * A) ≤ #(A * (A * A⁻¹)) * #(A * A)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.SmallTripling
{ "line": 123, "column": 2 }
{ "line": 123, "column": 25 }
{ "line": 123, "column": 26 }
[ { "pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\n⊢ ↑(#(A⁻¹ * A * A⁻¹)⁻¹) ≤ K ^ 3 * ↑(#A)", "ppTerm": "?m.56", "assigned": true, "usedConstants": [ "Eq.mpr", "Real.instLE", "Semigroup.toMul", "Real", "DivI...
[ "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\n⊢ ↑(#(A * (A⁻¹ * A))) ≤ K ^ 3 * ↑(#A)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.SmallTripling
{ "line": 142, "column": 37 }
{ "line": 142, "column": 52 }
{ "line": 142, "column": 53 }
[ { "pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nm : ℕ\nhm : 3 ≤ m\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\nε : Fin m → ℤ\nhε : ∀ (i : Fin m), |ε i| = 1\nhm₀ : m ≠ 0\ni : Fin m\nh : ε i = 0\n⊢ False", "ppTerm": "?m.77", "assigned": false, "usedConstants": [], "usedFVars...
[ "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nm : ℕ\nhm : 3 ≤ m\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\nε : Fin m → ℤ\nhε : ∀ (i : Fin m), |ε i| = 1\nhm₀ : m ≠ 0\ni : Fin m\nh : ε i = 0\n⊢ False" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.ApproximateSubgroup
{ "line": 208, "column": 6 }
{ "line": 208, "column": 17 }
{ "line": 208, "column": 18 }
[ { "pp": "G : Type u_1\ninst✝ : Group G\nA : Set G\nhA : IsApproximateSubgroup 1 A\nx : G\nhx : A * A ⊆ x • A\nhx' : x⁻¹ • (A * A) ⊆ A\n⊢ x⁻¹ ∈ A", "ppTerm": "?m.195", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "G : Type u_1\ninst✝ : Group G\nA : Set G\nhA : IsApproximateSubgroup 1 A\nx : G\nhx : A * A ⊆ x • A\nhx' : x⁻¹ • (A * A) ⊆ A\n⊢ x⁻¹ ∈ A" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.ApproximateSubgroup
{ "line": 211, "column": 6 }
{ "line": 211, "column": 17 }
{ "line": 211, "column": 18 }
[ { "pp": "G : Type u_1\ninst✝ : Group G\nA : Set G\nhA : IsApproximateSubgroup 1 A\nx : G\nhx : A * A ⊆ x • A\nhx' : x⁻¹ • (A * A) ⊆ A\nhx_inv : x⁻¹ ∈ A\n⊢ x * x ∈ A⁻¹", "ppTerm": "?m.242", "assigned": true, "usedConstants": [ "Eq.mpr", "DivInvMonoid.toInv", "HMul.hMul", "DivI...
[ "G : Type u_1\ninst✝ : Group G\nA : Set G\nhA : IsApproximateSubgroup 1 A\nx : G\nhx : A * A ⊆ x • A\nhx' : x⁻¹ • (A * A) ⊆ A\nhx_inv : x⁻¹ ∈ A\n⊢ x⁻¹ * x⁻¹ ∈ A" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.ApproximateSubgroup
{ "line": 212, "column": 9 }
{ "line": 215, "column": 18 }
{ "line": 216, "column": 2 }
[]
[]
A * A ⊆ x • A := by assumption _ = x⁻¹ • (x * x) • A := by simp [smul_smul] _ ⊆ x⁻¹ • (A • A) := smul_set_mono (smul_set_subset_smul hx_sq) _ ⊆ A := hx'
Lean.Elab.Tactic._aux_Mathlib_Tactic_Widget_Calc___elabRules_Lean_calcTactic_1
Lean.calcSteps
Mathlib.GroupTheory.Order.Min
{ "line": 64, "column": 4 }
{ "line": 64, "column": 15 }
{ "line": 64, "column": 16 }
[ { "pp": "case refine_2\nG : Type u_1\ninst✝ : Group G\nn : ℕ∞\nh : ∀ ⦃s : Subgroup G⦄, s ≠ ⊥ → (↑s).Finite → n ≤ ↑(Nat.card ↥s)\na : G\nha : a ≠ 1\nha' : IsOfFinOrder a\n⊢ n ≤ ↑(orderOf a)", "ppTerm": "?refine_2", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "case refine_2\nG : Type u_1\ninst✝ : Group G\nn : ℕ∞\nh : ∀ ⦃s : Subgroup G⦄, s ≠ ⊥ → (↑s).Finite → n ≤ ↑(Nat.card ↥s)\na : G\nha : a ≠ 1\nha' : IsOfFinOrder a\n⊢ n ≤ ↑(orderOf a)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.GroupTheory.Order.Min
{ "line": 72, "column": 2 }
{ "line": 72, "column": 24 }
{ "line": 72, "column": 25 }
[ { "pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : IsMulTorsionFree G\n⊢ minOrder G = ⊤", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "iInf_eq_top._simp_1", "Eq.mpr", "MulOne.toOne", "False", "iInf", "instCompleteLinearOrderENat", "ENat.instNatCast"...
[ "G : Type u_1\ninst✝¹ : Group G\ninst✝ : IsMulTorsionFree G\n⊢ ∀ (i : G), ¬i = 1 → ¬IsOfFinOrder i" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.CauchyDavenport
{ "line": 131, "column": 4 }
{ "line": 131, "column": 56 }
{ "line": 132, "column": 6 }
[ { "pp": "case inl\nα : Type u_2\ninst✝¹ : Group α\ninst✝ : DecidableEq α\ns t : Finset α\nhs : s.Nonempty\nht : t.Nonempty\nih :\n ∀ (a b : Finset α),\n a.Nonempty → b.Nonempty → DevosMulRel (a, b) (s, t) → minOrder α ≤ ↑(#(a * b)) ∨ #a + #b ≤ #(a * b) + 1\nhts : #t < #s\n⊢ minOrder α ≤ ↑(#(s * t)) ∨ #s + #...
[ "case inl\nα : Type u_2\ninst✝¹ : Group α\ninst✝ : DecidableEq α\ns t : Finset α\nhs : s.Nonempty\nht : t.Nonempty\nih :\n ∀ (a b : Finset α),\n a.Nonempty → b.Nonempty → DevosMulRel (a, b) (s, t) → minOrder α ≤ ↑(#(a * b)) ∨ #a + #b ≤ #(a * b) + 1\nhts : #t < #s\n⊢ minOrder α ≤ ↑(#(s * t)) ∨ #s + #t ≤ #(s * t)...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.SmallTripling
{ "line": 185, "column": 44 }
{ "line": 185, "column": 82 }
{ "line": 185, "column": 83 }
[ { "pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nm : ℕ\nhm : 3 ≤ m\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\nhAsymm : A⁻¹ = A\nthis : ∀ (ε : ℤ), |ε| = 1 → A ^ ε = A\nδ : Fin 3 → ℤ\nhδ : ∀ (i : Fin 3), |δ i| = 1\n⊢ ↑(#(List.map (fun i ↦ A ^ δ i) (finRange 3)).prod) ≤ K * ↑(#A)", "ppT...
[ "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nm : ℕ\nhm : 3 ≤ m\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\nhAsymm : A⁻¹ = A\nthis : ∀ (ε : ℤ), |ε| = 1 → A ^ ε = A\nδ : Fin 3 → ℤ\nhδ : ∀ (i : Fin 3), |δ i| = 1\n⊢ ↑(#(A * (A * A))) ≤ K * ↑(#A)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.Convolution
{ "line": 47, "column": 2 }
{ "line": 47, "column": 13 }
{ "line": 47, "column": 14 }
[ { "pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : DecidableEq G\nA B : Finset G\nx : G\n⊢ #(A ∩ x •> B) = A.convolution B⁻¹ x", "ppTerm": "?m.14", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "G : Type u_1\ninst✝¹ : Group G\ninst✝ : DecidableEq G\nA B : Finset G\nx : G\n⊢ #(A ∩ x •> B) = A.convolution B⁻¹ x" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.Convolution
{ "line": 51, "column": 2 }
{ "line": 51, "column": 13 }
{ "line": 51, "column": 14 }
[ { "pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : DecidableEq G\nA B : Finset G\nx : G\n⊢ #(x •> A ∩ B) = A.convolution B⁻¹ x⁻¹", "ppTerm": "?m.16", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "G : Type u_1\ninst✝¹ : Group G\ninst✝ : DecidableEq G\nA B : Finset G\nx : G\n⊢ #(x •> A ∩ B) = A.convolution B⁻¹ x⁻¹" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.SmallTripling
{ "line": 179, "column": 35 }
{ "line": 185, "column": 98 }
{ "line": 187, "column": 0 }
[ { "pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nK : ℝ\nm : ℕ\nhm : 3 ≤ m\nhA : ↑(#(A ^ 3)) ≤ K * ↑(#A)\nhAsymm : A⁻¹ = A\n⊢ ↑(#(A ^ m)) ≤ K ^ (m - 2) * ↑(#A)", "ppTerm": "?m.49", "assigned": true, "usedConstants": [ "AddGroup.toSubtractionMonoid", "Eq.mpr", ...
[]
by have (ε : ℤ) (hε : |ε| = 1) : A ^ ε = A := by obtain rfl | rfl := eq_or_eq_neg_of_abs_eq hε <;> simp [hAsymm] calc (#(A ^ m) : ℝ) = #((finRange m).map fun i ↦ A ^ 1).prod := by simp _ ≤ K ^ (m - 2) * #A := inductive_claim_mul hm (fun δ hδ ↦ by simpa [this _ (hδ _), pow_succ'] using hA) _ (by si...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.Additive.CauchyDavenport
{ "line": 176, "column": 4 }
{ "line": 177, "column": 96 }
{ "line": 178, "column": 2 }
[ { "pp": "case inr.inr.inr.inr.inl\nα : Type u_2\ninst✝¹ : Group α\ninst✝ : DecidableEq α\ns t : Finset α\nhs : s.Nonempty\nht : t.Nonempty\nih :\n ∀ (a b : Finset α),\n a.Nonempty → b.Nonempty → DevosMulRel (a, b) (s, t) → minOrder α ≤ ↑(#(a * b)) ∨ #a + #b ≤ #(a * b) + 1\nhst : #s ≤ #t\na : α\nha : a ∈ ↑s\...
[]
exact (ih _ _ hgs (hgt.mono inter_subset_union) <| devosMulRel_of_le_of_le aux1 hstg hsg).imp (WithTop.coe_le_coe.2 aux1).trans' fun h ↦ hstg.trans <| h.trans <| add_le_add_left aux1 _
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Combinatorics.Additive.CauchyDavenport
{ "line": 176, "column": 4 }
{ "line": 177, "column": 96 }
{ "line": 178, "column": 2 }
[ { "pp": "case inr.inr.inr.inr.inl\nα : Type u_2\ninst✝¹ : Group α\ninst✝ : DecidableEq α\ns t : Finset α\nhs : s.Nonempty\nht : t.Nonempty\nih :\n ∀ (a b : Finset α),\n a.Nonempty → b.Nonempty → DevosMulRel (a, b) (s, t) → minOrder α ≤ ↑(#(a * b)) ∨ #a + #b ≤ #(a * b) + 1\nhst : #s ≤ #t\na : α\nha : a ∈ ↑s\...
[]
exact (ih _ _ hgs (hgt.mono inter_subset_union) <| devosMulRel_of_le_of_le aux1 hstg hsg).imp (WithTop.coe_le_coe.2 aux1).trans' fun h ↦ hstg.trans <| h.trans <| add_le_add_left aux1 _
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Additive.CauchyDavenport
{ "line": 176, "column": 4 }
{ "line": 177, "column": 96 }
{ "line": 178, "column": 2 }
[ { "pp": "case inr.inr.inr.inr.inl\nα : Type u_2\ninst✝¹ : Group α\ninst✝ : DecidableEq α\ns t : Finset α\nhs : s.Nonempty\nht : t.Nonempty\nih :\n ∀ (a b : Finset α),\n a.Nonempty → b.Nonempty → DevosMulRel (a, b) (s, t) → minOrder α ≤ ↑(#(a * b)) ∨ #a + #b ≤ #(a * b) + 1\nhst : #s ≤ #t\na : α\nha : a ∈ ↑s\...
[]
exact (ih _ _ hgs (hgt.mono inter_subset_union) <| devosMulRel_of_le_of_le aux1 hstg hsg).imp (WithTop.coe_le_coe.2 aux1).trans' fun h ↦ hstg.trans <| h.trans <| add_le_add_left aux1 _
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Additive.Corner.Defs
{ "line": 69, "column": 32 }
{ "line": 69, "column": 43 }
{ "line": 69, "column": 44 }
[ { "pp": "G : Type u_1\ninst✝ : AddCommMonoid G\nA : Set (G × G)\nhA : A.Subsingleton\n_x₁ _y₁ _x₂ _y₂ : G\nhxyd : IsCorner A _x₁ _y₁ _x₂ _y₂\n⊢ _x₁ = _x₂", "ppTerm": "?m.9", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "G : Type u_1\ninst✝ : AddCommMonoid G\nA : Set (G × G)\nhA : A.Subsingleton\n_x₁ _y₁ _x₂ _y₂ : G\nhxyd : IsCorner A _x₁ _y₁ _x₂ _y₂\n⊢ _x₁ = _x₂" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.CauchyDavenport
{ "line": 191, "column": 2 }
{ "line": 192, "column": 9 }
{ "line": 192, "column": 10 }
[ { "pp": "G : Type u_1\ninst✝² : DecidableEq G\ninst✝¹ : Group G\ninst✝ : IsMulTorsionFree G\ns t : Finset G\nhs : s.Nonempty\nht : t.Nonempty\n⊢ #s + #t - 1 ≤ #(s * t)", "ppTerm": "?m.23", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "G : Type u_1\ninst✝² : DecidableEq G\ninst✝¹ : Group G\ninst✝ : IsMulTorsionFree G\ns t : Finset G\nhs : s.Nonempty\nht : t.Nonempty\n⊢ #s + #t - 1 ≤ #(s * t)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.Additive.CauchyDavenport
{ "line": 200, "column": 2 }
{ "line": 201, "column": 9 }
{ "line": 201, "column": 10 }
[ { "pp": "p : ℕ\nhp : Nat.Prime p\ns t : Finset (ZMod p)\nhs : s.Nonempty\nht : t.Nonempty\n⊢ min p (#s + #t - 1) ≤ #(s + t)", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "Eq.mpr", "ZMod.commRing", "CommSemiring.toSemiring", "Finset", "PartialOrder.toPreorder...
[ "p : ℕ\nhp : Nat.Prime p\ns t : Finset (ZMod p)\nhs : s.Nonempty\nht : t.Nonempty\n⊢ p ≤ #(s + t) ∨ #s + #t - 1 ≤ #(s + t)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Order.Partition.Finpartition
{ "line": 296, "column": 6 }
{ "line": 296, "column": 34 }
{ "line": 296, "column": 35 }
[ { "pp": "case pos\nα : Type u_1\ninst✝² : Lattice α\ninst✝¹ : OrderBot α\na : α\nP✝ : Finpartition a\ninst✝ : Decidable (a = ⊥)\nP : Finpartition a\nh : a = ⊥\nx : α\nhx : x ∈ P.parts\n⊢ ∃ c ∈ ((Finpartition.empty α).copy ⋯).parts, x ≤ c", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ ...
[ "case pos\nα : Type u_1\ninst✝² : Lattice α\ninst✝¹ : OrderBot α\na : α\nP✝ : Finpartition a\ninst✝ : Decidable (a = ⊥)\nP : Finpartition a\nh : a = ⊥\nx : α\nhx : x ∈ P.parts\n⊢ False" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Order.Partition.Finpartition
{ "line": 362, "column": 10 }
{ "line": 362, "column": 56 }
{ "line": 362, "column": 57 }
[ { "pp": "case a\nα : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝¹ : Lattice (Subtype ...
[ "case a\nα : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝¹ : Lattice (Subtype Pr) := Subty...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Order.Partition.Finpartition
{ "line": 363, "column": 10 }
{ "line": 363, "column": 21 }
{ "line": 363, "column": 22 }
[ { "pp": "case a\nα : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝¹ : Lattice (Subtype ...
[ "case a\nα : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝¹ : Lattice (Subtype Pr) := Subty...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Order.Partition.Finpartition
{ "line": 364, "column": 10 }
{ "line": 364, "column": 34 }
{ "line": 364, "column": 35 }
[ { "pp": "case a\nα : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝¹ : Lattice (Subtype ...
[ "case a\nα : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝¹ : Lattice (Subtype Pr) := Subty...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Order.Partition.Finpartition
{ "line": 367, "column": 6 }
{ "line": 367, "column": 61 }
{ "line": 367, "column": 62 }
[ { "pp": "α : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝ : Lattice (Subtype Pr) := Su...
[ "α : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝ : Lattice (Subtype Pr) := Subtype.lattic...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Order.Partition.Finpartition
{ "line": 368, "column": 21 }
{ "line": 368, "column": 70 }
{ "line": 368, "column": 71 }
[ { "pp": "α : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝ : Lattice (Subtype Pr) := Su...
[ "α : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝ : Lattice (Subtype Pr) := Subtype.lattic...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Order.Partition.Finpartition
{ "line": 442, "column": 4 }
{ "line": 443, "column": 11 }
{ "line": 443, "column": 12 }
[ { "pp": "α : Type u_1\ninst✝² : DistribLattice α\ninst✝¹ : OrderBot α\ninst✝ : DecidableEq α\na b c : α\nP : Finpartition a\nhb : b ≤ a\npx : α\nhpx : px ∈ ↑P.parts\nright✝¹ : ¬px ⊓ b = ⊥\npy : α\nhpy : py ∈ ↑P.parts\nhxy : px ⊓ b ≠ py ⊓ b\nright✝ : ¬py ⊓ b = ⊥\n⊢ (Disjoint on id) (px ⊓ b) (py ⊓ b)", "ppTer...
[ "α : Type u_1\ninst✝² : DistribLattice α\ninst✝¹ : OrderBot α\ninst✝ : DecidableEq α\na b c : α\nP : Finpartition a\nhb : b ≤ a\npx : α\nhpx : px ∈ ↑P.parts\nright✝¹ : ¬px ⊓ b = ⊥\npy : α\nhpy : py ∈ ↑P.parts\nhxy : px ⊓ b ≠ py ⊓ b\nright✝ : ¬py ⊓ b = ⊥\n⊢ Disjoint (px ⊓ b) (py ⊓ b)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Equitabilise
{ "line": 53, "column": 31 }
{ "line": 53, "column": 70 }
{ "line": 53, "column": 71 }
[ { "pp": "α : Type u_1\ninst✝ : DecidableEq α\ns : Finset α\na b : ℕ\nP : Finpartition s\nhs : a * 0 + b * (0 + 1) = #s\n⊢ #({i ∈ ⊥.parts | #i = 0 + 1}) = b", "ppTerm": "?m.127", "assigned": true, "usedConstants": [ "Eq.mpr", "Iff.of_eq", "congrArg", "Finset", "AddMonoid...
[ "α : Type u_1\ninst✝ : DecidableEq α\ns : Finset α\na b : ℕ\nP : Finpartition s\nhs : a * 0 + b * (0 + 1) = #s\n⊢ #s = b" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Bound
{ "line": 217, "column": 4 }
{ "line": 217, "column": 26 }
{ "line": 217, "column": 27 }
[ { "pp": "case inl\nι : Type u_2\n𝕜 : Type u_3\ninst✝² : Field 𝕜\ninst✝¹ : LinearOrder 𝕜\ninst✝ : IsStrictOrderedRing 𝕜\ns t : Finset ι\nx : 𝕜\nhst : s ⊆ t\nf : ι → 𝕜\nd : 𝕜\nhx : 0 ≤ x\nhs : x ≤ |(∑ i ∈ s, f i) / ↑(#s) - (∑ i ∈ t, f i) / ↑(#t)|\nht : d ≤ ((∑ i ∈ t, f i) / ↑(#t)) ^ 2\nhscard : 0 = ↑(#s)\n...
[ "case inl\nι : Type u_2\n𝕜 : Type u_3\ninst✝² : Field 𝕜\ninst✝¹ : LinearOrder 𝕜\ninst✝ : IsStrictOrderedRing 𝕜\ns t : Finset ι\nx : 𝕜\nhst : s ⊆ t\nf : ι → 𝕜\nd : 𝕜\nhx : 0 ≤ x\nhs : x ≤ |(∑ i ∈ s, f i) / ↑(#s) - (∑ i ∈ t, f i) / ↑(#t)|\nht : d ≤ ((∑ i ∈ t, f i) / ↑(#t)) ^ 2\nhscard : 0 = ↑(#s)\n⊢ d ≤ (∑ i ∈...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Order.Partition.Finpartition
{ "line": 640, "column": 4 }
{ "line": 640, "column": 69 }
{ "line": 640, "column": 70 }
[ { "pp": "case neg\nα : Type u_1\ninst✝¹ : GeneralizedBooleanAlgebra α\ninst✝ : DecidableEq α\na b : α\nP : Finpartition a\nhab : a ≤ b\np : α\nhp : p ∈ (P.extendOfLE hab).parts\nh : ¬a < b\n⊢ p ∈ P.parts", "ppTerm": "?neg✝", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals...
[ "case neg\nα : Type u_1\ninst✝¹ : GeneralizedBooleanAlgebra α\ninst✝ : DecidableEq α\na b : α\nP : Finpartition a\nhab : a ≤ b\np : α\nhp : p ∈ (P.extendOfLE hab).parts\nh : ¬a < b\n⊢ p ∈ P.parts" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Order.Partition.Finpartition
{ "line": 835, "column": 4 }
{ "line": 841, "column": 96 }
{ "line": 842, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝¹ : DecidableEq α\ns✝ t u : Finset α\nP : Finpartition s✝\na : α\ns : Setoid α\nx : Finset α\ninst✝ : DecidableRel ⇑s\n⊢ (image (fun a ↦ {b ∈ x | s a b}) x).SupIndep id", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "Eq.mpr", "_private.Mathlib.Order...
[ "α : Type u_1\ninst✝¹ : DecidableEq α\ns✝ t u : Finset α\nP : Finpartition s✝\na : α\ns : Setoid α\nx : Finset α\ninst✝ : DecidableRel ⇑s\n⊢ ∀ (a b c d : α), s a d → s b d → (s a c ↔ s b c)" ]
suffices ∀ (a b c d : α), s a d → s b d → (s a c ↔ s b c) by simp only [supIndep_iff_pairwiseDisjoint, Set.PairwiseDisjoint, Set.Pairwise, coe_image, Set.mem_image, mem_coe, ne_eq, onFun, id_eq, disjoint_iff_ne, forall_mem_not_eq, forall_exists_index, and_imp, forall_apply_eq_imp_iff₂, mem_filter,...
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticSuffices__1
Lean.Parser.Tactic.tacticSuffices_
Mathlib.Order.Partition.Finpartition
{ "line": 854, "column": 2 }
{ "line": 855, "column": 50 }
{ "line": 856, "column": 2 }
[ { "pp": "α : Type u_1\ninst✝¹ : DecidableEq α\na : α\ns : Setoid α\nx : Finset α\ninst✝ : DecidableRel ⇑s\nb : α\n⊢ b ∈ (ofSetSetoid s x).part a ↔ a ∈ x ∧ b ∈ x ∧ s a b", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Eq.mpr", "Finset.mem_filter._simp_1", "congrArg", ...
[ "α : Type u_1\ninst✝¹ : DecidableEq α\na : α\ns : Setoid α\nx : Finset α\ninst✝ : DecidableRel ⇑s\nb : α\n⊢ (∃ a₁ ∈ x, (b ∈ x ∧ s a₁ b) ∧ a ∈ x ∧ s a₁ a) ↔ a ∈ x ∧ b ∈ x ∧ s a b" ]
suffices (∃ a₁ ∈ x, (b ∈ x ∧ s a₁ b) ∧ a ∈ x ∧ s a₁ a) ↔ a ∈ x ∧ b ∈ x ∧ s a b by simpa [mem_part_iff_exists, ofSetSetoid_parts]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticSuffices__1
Lean.Parser.Tactic.tacticSuffices_
Mathlib.Combinatorics.SimpleGraph.Density
{ "line": 205, "column": 4 }
{ "line": 205, "column": 96 }
{ "line": 205, "column": 97 }
[ { "pp": "case inl\n𝕜 : Type u_1\nα : Type u_4\nβ : Type u_5\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nr : α → β → Prop\ninst✝ : (a : α) → DecidablePred (r a)\ns₁ : Finset α\nt₁ t₂ : Finset β\nδ : 𝕜\nht : t₂ ⊆ t₁\nhδ₀ : 0 ≤ δ\nhδ₁ : 0 < 1 - δ\nht₂ : (1 - δ) * ↑(#t₁) ≤ ↑(#t₂)...
[ "case inl\n𝕜 : Type u_1\nα : Type u_4\nβ : Type u_5\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nr : α → β → Prop\ninst✝ : (a : α) → DecidablePred (r a)\ns₁ : Finset α\nt₁ t₂ : Finset β\nδ : 𝕜\nht : t₂ ⊆ t₁\nhδ₀ : 0 ≤ δ\nhδ₁ : 0 < 1 - δ\nht₂ : (1 - δ) * ↑(#t₁) ≤ ↑(#t₂)\nhδ' : 0 ≤ ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Uniform
{ "line": 100, "column": 8 }
{ "line": 100, "column": 19 }
{ "line": 100, "column": 20 }
[ { "pp": "α : Type u_1\n𝕜 : Type u_2\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : 𝕜\ns t : Finset α\nhG : G.IsUniform ε s t\nhε : ε ≤ 0\n⊢ ↑(#s) * ε ≤ ↑(#∅)", "ppTerm": "?m.43", "assigned": true, "usedConstants": [ ...
[ "α : Type u_1\n𝕜 : Type u_2\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : 𝕜\ns t : Finset α\nhG : G.IsUniform ε s t\nhε : ε ≤ 0\n⊢ ↑(#s) * ε ≤ 0" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Uniform
{ "line": 101, "column": 8 }
{ "line": 101, "column": 19 }
{ "line": 101, "column": 20 }
[ { "pp": "α : Type u_1\n𝕜 : Type u_2\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : 𝕜\ns t : Finset α\nhG : G.IsUniform ε s t\nhε : ε ≤ 0\n⊢ ↑(#t) * ε ≤ ↑(#∅)", "ppTerm": "?m.44", "assigned": true, "usedConstants": [ ...
[ "α : Type u_1\n𝕜 : Type u_2\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : 𝕜\ns t : Finset α\nhG : G.IsUniform ε s t\nhε : ε ≤ 0\n⊢ ↑(#t) * ε ≤ 0" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Density
{ "line": 208, "column": 4 }
{ "line": 208, "column": 96 }
{ "line": 208, "column": 97 }
[ { "pp": "case inr.inl\n𝕜 : Type u_1\nα : Type u_4\nβ : Type u_5\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nr : α → β → Prop\ninst✝ : (a : α) → DecidablePred (r a)\ns₁ s₂ : Finset α\nt₁ : Finset β\nδ : 𝕜\nhs : s₂ ⊆ s₁\nhδ₀ : 0 ≤ δ\nhδ₁ : 0 < 1 - δ\nhs₂ : (1 - δ) * ↑(#s₁) ≤ ↑(...
[ "case inr.inl\n𝕜 : Type u_1\nα : Type u_4\nβ : Type u_5\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nr : α → β → Prop\ninst✝ : (a : α) → DecidablePred (r a)\ns₁ s₂ : Finset α\nt₁ : Finset β\nδ : 𝕜\nhs : s₂ ⊆ s₁\nhδ₀ : 0 ≤ δ\nhδ₁ : 0 < 1 - δ\nhs₂ : (1 - δ) * ↑(#s₁) ≤ ↑(#s₂)\nhδ' : ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Uniform
{ "line": 107, "column": 29 }
{ "line": 107, "column": 40 }
{ "line": 107, "column": 41 }
[ { "pp": "α : Type u_1\n𝕜 : Type u_2\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : 𝕜\na b : α\nhε : 0 < ε\nt' : Finset α\nht' : t' ⊆ {b}\nht : ε ≤ ↑(#t')\nhs' : ∅ ⊆ {a}\nhs : ε ≤ ↑(#∅)\n⊢ ε ≤ 0", "ppTerm": "?m.129", "ass...
[ "α : Type u_1\n𝕜 : Type u_2\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : 𝕜\na b : α\nhε : 0 < ε\nt' : Finset α\nht' : t' ⊆ {b}\nht : ε ≤ ↑(#t')\nhs' : ∅ ⊆ {a}\nhs : ε ≤ ↑(#∅)\n⊢ ε ≤ 0" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Uniform
{ "line": 110, "column": 29 }
{ "line": 110, "column": 40 }
{ "line": 110, "column": 41 }
[ { "pp": "α : Type u_1\n𝕜 : Type u_2\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : 𝕜\na b : α\nhε : 0 < ε\nhs' : {a} ⊆ {a}\nhs : ε ≤ ↑(#{a})\nht' : ∅ ⊆ {b}\nht : ε ≤ ↑(#∅)\n⊢ ε ≤ 0", "ppTerm": "?m.186", "assigned": false...
[ "α : Type u_1\n𝕜 : Type u_2\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : 𝕜\na b : α\nhε : 0 < ε\nhs' : {a} ⊆ {a}\nhs : ε ≤ ↑(#{a})\nht' : ∅ ⊆ {b}\nht : ε ≤ ↑(#∅)\n⊢ ε ≤ 0" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Uniform
{ "line": 338, "column": 4 }
{ "line": 338, "column": 15 }
{ "line": 338, "column": 16 }
[ { "pp": "case inr.calc_1\nα : Type u_1\n𝕜 : Type u_2\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\ninst✝ : DecidableEq α\nA : Finset α\nP : Finpartition A\nhP : P.IsEquipartition\nh : P.parts.Nonempty\n⊢ ↑(#A / #P.parts + 1) ≤ ↑(#A) / ↑(#P.parts) + 1", "ppTerm": "?inr.calc_1...
[ "case inr.calc_1\nα : Type u_1\n𝕜 : Type u_2\ninst✝³ : Field 𝕜\ninst✝² : LinearOrder 𝕜\ninst✝¹ : IsStrictOrderedRing 𝕜\ninst✝ : DecidableEq α\nA : Finset α\nP : Finpartition A\nhP : P.IsEquipartition\nh : P.parts.Nonempty\n⊢ ↑(#A / #P.parts) ≤ ↑(#A) / ↑(#P.parts)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Uniform
{ "line": 378, "column": 4 }
{ "line": 378, "column": 53 }
{ "line": 380, "column": 0 }
[ { "pp": "case hbc\nα : Type u_1\n𝕜 : Type u_2\ninst✝⁴ : Field 𝕜\ninst✝³ : LinearOrder 𝕜\ninst✝² : IsStrictOrderedRing 𝕜\ninst✝¹ : DecidableEq α\nA : Finset α\nP : Finpartition A\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : 𝕜\nhA : A.Nonempty\nhε : 0 < ε\nhP : P.IsEquipartition\nhG : P.IsUniform G ε\...
[]
exact aux (P.parts_nonempty hA.ne_empty).card_pos
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Combinatorics.SimpleGraph.Regularity.Increment
{ "line": 71, "column": 2 }
{ "line": 71, "column": 75 }
{ "line": 72, "column": 2 }
[ { "pp": "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nhPα : #P.parts * 16 ^ #P.parts ≤ Fintype.card α\nhPG : ¬P.IsUniform G ε\nhPα' : stepBound #P.parts ≤ Fintype.card α\nhPpos : 0 < stepBound #P.pa...
[ "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nhPα : #P.parts * 16 ^ #P.parts ≤ Fintype.card α\nhPG : ¬P.IsUniform G ε\nhPα' : stepBound #P.parts ≤ Fintype.card α\nhPpos : 0 < stepBound #P.parts\n⊢ ∑ x, ...
simp_rw [chunk, apply_dite Finpartition.parts, apply_dite card, sum_dite]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.Combinatorics.SimpleGraph.Regularity.Lemma
{ "line": 107, "column": 4 }
{ "line": 109, "column": 10 }
{ "line": 110, "column": 4 }
[ { "pp": "case refine_1\nα : Type u_1\ninst✝² : DecidableEq α\ninst✝¹ : Fintype α\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nl : ℕ\nhε : 0 < ε\nhl : l ≤ Fintype.card α\nhα : bound ε l ≤ Fintype.card α\nt : ℕ := initialBound ε l\nhtα : t ≤ #univ\ndum : Finpartition univ\nhdum₁ : dum.IsEquipartition\nh...
[ "case refine_2\nα : Type u_1\ninst✝² : DecidableEq α\ninst✝¹ : Fintype α\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nl : ℕ\nhε : 0 < ε\nhl : l ≤ Fintype.card α\nhα : bound ε l ≤ Fintype.card α\nt : ℕ := initialBound ε l\nhtα : t ≤ #univ\ndum : Finpartition univ\nhdum₁ : dum.IsEquipartition\nhdum₂ : #dum....
· rw [iterate_succ_apply', stepBound, bound] gcongr simp
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Combinatorics.SimpleGraph.Regularity.Equitabilise
{ "line": 128, "column": 6 }
{ "line": 128, "column": 17 }
{ "line": 128, "column": 18 }
[ { "pp": "case neg.refine_2.refine_1.inr\nα : Type u_1\ninst✝ : DecidableEq α\nm : ℕ\nm_pos : m > 0\ns : Finset α\nih :\n ∀ t ⊂ s,\n ∀ {a b : ℕ} {P : Finpartition t},\n a * m + b * (m + 1) = #t →\n ∃ Q,\n (∀ x ∈ Q.parts, #x = m ∨ #x = m + 1) ∧\n (∀ x ∈ P.parts, #(x \\ {y ∈ Q.p...
[ "case neg.refine_2.refine_1.inr\nα : Type u_1\ninst✝ : DecidableEq α\nm : ℕ\nm_pos : m > 0\ns : Finset α\nih :\n ∀ t ⊂ s,\n ∀ {a b : ℕ} {P : Finpartition t},\n a * m + b * (m + 1) = #t →\n ∃ Q,\n (∀ x ∈ Q.parts, #x = m ∨ #x = m + 1) ∧\n (∀ x ∈ P.parts, #(x \\ {y ∈ Q.parts | y ⊆ x...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Maps
{ "line": 200, "column": 2 }
{ "line": 200, "column": 13 }
{ "line": 200, "column": 14 }
[ { "pp": "V : Type u_1\nW : Type u_2\nf : V ↪ W\nG : SimpleGraph V\nG' : SimpleGraph W\nh : G' ≤ SimpleGraph.map (⇑f) G\nu v : V\nhadj : (SimpleGraph.comap (⇑f) G').Adj u v\n⊢ G.Adj u v", "ppTerm": "?m.16", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "V : Type u_1\nW : Type u_2\nf : V ↪ W\nG : SimpleGraph V\nG' : SimpleGraph W\nh : G' ≤ SimpleGraph.map (⇑f) G\nu v : V\nhadj : (SimpleGraph.comap (⇑f) G').Adj u v\n⊢ G.Adj u v" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Maps
{ "line": 676, "column": 6 }
{ "line": 676, "column": 36 }
{ "line": 676, "column": 37 }
[ { "pp": "case inr\nV : Type u_1\nW : Type u_2\nX : Type u_3\nY : Type u_4\nG : SimpleGraph V\nG' : SimpleGraph W\nu v✝ : V\nH : SimpleGraph W\nf✝ : G ↪g G'\nG'' : SimpleGraph X\nG''' : SimpleGraph Y\nf : Gᶜ ↪g Hᶜ\nv w : V\nhvw : v ≠ w\n⊢ H.Adj (f.toEmbedding v) (f.toEmbedding w) ↔ G.Adj v w", "ppTerm": "?in...
[ "case inr\nV : Type u_1\nW : Type u_2\nX : Type u_3\nY : Type u_4\nG : SimpleGraph V\nG' : SimpleGraph W\nu v✝ : V\nH : SimpleGraph W\nf✝ : G ↪g G'\nG'' : SimpleGraph X\nG''' : SimpleGraph Y\nf : Gᶜ ↪g Hᶜ\nv w : V\nhvw : v ≠ w\n⊢ H.Adj (f v) (f w) ↔ G.Adj v w" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Maps
{ "line": 794, "column": 6 }
{ "line": 794, "column": 43 }
{ "line": 794, "column": 44 }
[ { "pp": "V : Type u_1\nW : Type u_2\nX : Type u_3\nY : Type u_4\nG : SimpleGraph V\nG' : SimpleGraph W\nu v✝ : V\nf : G ≃g G'\nv : V\nw : ↑(G'.neighborSet (f v))\n⊢ f.symm ↑w ∈ G.neighborSet v", "ppTerm": "?m.38", "assigned": true, "usedConstants": [ "Eq.mpr", "SimpleGraph.Iso", "S...
[ "V : Type u_1\nW : Type u_2\nX : Type u_3\nY : Type u_4\nG : SimpleGraph V\nG' : SimpleGraph W\nu v✝ : V\nf : G ≃g G'\nv : V\nw : ↑(G'.neighborSet (f v))\n⊢ G.Adj v (f.symm ↑w)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.DeleteEdges
{ "line": 87, "column": 39 }
{ "line": 87, "column": 50 }
{ "line": 87, "column": 51 }
[ { "pp": "V : Type u_1\ns : Set (Sym2 V)\nG : SimpleGraph V\nhs : s ⊆ Sym2.diagSet\nu v : V\n⊢ (G.deleteEdges s).Adj u v ↔ G.Adj u v", "ppTerm": "?m.27", "assigned": true, "usedConstants": [ "SimpleGraph.deleteEdges", "Eq.mpr", "Sym2.mk", "congrArg", "SimpleGraph.Adj", ...
[ "V : Type u_1\ns : Set (Sym2 V)\nG : SimpleGraph V\nhs : s ⊆ Sym2.diagSet\nu v : V\n⊢ G.Adj u v → s(u, v) ∉ s" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.DeleteEdges
{ "line": 234, "column": 4 }
{ "line": 235, "column": 28 }
{ "line": 235, "column": 29 }
[ { "pp": "case refine_2\nV : Type u_1\nG : SimpleGraph V\n𝕜 : Type u_2\ninst✝³ : Ring 𝕜\ninst✝² : PartialOrder 𝕜\ninst✝¹ : Fintype ↑G.edgeSet\np : SimpleGraph V → Prop\nr : 𝕜\ninst✝ : Fintype (Sym2 V)\nh : ∀ ⦃H : SimpleGraph V⦄ [inst : DecidableRel H.Adj], H ≤ G → p H → r ≤ ↑(#G.edgeFinset) - ↑(#H.edgeFinset...
[ "case refine_2\nV : Type u_1\nG : SimpleGraph V\n𝕜 : Type u_2\ninst✝³ : Ring 𝕜\ninst✝² : PartialOrder 𝕜\ninst✝¹ : Fintype ↑G.edgeSet\np : SimpleGraph V → Prop\nr : 𝕜\ninst✝ : Fintype (Sym2 V)\nh : ∀ ⦃H : SimpleGraph V⦄ [inst : DecidableRel H.Adj], H ≤ G → p H → r ≤ ↑(#G.edgeFinset) - ↑(#H.edgeFinset)\ns : Finse...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Finite
{ "line": 516, "column": 2 }
{ "line": 517, "column": 18 }
{ "line": 519, "column": 0 }
[ { "pp": "case inr\nV : Type u_1\nG : SimpleGraph V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nk : ℕ\nh : ∀ (v : V), G.degree v ≤ k\nh✝ : Nonempty V\n⊢ G.maxDegree ≤ k", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "SimpleGraph.maxDegree", "Membership.mem", "SimpleGr...
[]
· obtain ⟨_, hv⟩ := G.exists_maximal_degree_vertex exact hv ▸ h _
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Combinatorics.SimpleGraph.Finite
{ "line": 650, "column": 2 }
{ "line": 650, "column": 13 }
{ "line": 650, "column": 14 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nW : Type u_2\nG' : SimpleGraph W\nf : G ≃g G'\ninst✝¹ : Fintype ↑G.edgeSet\ninst✝ : Fintype ↑G'.edgeSet\n⊢ ↥G.edgeFinset ≃ ↥G'.edgeFinset", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Finset", "Membe...
[ "V : Type u_1\nG : SimpleGraph V\nW : Type u_2\nG' : SimpleGraph W\nf : G ≃g G'\ninst✝¹ : Fintype ↑G.edgeSet\ninst✝ : Fintype ↑G'.edgeSet\n⊢ { x // x ∈ G.edgeSet } ≃ { x // x ∈ G'.edgeSet }" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Copy
{ "line": 185, "column": 4 }
{ "line": 185, "column": 28 }
{ "line": 185, "column": 29 }
[ { "pp": "case mp\nV : Type u_1\nW : Type u_2\nG : SimpleGraph V\nH : SimpleGraph W\nf : H.Copy G\n⊢ f.toSubgraph ∈ {G' | Nonempty (H ≃g G'.coe)}", "ppTerm": "?mp", "assigned": true, "usedConstants": [ "SimpleGraph.Iso", "Set.ofPred", "SimpleGraph.Subgraph", "Membership.mem", ...
[ "case mp\nV : Type u_1\nW : Type u_2\nG : SimpleGraph V\nH : SimpleGraph W\nf : H.Copy G\n⊢ Nonempty (H ≃g (Subgraph.map f.toHom ⊤).coe)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Copy
{ "line": 206, "column": 44 }
{ "line": 206, "column": 55 }
{ "line": 206, "column": 56 }
[ { "pp": "V : Type u_1\nW : Type u_2\nX : Type u_3\nG G₁ G₂ G₃ : SimpleGraph V\nH : SimpleGraph W\nI : SimpleGraph X\nf : ⊤.Copy G\nv w : W\nh : G.Adj (f.toEmbedding v) (f.toEmbedding w)\n⊢ ⊤.Adj v w", "ppTerm": "?m.37", "assigned": true, "usedConstants": [ "Eq.mpr", "SimpleGraph.Adj", ...
[ "V : Type u_1\nW : Type u_2\nX : Type u_3\nG G₁ G₂ G₃ : SimpleGraph V\nH : SimpleGraph W\nI : SimpleGraph X\nf : ⊤.Copy G\nv w : W\nh : G.Adj (f.toEmbedding v) (f.toEmbedding w)\n⊢ ¬v = w" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Copy
{ "line": 317, "column": 2 }
{ "line": 317, "column": 42 }
{ "line": 318, "column": 4 }
[ { "pp": "V : Type u_1\nW : Type u_2\nG : SimpleGraph V\nH : SimpleGraph W\nf : G.Copy H\nv : V\ninst✝¹ : Fintype ↑(G.neighborSet v)\ninst✝ : Fintype ↑(H.neighborSet (f v))\n⊢ G.degree v ≤ H.degree (f v)", "ppTerm": "?m.13", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals"...
[ "V : Type u_1\nW : Type u_2\nG : SimpleGraph V\nH : SimpleGraph W\nf : G.Copy H\nv : V\ninst✝¹ : Fintype ↑(G.neighborSet v)\ninst✝ : Fintype ↑(H.neighborSet (f v))\n⊢ G.degree v ≤ H.degree (f v)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Finite
{ "line": 692, "column": 2 }
{ "line": 692, "column": 37 }
{ "line": 692, "column": 38 }
[ { "pp": "V : Type u_1\ns : Set V\ninst✝² : DecidablePred fun x ↦ x ∈ s\ninst✝¹ : Fintype V\nG : SimpleGraph V\ninst✝ : DecidableRel G.Adj\nh : G.support ⊆ s\n⊢ map (Embedding.subtype fun x ↦ x ∈ s).sym2Map (induce s G).edgeFinset = G.edgeFinset", "ppTerm": "?m.27", "assigned": true, "usedConstants":...
[ "V : Type u_1\ns : Set V\ninst✝² : DecidablePred fun x ↦ x ∈ s\ninst✝¹ : Fintype V\nG : SimpleGraph V\ninst✝ : DecidableRel G.Adj\nh : G.support ⊆ s\n⊢ G.edgeFinset ⊆ s.toFinset.sym2" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Copy
{ "line": 536, "column": 2 }
{ "line": 536, "column": 38 }
{ "line": 536, "column": 39 }
[ { "pp": "V : Type u_1\nW : Type u_2\nG : SimpleGraph V\nH : SimpleGraph W\ninst✝² : Fintype V\ninst✝¹ : Fintype { f // Injective ⇑f }\ninst✝ : DecidableEq G.Subgraph\n⊢ ↑{G' | Nonempty (H ≃g G'.coe)} = ↑(image Copy.toSubgraph univ)", "ppTerm": "?m.42", "assigned": true, "usedConstants": [ "Eq....
[ "V : Type u_1\nW : Type u_2\nG : SimpleGraph V\nH : SimpleGraph W\ninst✝² : Fintype V\ninst✝¹ : Fintype { f // Injective ⇑f }\ninst✝ : DecidableEq G.Subgraph\n⊢ {G' | Nonempty (H ≃g G'.coe)} = Set.range Copy.toSubgraph" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 249, "column": 2 }
{ "line": 249, "column": 13 }
{ "line": 249, "column": 14 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nG' : G.Subgraph\nv : ↑G'.verts\nx✝ : V\n⊢ x✝ ∈ Subtype.val '' G'.coe.neighborSet v ↔ x✝ ∈ G'.neighborSet ↑v", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "SimpleGraph.Subgraph.mem_neighborSet._simp_1", "Eq.mpr", "Iff.of_eq", ...
[ "V : Type u\nG : SimpleGraph V\nG' : G.Subgraph\nv : ↑G'.verts\nx✝ : V\n⊢ G'.Adj (↑v) x✝ → x✝ ∈ G'.verts" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Basic
{ "line": 240, "column": 2 }
{ "line": 240, "column": 13 }
{ "line": 240, "column": 14 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\n⊢ List.map (fun x ↦ x.toProd.2) p.darts = p.support.tail", "ppTerm": "?m.20", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\n⊢ List.map (fun x ↦ x.toProd.2) p.darts = p.support.tail" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 357, "column": 8 }
{ "line": 358, "column": 28 }
{ "line": 359, "column": 6 }
[ { "pp": "ι : Sort u_1\nV : Type u\nW : Type v\nG : SimpleGraph V\nG' G₁ G₂ : G.Subgraph\na b : V\ns : Set G.Subgraph\n⊢ ∀ {v w : V}, (∃ G' ∈ s, G'.Adj v w) → G.Adj v w", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "SimpleGraph.Subgraph", "SimpleGraph.Adj", "SimpleGraph....
[]
rintro a b ⟨G', -, hab⟩ exact G'.adj_sub hab
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 357, "column": 8 }
{ "line": 358, "column": 28 }
{ "line": 359, "column": 6 }
[ { "pp": "ι : Sort u_1\nV : Type u\nW : Type v\nG : SimpleGraph V\nG' G₁ G₂ : G.Subgraph\na b : V\ns : Set G.Subgraph\n⊢ ∀ {v w : V}, (∃ G' ∈ s, G'.Adj v w) → G.Adj v w", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "SimpleGraph.Subgraph", "SimpleGraph.Adj", "SimpleGraph....
[]
rintro a b ⟨G', -, hab⟩ exact G'.adj_sub hab
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 362, "column": 28 }
{ "line": 362, "column": 50 }
{ "line": 362, "column": 51 }
[ { "pp": "ι : Sort u_1\nV : Type u\nW : Type v\nG : SimpleGraph V\nG' G₁ G₂ : G.Subgraph\na✝ b✝ : V\ns : Set G.Subgraph\na b : V\nh : ∃ G' ∈ s, G'.Adj a b\n⊢ ∃ G' ∈ s, G'.Adj b a", "ppTerm": "?m.97", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "SimpleGraph.Subgraph", ...
[ "ι : Sort u_1\nV : Type u\nW : Type v\nG : SimpleGraph V\nG' G₁ G₂ : G.Subgraph\na✝ b✝ : V\ns : Set G.Subgraph\na b : V\nh : ∃ G' ∈ s, G'.Adj a b\n⊢ ∃ G' ∈ s, G'.Adj a b" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 624, "column": 32 }
{ "line": 624, "column": 43 }
{ "line": 624, "column": 44 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nH₁ H₂ : G.Subgraph\nh : Disjoint H₁ H₂\n⊢ H₁.edgeSet ∩ H₂.edgeSet ⊆ ⊥", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Eq.mpr", "CompleteBooleanAlgebra.toCompleteDistribLattice", "OrderBot.toBot", "PartialOrder.toPreorder", ...
[ "V : Type u\nG : SimpleGraph V\nH₁ H₂ : G.Subgraph\nh : Disjoint H₁ H₂\n⊢ H₁.edgeSet ∩ H₂.edgeSet = ∅" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Traversal
{ "line": 153, "column": 2 }
{ "line": 153, "column": 13 }
{ "line": 153, "column": 14 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nhp : ¬p.Nil\n⊢ G.Adj v p.snd", "ppTerm": "?m.11", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "V : Type u\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nhp : ¬p.Nil\n⊢ G.Adj v p.snd" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Traversal
{ "line": 153, "column": 37 }
{ "line": 153, "column": 72 }
{ "line": 153, "column": 73 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nhp : ¬p.Nil\n⊢ 0 < p.length", "ppTerm": "?m.25", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "V : Type u\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nhp : ¬p.Nil\n⊢ 0 < p.length" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 690, "column": 14 }
{ "line": 690, "column": 38 }
{ "line": 690, "column": 39 }
[ { "pp": "V : Type u\nW : Type v\nG : SimpleGraph V\nG' : SimpleGraph W\ne : G ≃g G'\nH : G.Subgraph\nh : (Subgraph.map e.toHom H).IsInduced\n⊢ H.IsInduced", "ppTerm": "?m.24", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "V : Type u\nW : Type v\nG : SimpleGraph V\nG' : SimpleGraph W\ne : G ≃g G'\nH : G.Subgraph\nh : (Subgraph.map e.toHom H).IsInduced\n⊢ H.IsInduced" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 690, "column": 11 }
{ "line": 690, "column": 63 }
{ "line": 690, "column": 63 }
[ { "pp": "V : Type u\nW : Type v\nG : SimpleGraph V\nG' : SimpleGraph W\ne : G ≃g G'\nH : G.Subgraph\nh : (Subgraph.map e.toHom H).IsInduced\n⊢ H.IsInduced", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "_private.Mathlib.Combinatorics.SimpleGraph.Subgraph.0.SimpleGraph.Subgraph.isInd...
[]
by simpa [← map_comp] using h.map e.symm.toEmbedding
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 740, "column": 66 }
{ "line": 740, "column": 77 }
{ "line": 740, "column": 78 }
[ { "pp": "ι : Sort u_1\nV : Type u\nW : Type v\nG : SimpleGraph V\nG' G₁ G₂ : G.Subgraph\na✝ b✝ : V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nH : G.Subgraph\na b : V\n⊢ (H.verts.toFinset, fun a b ↦ decide (H.Adj a b)).2 a b = true → G.Adj a b", "ppTerm": "?m.132", "assigned...
[ "ι : Sort u_1\nV : Type u\nW : Type v\nG : SimpleGraph V\nG' G₁ G₂ : G.Subgraph\na✝ b✝ : V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nH : G.Subgraph\na b : V\n⊢ H.Adj a b → G.Adj a b" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 741, "column": 19 }
{ "line": 741, "column": 30 }
{ "line": 741, "column": 31 }
[ { "pp": "ι : Sort u_1\nV : Type u\nW : Type v\nG : SimpleGraph V\nG' G₁ G₂ : G.Subgraph\na✝ b✝ : V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nH : G.Subgraph\na b : V\n⊢ (H.verts.toFinset, fun a b ↦ decide (H.Adj a b)).2 a b = true → a ∈ (H.verts.toFinset, fun a b ↦ decide (H.Adj a ...
[ "ι : Sort u_1\nV : Type u\nW : Type v\nG : SimpleGraph V\nG' G₁ G₂ : G.Subgraph\na✝ b✝ : V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nH : G.Subgraph\na b : V\n⊢ H.Adj a b → a ∈ H.verts" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 854, "column": 54 }
{ "line": 859, "column": 35 }
{ "line": 861, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nG' : G.Subgraph\nv : V\ninst✝ : Fintype ↑(G'.neighborSet v)\nhG : G'.verts.Subsingleton\n⊢ G'.degree v = 0", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "congrArg", "SimpleGraph.Subgraph.coe_degree", ...
[]
by by_cases hv : v ∈ G'.verts · rw [← G'.coe_degree ⟨v, hv⟩] have := (Set.subsingleton_coe _).mpr hG exact G'.coe.degree_eq_zero_of_subsingleton ⟨v, hv⟩ · exact degree_of_notMem_verts hv
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Walk.Basic
{ "line": 346, "column": 58 }
{ "line": 346, "column": 81 }
{ "line": 346, "column": 82 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu✝ v✝ u c v : V\nh₁ : G.Adj u v\nw₁ : G.Walk v c\nv' : V\nh₂ : G.Adj u v'\nw₂ : G.Walk v' c\nh : (cons' u v c h₁ w₁).edges = (cons' u v' c h₂ w₂).edges\n⊢ v = v' ∧ w₁.edges = w₂.edges", "ppTerm": "?m.351", "assigned": false, "usedConstants": [], "usedFVars...
[ "V : Type u\nG : SimpleGraph V\nu✝ v✝ u c v : V\nh₁ : G.Adj u v\nw₁ : G.Walk v c\nv' : V\nh₂ : G.Adj u v'\nw₂ : G.Walk v' c\nh : (cons' u v c h₁ w₁).edges = (cons' u v' c h₂ w₂).edges\n⊢ v = v' ∧ w₁.edges = w₂.edges" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 1008, "column": 28 }
{ "line": 1008, "column": 53 }
{ "line": 1008, "column": 54 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nv w : V\nhvw : G.Adj v w\nu : V\nthis : w = u ↔ u = w\n⊢ u ∈ (G.subgraphOfAdj hvw).neighborSet v ↔ u ∈ {w}", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "SimpleGraph.Subgraph.mem_neighborSet._simp_1", "Eq.mpr", "False", "Sym...
[ "V : Type u\nG : SimpleGraph V\nv w : V\nhvw : G.Adj v w\nu : V\nthis : w = u ↔ u = w\n⊢ w = u ↔ u = w" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 1081, "column": 4 }
{ "line": 1081, "column": 15 }
{ "line": 1081, "column": 16 }
[ { "pp": "case Adj\nV : Type u\nG : SimpleGraph V\nG' : G.Subgraph\nG'' : G'.coe.Subgraph\nx✝¹ x✝ : ↑G'.verts\n⊢ (G'.Adj ↑x✝¹ ↑x✝ ∧ ∃ (hv : ↑x✝¹ ∈ G'.verts) (hw : ↑x✝ ∈ G'.verts), G''.Adj ⟨↑x✝¹, hv⟩ ⟨↑x✝, hw⟩) ↔ G''.Adj x✝¹ x✝", "ppTerm": "?Adj", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[ "case Adj\nV : Type u\nG : SimpleGraph V\nG' : G.Subgraph\nG'' : G'.coe.Subgraph\nx✝¹ x✝ : ↑G'.verts\n⊢ G''.Adj x✝¹ x✝ → G'.Adj ↑x✝¹ ↑x✝" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Basic
{ "line": 518, "column": 4 }
{ "line": 518, "column": 15 }
{ "line": 518, "column": 16 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nl✝ : List V\nhead✝ v : V\nl : List V\nhne : head✝ :: v :: l ≠ []\nhchain : List.IsChain G.Adj (head✝ :: v :: l)\n⊢ (ofSupport (head✝ :: v :: l) hne hchain).support = head✝ :: v :: l", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "List.head", ...
[ "V : Type u\nG : SimpleGraph V\nl✝ : List V\nhead✝ v : V\nl : List V\nhne : head✝ :: v :: l ≠ []\nhchain : List.IsChain G.Adj (head✝ :: v :: l)\n⊢ (ofSupport (v :: l) ⋯ ⋯).support = v :: l" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Basic
{ "line": 555, "column": 4 }
{ "line": 555, "column": 33 }
{ "line": 555, "column": 34 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nl✝ : List G.Dart\nd₁ d₂ : G.Dart\nl : List G.Dart\nhne : d₁ :: d₂ :: l ≠ []\nhchain : List.IsChain G.DartAdj (d₁ :: d₂ :: l)\n⊢ (ofDarts (d₁ :: d₂ :: l) hne hchain).darts = d₁ :: d₂ :: l", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "List.hea...
[ "V : Type u\nG : SimpleGraph V\nl✝ : List G.Dart\nd₁ d₂ : G.Dart\nl : List G.Dart\nhne : d₁ :: d₂ :: l ≠ []\nhchain : List.IsChain G.DartAdj (d₁ :: d₂ :: l)\n⊢ (ofDarts (d₂ :: l) ⋯ ⋯).darts = d₂ :: l" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 1240, "column": 43 }
{ "line": 1243, "column": 22 }
{ "line": 1245, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nG' : G.Subgraph\n⊢ G'.IsInduced ↔ ∃ s, G' = ⊤.induce s", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "SimpleGraph.Subgraph", "SimpleGraph.Adj", "Membership.mem", "Exists", "Eq.rec", ...
[]
by refine ⟨fun h ↦ ⟨G'.verts, h.induce_top_verts.symm⟩, fun ⟨s, h⟩ _ hu _ hv hadj ↦ ?_⟩ rw [h, (h ▸ rfl : s = G'.verts)] exact ⟨hu, hv, hadj⟩
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Walk.Operations
{ "line": 266, "column": 6 }
{ "line": 267, "column": 12 }
{ "line": 269, "column": 0 }
[ { "pp": "case inr\nV : Type u\nG : SimpleGraph V\nu v : V\ni : ℕ\nu✝ v✝ w✝ : V\nh : G.Adj u✝ v✝\np : G.Walk v✝ w✝\nih : p.reverse.getVert i = p.getVert (p.length - i)\nhi : ¬i < p.length\nhi' : p.length < i\n⊢ (cons ⋯ nil).getVert (i - p.length) = (cons h p).getVert (p.length + 1 - i)", "ppTerm": "?inr", ...
[]
· rw [Nat.eq_add_of_sub_eq (Nat.sub_pos_of_lt hi') rfl, Nat.sub_eq_zero_of_le hi'] simp
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 1344, "column": 4 }
{ "line": 1344, "column": 15 }
{ "line": 1344, "column": 16 }
[ { "pp": "case verts\nV : Type u\nG : SimpleGraph V\nG' : G.Subgraph\ns : Set V\nhs : s ⊆ G'.verts\nu : V\n⊢ u ∈ (G'.induce s).verts ↔ u ∈ (G' ⊓ ⊤.induce s).verts", "ppTerm": "?verts", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "SimpleGraph.Subgraph", "Membersh...
[ "case verts\nV : Type u\nG : SimpleGraph V\nG' : G.Subgraph\ns : Set V\nhs : s ⊆ G'.verts\nu : V\n⊢ u ∈ s → u ∈ G'.verts" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Operations
{ "line": 487, "column": 2 }
{ "line": 487, "column": 13 }
{ "line": 487, "column": 14 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nd : G.Dart\nh : d ∈ p.darts\n⊢ d.toProd.2 ∈ p.support", "ppTerm": "?m.19", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nd : G.Dart\nh : d ∈ p.darts\n⊢ d.toProd.2 ∈ p.support" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Decomp
{ "line": 253, "column": 2 }
{ "line": 253, "column": 13 }
{ "line": 253, "column": 14 }
[ { "pp": "V : Type u\nG : SimpleGraph V\ninst✝ : DecidableEq V\nu v w : V\np : G.Walk v w\nh : u ∈ p.support\n⊢ (p.takeUntil u h).length ≤ p.length", "ppTerm": "?m.24", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "V : Type u\nG : SimpleGraph V\ninst✝ : DecidableEq V\nu v w : V\np : G.Walk v w\nh : u ∈ p.support\n⊢ (p.takeUntil u h).length ≤ p.length" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Decomp
{ "line": 259, "column": 2 }
{ "line": 259, "column": 13 }
{ "line": 259, "column": 14 }
[ { "pp": "V : Type u\nG : SimpleGraph V\ninst✝ : DecidableEq V\nu v w : V\np : G.Walk v w\nh : u ∈ p.support\n⊢ (p.dropUntil u h).length ≤ p.length", "ppTerm": "?m.24", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "V : Type u\nG : SimpleGraph V\ninst✝ : DecidableEq V\nu v w : V\np : G.Walk v w\nh : u ∈ p.support\n⊢ (p.dropUntil u h).length ≤ p.length" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Operations
{ "line": 579, "column": 2 }
{ "line": 579, "column": 78 }
{ "line": 580, "column": 2 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v w : V\nh : G.Adj u v\np : G.Walk v w\nn : ℕ\nhn : n ≠ 0\n⊢ ((cons h p).drop n).support = ((p.drop (n - 1)).copy ⋯ ⋯).support", "ppTerm": "?m.50", "assigned": true, "usedConstants": [ "Iff.mpr", "SimpleGraph.Walk.getVert_cons", "Nat.ne_zer...
[ "V : Type u\nG : SimpleGraph V\nu v w : V\nh : G.Adj u v\np : G.Walk v w\nw✝ : ℕ\nhn : w✝ + 1 ≠ 0\n⊢ ((cons h p).drop (w✝ + 1)).support = ((p.drop (w✝ + 1 - 1)).copy ⋯ ⋯).support" ]
obtain ⟨_, rfl⟩ := Nat.exists_add_one_eq.mpr (Nat.ne_zero_iff_zero_lt.mp hn)
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Combinatorics.SimpleGraph.Walk.Decomp
{ "line": 279, "column": 2 }
{ "line": 279, "column": 34 }
{ "line": 279, "column": 35 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nv w u : V\ninst✝ : DecidableEq V\np : G.Walk u v\nh : w ∈ p.support\nhsu : ¬1 ≤ (p.takeUntil w h).length\n⊢ u = w", "ppTerm": "?m.40", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "V : Type u\nG : SimpleGraph V\nv w u : V\ninst✝ : DecidableEq V\np : G.Walk u v\nh : w ∈ p.support\nhsu : ¬1 ≤ (p.takeUntil w h).length\n⊢ u = w" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Decomp
{ "line": 303, "column": 25 }
{ "line": 303, "column": 36 }
{ "line": 303, "column": 37 }
[ { "pp": "V : Type u\nG : SimpleGraph V\ninst✝ : DecidableEq V\nu v w : V\np : G.Walk v w\nh : u ∈ p.support\nhuw : u ≠ w\nhl : (p.takeUntil u h).length = p.length\n⊢ u = w", "ppTerm": "?m.38", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "V : Type u\nG : SimpleGraph V\ninst✝ : DecidableEq V\nu v w : V\np : G.Walk v w\nh : u ∈ p.support\nhuw : u ≠ w\nhl : (p.takeUntil u h).length = p.length\n⊢ u = w" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Decomp
{ "line": 356, "column": 2 }
{ "line": 356, "column": 13 }
{ "line": 356, "column": 14 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nv : V\ninst✝ : DecidableEq V\nc : G.Walk v v\nu : V\nh : u ∈ c.support\n⊢ (c.rotate u h).length = c.length", "ppTerm": "?m.16", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "V : Type u\nG : SimpleGraph V\nv : V\ninst✝ : DecidableEq V\nc : G.Walk v v\nu : V\nh : u ∈ c.support\n⊢ (c.rotate u h).length = c.length" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Combinatorics.SimpleGraph.Walk.Subwalks
{ "line": 235, "column": 2 }
{ "line": 242, "column": 46 }
{ "line": 244, "column": 0 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nu v : V\nn k : ℕ\np : G.Walk u v\nh : n ≤ k\n⊢ (p.drop k).IsSubwalk (p.drop n)", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Nat.recAux", "SimpleGraph.Walk.drop_zero", "HEq.refl", "SimpleGraph.Walk.IsSubwalk.copy", ...
[]
induction k, h using Nat.le_induction with | base => rfl | succ k h ih => apply IsSubwalk.trans ?_ ih clear h ih induction k generalizing p u with | zero => exact p.drop_zero ▸ (p.isSubwalk_rfl.copy rfl rfl p.getVert_zero.symm rfl).tail | succ _ ih => cases p <;> simp [drop, ih]
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
Lean.Parser.Tactic.induction
Mathlib.Combinatorics.SimpleGraph.Walk.Subwalks
{ "line": 235, "column": 2 }
{ "line": 242, "column": 46 }
{ "line": 244, "column": 0 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nu v : V\nn k : ℕ\np : G.Walk u v\nh : n ≤ k\n⊢ (p.drop k).IsSubwalk (p.drop n)", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Nat.recAux", "SimpleGraph.Walk.drop_zero", "HEq.refl", "SimpleGraph.Walk.IsSubwalk.copy", ...
[]
induction k, h using Nat.le_induction with | base => rfl | succ k h ih => apply IsSubwalk.trans ?_ ih clear h ih induction k generalizing p u with | zero => exact p.drop_zero ▸ (p.isSubwalk_rfl.copy rfl rfl p.getVert_zero.symm rfl).tail | succ _ ih => cases p <;> simp [drop, ih]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Walk.Subwalks
{ "line": 235, "column": 2 }
{ "line": 242, "column": 46 }
{ "line": 244, "column": 0 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nu v : V\nn k : ℕ\np : G.Walk u v\nh : n ≤ k\n⊢ (p.drop k).IsSubwalk (p.drop n)", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Nat.recAux", "SimpleGraph.Walk.drop_zero", "HEq.refl", "SimpleGraph.Walk.IsSubwalk.copy", ...
[]
induction k, h using Nat.le_induction with | base => rfl | succ k h ih => apply IsSubwalk.trans ?_ ih clear h ih induction k generalizing p u with | zero => exact p.drop_zero ▸ (p.isSubwalk_rfl.copy rfl rfl p.getVert_zero.symm rfl).tail | succ _ ih => cases p <;> simp [drop, ih]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 344, "column": 4 }
{ "line": 344, "column": 45 }
{ "line": 345, "column": 4 }
[ { "pp": "case inl.refine_1\nα : Type u_1\ninst✝³ : Fintype α\ninst✝² : DecidableEq α\nP : Finpartition univ\nG : SimpleGraph α\ninst✝¹ : DecidableRel G.Adj\nε : ℝ\nU V : Finset α\ninst✝ : Nonempty α\nhP : P.IsEquipartition\nhPα : #P.parts * 16 ^ #P.parts ≤ Fintype.card α\nhPε : 100 ≤ 4 ^ #P.parts * ε ^ 5\nhU : ...
[ "case inl.refine_2\nα : Type u_1\ninst✝³ : Fintype α\ninst✝² : DecidableEq α\nP : Finpartition univ\nG : SimpleGraph α\ninst✝¹ : DecidableRel G.Adj\nε : ℝ\nU V : Finset α\ninst✝ : Nonempty α\nhP : P.IsEquipartition\nhPα : #P.parts * 16 ^ #P.parts ≤ Fintype.card α\nhPε : 100 ≤ 4 ^ #P.parts * ε ^ 5\nhU : U ∈ P.parts\...
· exact mod_cast G.edgeDensity_nonneg _ _
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Combinatorics.SimpleGraph.Paths
{ "line": 158, "column": 2 }
{ "line": 158, "column": 27 }
{ "line": 158, "column": 28 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nh : p.IsTrail\n⊢ p.reverse.IsTrail", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "id", "_private.Mathlib.Combinatorics.SimpleGraph.Paths.0.SimpleGraph.Walk.IsTrail.reverse._simp...
[ "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nh : p.IsTrail\n⊢ p.edges.Nodup" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null