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.Presentable.Directed
{ "line": 488, "column": 8 }
{ "line": 489, "column": 65 }
{ "line": 490, "column": 6 }
[ { "pp": "case inl.inl\nJ : Type w\ninst✝² : SmallCategory J\nκ : Cardinal.{w}\ninst✝¹ : Fact κ.IsRegular\ninst✝ : IsCardinalFiltered J κ\nhJ : ∀ (e : J), ∃ m x, IsEmpty (m ⟶ e)\nthis✝¹ : IsCardinalFiltered (DiagramWithUniqueTerminal J κ) κ\nthis✝ : IsFiltered J\nthis : IsFiltered (DiagramWithUniqueTerminal J κ)...
[]
exact ⟨φ ⟨_, D.src hf⟩, φ ⟨_, D.tgt hf⟩, Or.inr ⟨_⟩, Or.inr ⟨_⟩, D.isTerminal.comm_assoc _ hf _⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Presentable.Directed
{ "line": 492, "column": 2 }
{ "line": 493, "column": 27 }
{ "line": 494, "column": 2 }
[ { "pp": "J : Type w\ninst✝² : SmallCategory J\nκ : Cardinal.{w}\ninst✝¹ : Fact κ.IsRegular\ninst✝ : IsCardinalFiltered J κ\nhJ : ∀ (e : J), ∃ m x, IsEmpty (m ⟶ e)\nthis✝¹ : IsCardinalFiltered (DiagramWithUniqueTerminal J κ) κ\nthis✝ : IsFiltered J\nthis : IsFiltered (DiagramWithUniqueTerminal J κ)\nj : J\nD : D...
[ "J : Type w\ninst✝² : SmallCategory J\nκ : Cardinal.{w}\ninst✝¹ : Fact κ.IsRegular\ninst✝ : IsCardinalFiltered J κ\nhJ : ∀ (e : J), ∃ m x, IsEmpty (m ⟶ e)\nthis✝¹ : IsCardinalFiltered (DiagramWithUniqueTerminal J κ) κ\nthis✝ : IsFiltered J\nthis : IsFiltered (DiagramWithUniqueTerminal J κ)\nj : J\nD : DiagramWithUn...
have lift_eq (j : J) (hj : D.P j) : hm₁.lift (Or.inl hj) = φ ⟨_, hj⟩ := hm₁.uniq _ (Or.inr ⟨_⟩)
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.CategoryTheory.Presentable.Comma
{ "line": 327, "column": 2 }
{ "line": 327, "column": 30 }
{ "line": 328, "column": 2 }
[ { "pp": "C₁ : Type u_1\nC₂ : Type u_2\nD : Type u_3\ninst✝⁹ : Category.{v_1, u_1} C₁\ninst✝⁸ : Category.{v_2, u_2} C₂\ninst✝⁷ : Category.{v_3, u_3} D\nF₁ : C₁ ⥤ D\nF₂ : C₂ ⥤ D\nκ : Cardinal.{w}\ninst✝⁶ : Fact κ.IsRegular\nf : Comma F₁ F₂\ninst✝⁵ : IsCardinalAccessibleCategory C₁ κ\ninst✝⁴ : IsCardinalAccessible...
[ "C₁ : Type u_1\nC₂ : Type u_2\nD : Type u_3\ninst✝⁹ : Category.{v_1, u_1} C₁\ninst✝⁸ : Category.{v_2, u_2} C₂\ninst✝⁷ : Category.{v_3, u_3} D\nF₁ : C₁ ⥤ D\nF₂ : C₂ ⥤ D\nκ : Cardinal.{w}\ninst✝⁶ : Fact κ.IsRegular\nf : Comma F₁ F₂\ninst✝⁵ : IsCardinalAccessibleCategory C₁ κ\ninst✝⁴ : IsCardinalAccessibleCategory C₂ ...
rw [isCardinalFiltered_iff']
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.CategoryTheory.Sites.CartesianMonoidal
{ "line": 45, "column": 2 }
{ "line": 45, "column": 18 }
{ "line": 47, "column": 0 }
[ { "pp": "C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nA : Type u₂\ninst✝¹ : Category.{v₂, u₂} A\nJ : GrothendieckTopology C\ninst✝ : CartesianMonoidalCategory A\n⊢ Discrete PEmpty.{1} ⥤ Sheaf J A", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "CategoryTheory.Functor", "Opposite"...
[]
· exact .empty _
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.CategoryTheory.Sites.Coherent.CoherentSheaves
{ "line": 51, "column": 2 }
{ "line": 51, "column": 83 }
{ "line": 52, "column": 2 }
[ { "pp": "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : Precoherent C\nW X : C\nα : Type\ninst✝ : Finite α\nY : α → C\nπ : (a : α) → Y a ⟶ X\nH : EffectiveEpiFamily Y π\n⊢ Presieve.IsSheafFor (yoneda.obj W) (Presieve.ofArrows Y π)", "ppTerm": "?m.28", "assigned": true, "usedConstants": [ ...
[ "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : Precoherent C\nW X : C\nα : Type\ninst✝ : Finite α\nY : α → C\nπ : (a : α) → Y a ⟶ X\nH : EffectiveEpiFamily Y π\nh_colim : Limits.IsColimit (Sieve.generateFamily Y π).arrows.cocone\n⊢ Presieve.IsSheafFor (yoneda.obj W) (Presieve.ofArrows Y π)" ]
have h_colim := isColimitOfEffectiveEpiFamilyStruct Y π H.effectiveEpiFamily.some
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.CategoryTheory.Sites.Coherent.Comparison
{ "line": 38, "column": 4 }
{ "line": 38, "column": 65 }
{ "line": 39, "column": 4 }
[ { "pp": "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : Precoherent C\ninst✝ : HasFiniteCoproducts C\nX Y Z : C\nf : X ⟶ Y\ng : Z ⟶ Y\nx✝ : EffectiveEpi g\nhp : EffectiveEpi g → ∃ β, ∃ (_ : Finite β), ∃ X₂ π₂, EffectiveEpiFamily X₂ π₂ ∧ ∃ ι, ∀ (b : β), ι b ≫ g = π₂ b ≫ f\nβ : Type\nw✝ : Finite β\nX₂ : β...
[ "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : Precoherent C\ninst✝ : HasFiniteCoproducts C\nX Y Z : C\nf : X ⟶ Y\ng : Z ⟶ Y\nx✝ : EffectiveEpi g\nhp : EffectiveEpi g → ∃ β, ∃ (_ : Finite β), ∃ X₂ π₂, EffectiveEpiFamily X₂ π₂ ∧ ∃ ι, ∀ (b : β), ι b ≫ g = π₂ b ≫ f\nβ : Type\nw✝ : Finite β\nX₂ : β → C\nπ₂ : (...
refine ⟨∐ X₂, Sigma.desc π₂, inferInstance, Sigma.desc ι, ?_⟩
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.CategoryTheory.Sites.Coherent.ExtensiveSheaves
{ "line": 102, "column": 6 }
{ "line": 103, "column": 15 }
{ "line": 104, "column": 6 }
[ { "pp": "case refine_1.refine_1.refine_1\nC : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : FinitaryPreExtensive C\ninst✝ : FinitaryExtensive C\nF : Cᵒᵖ ⥤ Type w\nhF : ∀ {X : C}, ∀ R ∈ (extensiveCoverage C).coverings X, IsSheafFor F R\nn : ℕ\nK : Discrete (Fin n) ⥤ Cᵒᵖ\nZ : Fin n → C := fun i ↦ unop (K.obj...
[ "case refine_1.refine_1.refine_2\nC : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : FinitaryPreExtensive C\ninst✝ : FinitaryExtensive C\nF : Cᵒᵖ ⥤ Type w\nhF : ∀ {X : C}, ∀ R ∈ (extensiveCoverage C).coverings X, IsSheafFor F R\nn : ℕ\nK : Discrete (Fin n) ⥤ Cᵒᵖ\nZ : Fin n → C := fun i ↦ unop (K.obj { as := i }...
· ext b cases b
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.CategoryTheory.Sites.Coherent.RegularTopology
{ "line": 37, "column": 4 }
{ "line": 37, "column": 70 }
{ "line": 38, "column": 4 }
[ { "pp": "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Preregular C\nX : C\nS : Sieve X\nY : C\nπ : Y ⟶ X\nh : EffectiveEpi π ∧ S.arrows π\n⊢ (Presieve.ofArrows (fun x ↦ Y) fun x ↦ π) ≤ S.arrows", "ppTerm": "?m.66", "assigned": true, "usedConstants": [ "CategoryTheory.Presieve.le_of_fa...
[ "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Preregular C\nX : C\nS : Sieve X\nY : C\nπ : Y ⟶ X\nh : EffectiveEpi π ∧ S.arrows π\n⊢ (Presieve.ofArrows (fun x ↦ Y) fun x ↦ π).FactorsThru S.arrows" ]
apply Presieve.le_of_factorsThru_sieve (Presieve.ofArrows _ _) S _
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.CategoryTheory.Sites.Coherent.ExtensiveTopology
{ "line": 61, "column": 4 }
{ "line": 61, "column": 48 }
{ "line": 62, "column": 4 }
[ { "pp": "case mpr.h\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : FinitaryPreExtensive C\nX : C\nS : Sieve X\nα : Type\nw✝ : Finite α\nY : α → C\nπ : (a : α) → Y a ⟶ X\nh : Nonempty (IsColimit (Cofan.mk X π))\nh' : ∀ (a : α), S.arrows (π a)\n⊢ Presieve.ofArrows Y π ≤ S.arrows", "ppTerm": "?mpr.h", ...
[ "case mpr.hR\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : FinitaryPreExtensive C\nX : C\nS : Sieve X\nα : Type\nw✝ : Finite α\nY : α → C\nπ : (a : α) → Y a ⟶ X\nh : Nonempty (IsColimit (Cofan.mk X π))\nh' : ∀ (a : α), S.arrows (π a)\n⊢ Presieve.ofArrows Y π ∈ (extensiveCoverage C).coverings X" ]
· exact fun _ _ hh ↦ by cases hh; exact h' _
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.CategoryTheory.Sites.Coherent.LocallySurjective
{ "line": 47, "column": 39 }
{ "line": 58, "column": 24 }
{ "line": 60, "column": 0 }
[ { "pp": "C : Type u_1\nD : Type u_2\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : Category.{v_2, u_2} D\nFD : D → D → Type u_3\nCD : D → Type w\ninst✝² : (X Y : D) → FunLike (FD X Y) (CD X) (CD Y)\ninst✝¹ : ConcreteCategory D FD\ninst✝ : Preregular C\nF G : Cᵒᵖ ⥤ D\nf : F ⟶ G\n⊢ Presheaf.IsLocallySurjective (regula...
[]
by constructor · intro ⟨h⟩ X y specialize h y rw [regularTopology.mem_sieves_iff_hasEffectiveEpi] at h obtain ⟨X', π, h, h'⟩ := h exact ⟨X', π, h, h'⟩ · intro h refine ⟨fun y ↦ ?_⟩ obtain ⟨X', π, h, h'⟩ := h _ y rw [regularTopology.mem_sieves_iff_hasEffectiveEpi] exact ⟨X', π, h, h...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.CategoryTheory.Sites.Coherent.SheafComparison
{ "line": 170, "column": 2 }
{ "line": 173, "column": 30 }
{ "line": 174, "column": 2 }
[ { "pp": "case refine_1\nC : Type u_1\nD : Type u_2\ninst✝⁷ : Category.{v_1, u_1} C\ninst✝⁶ : Category.{v_2, u_2} D\nF : C ⥤ D\ninst✝⁵ : F.PreservesEffectiveEpis\ninst✝⁴ : F.ReflectsEffectiveEpis\ninst✝³ : F.Full\ninst✝² : F.Faithful\ninst✝¹ : F.EffectivelyEnough\ninst✝ : Preregular D\nX : C\nS : Sieve X\nx✝ : ∃...
[ "case refine_2\nC : Type u_1\nD : Type u_2\ninst✝⁷ : Category.{v_1, u_1} C\ninst✝⁶ : Category.{v_2, u_2} D\nF : C ⥤ D\ninst✝⁵ : F.PreservesEffectiveEpis\ninst✝⁴ : F.ReflectsEffectiveEpis\ninst✝³ : F.Full\ninst✝² : F.Faithful\ninst✝¹ : F.EffectivelyEnough\ninst✝ : Preregular D\nX : C\nS : Sieve X\nhS : S ∈ (F.induce...
· rw [mem_inducedTopology_iff_of_isCoverDense] apply (mem_sieves_iff_hasEffectiveEpi (Sieve.functorPushforward _ S)).mpr refine ⟨F.obj Y, F.map π, ⟨?_, Sieve.image_mem_functorPushforward F S H₂⟩⟩ exact F.map_effectiveEpi _
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.CategoryTheory.Subfunctor.SubmonoidFunctor
{ "line": 126, "column": 41 }
{ "line": 126, "column": 59 }
{ "line": 126, "column": 60 }
[ { "pp": "C : Type u\ninst✝ : Category.{v, u} C\nM✝ : C ⥤ MonCat\nS✝¹ : SubmonoidFunctor M✝\nM M' M'' : C ⥤ MonCat\nS✝ : SubmonoidFunctor M\nS' : SubmonoidFunctor M'\np : M ⟶ M'\nS : SubmonoidFunctor M\nU✝ V✝ : C\ni : U✝ ⟶ V✝\n⊢ Submonoid.map (MonCat.Hom.hom (M'.map i)) (Submonoid.map (MonCat.Hom.hom (p.app U✝))...
[ "C : Type u\ninst✝ : Category.{v, u} C\nM✝ : C ⥤ MonCat\nS✝¹ : SubmonoidFunctor M✝\nM M' M'' : C ⥤ MonCat\nS✝ : SubmonoidFunctor M\nS' : SubmonoidFunctor M'\np : M ⟶ M'\nS : SubmonoidFunctor M\nU✝ V✝ : C\ni : U✝ ⟶ V✝\n⊢ Submonoid.map ((MonCat.Hom.hom (M'.map i)).comp (MonCat.Hom.hom (p.app U✝))) (S.obj U✝) ≤\n S...
Submonoid.map_map,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.CategoryTheory.Topos.Sheaf
{ "line": 106, "column": 2 }
{ "line": 108, "column": 18 }
{ "line": 109, "column": 2 }
[ { "pp": "case mp\nC : Type u\ninst✝ : Category.{v, u} C\nF G : Cᵒᵖ ⥤ Type (max u v)\nm : F ⟶ G\nχ' : G ⟶ Functor.sieves C\nX : Cᵒᵖ\nx : G.obj X\nh₁ : ∀ (x : Cᵒᵖ), m.app x ≫ χ'.app x = ((Functor.isTerminalConst Cᵒᵖ Types.isTerminalPUnit).from F).app x ≫ ↾fun x_1 ↦ ⊤\nh₂ : ∀ (x : Cᵒᵖ) (x₁ y₁ : F.obj x), (Concrete...
[ "case mpr\nC : Type u\ninst✝ : Category.{v, u} C\nF G : Cᵒᵖ ⥤ Type (max u v)\nm : F ⟶ G\nχ' : G ⟶ Functor.sieves C\nX : Cᵒᵖ\nx : G.obj X\nh₁ : ∀ (x : Cᵒᵖ), m.app x ≫ χ'.app x = ((Functor.isTerminalConst Cᵒᵖ Types.isTerminalPUnit).from F).app x ≫ ↾fun x_1 ↦ ⊤\nh₂ : ∀ (x : Cᵒᵖ) (x₁ y₁ : F.obj x), (ConcreteCategory.ho...
· intro h obtain ⟨z, hz⟩ := h₃ _ _ h use z, hz.symm
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.CategoryTheory.Triangulated.Generators
{ "line": 69, "column": 6 }
{ "line": 69, "column": 25 }
{ "line": 69, "column": 26 }
[ { "pp": "C : Type u_1\ninst✝⁵ : Category.{v_1, u_1} C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : Preadditive C\ninst✝¹ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝ : Pretriangulated C\nP : ObjectProperty C\n⊢ P.triangEnvelopeIter 0 = (P.shiftClosure ℤ).binaryProductsClosure.retractClosure", ...
[ "C : Type u_1\ninst✝⁵ : Category.{v_1, u_1} C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : Preadditive C\ninst✝¹ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝ : Pretriangulated C\nP : ObjectProperty C\n⊢ ((P.shiftClosure ℤ).binaryProductsClosure.retractClosure.extensionProductIter 0).retractClosure ...
triangEnvelopeIter,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.CategoryTheory.Triangulated.Generators
{ "line": 75, "column": 6 }
{ "line": 75, "column": 25 }
{ "line": 75, "column": 26 }
[ { "pp": "C : Type u_1\ninst✝⁵ : Category.{v_1, u_1} C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : Preadditive C\ninst✝¹ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝ : Pretriangulated C\nP : ObjectProperty C\nn : ℕ\n⊢ P.triangEnvelopeIter (n + 1) =\n ((P.shiftClosure ℤ).binaryProductsClosure...
[ "C : Type u_1\ninst✝⁵ : Category.{v_1, u_1} C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : Preadditive C\ninst✝¹ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝ : Pretriangulated C\nP : ObjectProperty C\nn : ℕ\n⊢ ((P.shiftClosure ℤ).binaryProductsClosure.retractClosure.extensionProductIter (n + 1)).re...
triangEnvelopeIter,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.CategoryTheory.Triangulated.Generators
{ "line": 83, "column": 6 }
{ "line": 83, "column": 25 }
{ "line": 83, "column": 26 }
[ { "pp": "C : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : HasZeroObject C\ninst✝⁴ : HasShift C ℤ\ninst✝³ : Preadditive C\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nP : ObjectProperty C\ninst✝ : IsTriangulated C\nn : ℕ\n⊢ P.triangEnvelopeIter (n + 1) =\n ((P.triangEnve...
[ "C : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : HasZeroObject C\ninst✝⁴ : HasShift C ℤ\ninst✝³ : Preadditive C\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nP : ObjectProperty C\ninst✝ : IsTriangulated C\nn : ℕ\n⊢ ((P.shiftClosure ℤ).binaryProductsClosure.retractClosure.exten...
triangEnvelopeIter,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.CategoryTheory.Triangulated.Generators
{ "line": 185, "column": 6 }
{ "line": 185, "column": 25 }
{ "line": 185, "column": 26 }
[ { "pp": "C : Type u_1\ninst✝⁷ : Category.{v_1, u_1} C\ninst✝⁶ : HasZeroObject C\ninst✝⁵ : HasShift C ℤ\ninst✝⁴ : Preadditive C\ninst✝³ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝² : Pretriangulated C\nP Q : ObjectProperty C\ninst✝¹ : Q.IsStableUnderRetracts\ninst✝ : Q.IsTriangulated\nh : P ≤ Q\nn : ℕ\n⊢ P.t...
[ "C : Type u_1\ninst✝⁷ : Category.{v_1, u_1} C\ninst✝⁶ : HasZeroObject C\ninst✝⁵ : HasShift C ℤ\ninst✝⁴ : Preadditive C\ninst✝³ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝² : Pretriangulated C\nP Q : ObjectProperty C\ninst✝¹ : Q.IsStableUnderRetracts\ninst✝ : Q.IsTriangulated\nh : P ≤ Q\nn : ℕ\n⊢ ((P.shiftClosur...
triangEnvelopeIter,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.CategoryTheory.Triangulated.TStructure.AbelianSubcategory
{ "line": 128, "column": 2 }
{ "line": 128, "column": 61 }
{ "line": 129, "column": 2 }
[ { "pp": "C : Type u_1\nA : Type u_2\ninst✝⁹ : Category.{v_1, u_1} C\ninst✝⁸ : HasZeroObject C\ninst✝⁷ : Preadditive C\ninst✝⁶ : HasShift C ℤ\ninst✝⁵ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝⁴ : Pretriangulated C\ninst✝³ : Category.{v_2, u_2} A\nι : A ⥤ C\nhι : ∀ ⦃X Y : A⦄ ⦃n : ℤ⦄ (f : ι.obj X ⟶ ι.obj Y⟦n⟧...
[ "C : Type u_1\nA : Type u_2\ninst✝⁹ : Category.{v_1, u_1} C\ninst✝⁸ : HasZeroObject C\ninst✝⁷ : Preadditive C\ninst✝⁶ : HasShift C ℤ\ninst✝⁵ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝⁴ : Pretriangulated C\ninst✝³ : Category.{v_2, u_2} A\nι : A ⥤ C\nhι : ∀ ⦃X Y : A⦄ ⦃n : ℤ⦄ (f : ι.obj X ⟶ ι.obj Y⟦n⟧), n < 0 → f...
obtain ⟨m, hm⟩ := Triangle.yoneda_exact₃ _ hT' (ι.map k) hl
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.CategoryTheory.Triangulated.Adjunction
{ "line": 102, "column": 10 }
{ "line": 105, "column": 66 }
{ "line": 106, "column": 8 }
[ { "pp": "C : Type u_1\nD : Type u_2\ninst✝¹⁵ : Category.{v_1, u_1} C\ninst✝¹⁴ : Category.{v_2, u_2} D\ninst✝¹³ : HasZeroObject C\ninst✝¹² : HasZeroObject D\ninst✝¹¹ : Preadditive C\ninst✝¹⁰ : Preadditive D\ninst✝⁹ : HasShift C ℤ\ninst✝⁸ : HasShift D ℤ\ninst✝⁷ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝⁶ : ∀...
[]
rw [hα, sub_comp, ← cancel_mono ((Functor.commShiftIso G (1 : ℤ)).hom.app T.obj₁), assoc, sub_comp, assoc, assoc, hψ, zero_comp, sub_eq_zero, ← cancel_mono ((Functor.commShiftIso G (1 : ℤ)).inv.app T.obj₁), assoc, assoc, assoc, assoc, h₂', Iso.hom_inv_id_app, comp_id]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Combinatorics.Additive.FreimanHom
{ "line": 152, "column": 78 }
{ "line": 152, "column": 92 }
{ "line": 152, "column": 93 }
[ { "pp": "α : Type u_2\nβ : Type u_3\ninst✝¹ : CommMonoid α\ninst✝ : CommMonoid β\nA : Set α\nB : Set β\nf : α → β\nn : ℕ\ng : β → α\nhg₁ : MapsTo g B A\nhg₂ : RightInvOn g f B\nhf : IsMulFreimanIso n A B f\ns t : Multiset β\nhsB : ∀ ⦃x : β⦄, x ∈ s → x ∈ B\nhtB : ∀ ⦃x : β⦄, x ∈ t → x ∈ B\nhs : s.card = n\nht : t...
[ "α : Type u_2\nβ : Type u_3\ninst✝¹ : CommMonoid α\ninst✝ : CommMonoid β\nA : Set α\nB : Set β\nf : α → β\nn : ℕ\ng : β → α\nhg₁ : MapsTo g B A\nhg₂ : RightInvOn g f B\nhf : IsMulFreimanIso n A B f\ns t : Multiset β\nhsB : ∀ ⦃x : β⦄, x ∈ s → x ∈ B\nhtB : ∀ ⦃x : β⦄, x ∈ t → x ∈ B\nhs : s.card = n\nht : t.card = n\n⊢...
map_congr rfl,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.Additive.FreimanHom
{ "line": 153, "column": 15 }
{ "line": 153, "column": 29 }
{ "line": 153, "column": 30 }
[ { "pp": "α : Type u_2\nβ : Type u_3\ninst✝¹ : CommMonoid α\ninst✝ : CommMonoid β\nA : Set α\nB : Set β\nf : α → β\nn : ℕ\ng : β → α\nhg₁ : MapsTo g B A\nhg₂ : RightInvOn g f B\nhf : IsMulFreimanIso n A B f\ns t : Multiset β\nhsB : ∀ ⦃x : β⦄, x ∈ s → x ∈ B\nhtB : ∀ ⦃x : β⦄, x ∈ t → x ∈ B\nhs : s.card = n\nht : t...
[ "α : Type u_2\nβ : Type u_3\ninst✝¹ : CommMonoid α\ninst✝ : CommMonoid β\nA : Set α\nB : Set β\nf : α → β\nn : ℕ\ng : β → α\nhg₁ : MapsTo g B A\nhg₂ : RightInvOn g f B\nhf : IsMulFreimanIso n A B f\ns t : Multiset β\nhsB : ∀ ⦃x : β⦄, x ∈ s → x ∈ B\nhtB : ∀ ⦃x : β⦄, x ∈ t → x ∈ B\nhs : s.card = n\nht : t.card = n\n⊢...
map_congr rfl,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.Additive.AP.Three.Defs
{ "line": 223, "column": 2 }
{ "line": 223, "column": 76 }
{ "line": 225, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝¹ : CommMonoidWithZero α\ninst✝ : IsCancelMulZero α\ns : Set α\na : α\nhs : ThreeGPFree s\nha : a ≠ 0\nb : α\nhb : b ∈ s\nc : α\nhc : c ∈ s\nd : α\nhd : d ∈ s\nh : (fun x ↦ a • x) b * (fun x ↦ a • x) d = (fun x ↦ a • x) c * (fun x ↦ a • x) c\n⊢ (fun x ↦ a • x) b = (fun x ↦ a • x) c",...
[]
congrm a • $(hs hb hc hd <| by simpa [mul_mul_mul_comm _ _ a, ha] using h)
Mathlib.Tactic._aux_Mathlib_Tactic_CongrM___elabRules_Mathlib_Tactic_congrM_1
Mathlib.Tactic.congrM
Mathlib.Combinatorics.Additive.AP.Three.Behrend
{ "line": 207, "column": 2 }
{ "line": 208, "column": 54 }
{ "line": 210, "column": 0 }
[ { "pp": "n d : ℕ\n⊢ (2 * d + 1) ^ n - 1 = (∑ i, d * (2 * d + 1) ^ ↑i) * 2", "ppTerm": "?m.68", "assigned": true, "usedConstants": [ "Eq.mpr", "Finset.mul_sum", "NonAssocSemiring.toAddCommMonoidWithOne", "Nat.instOrderedSub", "Nat.instIsOrderedAddMonoid", "HMul.hMu...
[]
rw [← sum_range fun i => d * (2 * d + 1) ^ (i : ℕ), ← mul_sum, mul_right_comm, mul_comm d, ← geom_sum_mul_add, add_tsub_cancel_right, mul_comm]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Combinatorics.Additive.SmallTripling
{ "line": 43, "column": 2 }
{ "line": 43, "column": 45 }
{ "line": 44, "column": 2 }
[ { "pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA : Finset G\nk : ℝ\nm : ℕ\nhm : 3 ≤ m\nh : ∀ (ε : Fin 3 → ℤ), (∀ (i : Fin 3), |ε i| = 1) → ↑(#(List.map (fun i ↦ A ^ ε i) (finRange 3)).prod) ≤ k * ↑(#A)\nε : Fin m → ℤ\nhε : ∀ (i : Fin m), |ε i| = 1\n⊢ ↑(#(List.map (fun i ↦ A ^ ε i) (finRange m))...
[]
induction m, hm using Nat.le_induction with
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Combinatorics.Additive.CauchyDavenport
{ "line": 85, "column": 83 }
{ "line": 86, "column": 47 }
{ "line": 88, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝¹ : Group α\ninst✝ : DecidableEq α\nx y : Finset α × Finset α\n⊢ DevosMulRel x y ↔\n #(x.1 * x.2) < #(y.1 * y.2) ∨\n #(x.1 * x.2) = #(y.1 * y.2) ∧ #y.1 + #y.2 < #x.1 + #x.2 ∨\n #(x.1 * x.2) = #(y.1 * y.2) ∧ #x.1 + #x.2 = #y.1 + #y.2 ∧ #x.1 < #y.1", "ppTerm": "?m.11...
[]
by simp [DevosMulRel, Prod.lex_iff, and_or_left]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.Partition.Equipartition
{ "line": 89, "column": 4 }
{ "line": 89, "column": 12 }
{ "line": 89, "column": 13 }
[ { "pp": "α : Type u_1\ninst✝ : DecidableEq α\ns : Finset α\nP : Finpartition s\nhP : P.IsEquipartition\nz :\n #({x ∈ P.parts | #x = #s / #P.parts + 1}) * (#s / #P.parts + 1) +\n #({p ∈ P.parts | ¬#p = #s / #P.parts + 1}) * (#s / #P.parts) =\n #s\n⊢ #({p ∈ P.parts | #p = #s / #P.parts + 1}) = #s % #P.pa...
[ "α : Type u_1\ninst✝ : DecidableEq α\ns : Finset α\nP : Finpartition s\nhP : P.IsEquipartition\nz :\n #({x ∈ P.parts | #x = #s / #P.parts + 1}) * (#s / #P.parts) + #({x ∈ P.parts | #x = #s / #P.parts + 1}) * 1 +\n #({p ∈ P.parts | ¬#p = #s / #P.parts + 1}) * (#s / #P.parts) =\n #s\n⊢ #({p ∈ P.parts | #p = ...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.Partition.Finpartition
{ "line": 145, "column": 10 }
{ "line": 145, "column": 25 }
{ "line": 145, "column": 26 }
[ { "pp": "α : Type u_1\ninst✝³ : Lattice α\ninst✝² : OrderBot α\nβ : Type u_2\ninst✝¹ : Lattice β\ninst✝ : OrderBot β\na : α\ne : α ≃o β\nP : Finpartition a\nu : Finset β\nhu : Finset.map (↑e).symm.toEmbedding u ⊆ P.parts\nx✝¹ : β\nhbu : x✝¹ ∉ u\nx✝ : β\nhx : x✝ ≤ id x✝¹\nhxu : x✝ ≤ u.sup id\nhb : (↑e).symm x✝¹ ...
[ "α : Type u_1\ninst✝³ : Lattice α\ninst✝² : OrderBot α\nβ : Type u_2\ninst✝¹ : Lattice β\ninst✝ : OrderBot β\na : α\ne : α ≃o β\nP : Finpartition a\nu : Finset β\nhu : Finset.map (↑e).symm.toEmbedding u ⊆ P.parts\nx✝¹ : β\nhbu : x✝¹ ∉ u\nx✝ : β\nhx : x✝ ≤ id x✝¹\nhxu : x✝ ≤ u.sup id\nhb : (↑e).symm x✝¹ ∈ P.parts\n⊢...
map_finset_sup,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Bound
{ "line": 144, "column": 14 }
{ "line": 144, "column": 22 }
{ "line": 144, "column": 23 }
[ { "pp": "α : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nP : Finpartition univ\nu : Finset α\nhucard : #u = m * 4 ^ #P.parts + a\n⊢ (4 ^ #P.parts - a) * m + a * (m + 1) = m * 4 ^ #P.parts + a", "ppTerm": "?m.210", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", ...
[ "α : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nP : Finpartition univ\nu : Finset α\nhucard : #u = m * 4 ^ #P.parts + a\n⊢ (4 ^ #P.parts - a) * m + (a * m + a * 1) = m * 4 ^ #P.parts + a" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Bound
{ "line": 153, "column": 57 }
{ "line": 153, "column": 65 }
{ "line": 153, "column": 66 }
[ { "pp": "α : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nP : Finpartition univ\nu : Finset α\nhP : P.IsEquipartition\nhu : u ∈ P.parts\nhucard : #u ≠ Fintype.card α / #P.parts\nthis : m * 4 ^ #P.parts ≤ Fintype.card α / #P.parts\n⊢ (4 ^ #P.parts - (a + 1)) * m + (a + 1) * (m + 1) = #univ / #P.parts + 1...
[ "α : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nP : Finpartition univ\nu : Finset α\nhP : P.IsEquipartition\nhu : u ∈ P.parts\nhucard : #u ≠ Fintype.card α / #P.parts\nthis : m * 4 ^ #P.parts ≤ Fintype.card α / #P.parts\n⊢ (4 ^ #P.parts - (a + 1)) * m + ((a + 1) * m + (a + 1) * 1) = #univ / #P.parts + 1" ...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.Density
{ "line": 142, "column": 53 }
{ "line": 142, "column": 62 }
{ "line": 142, "column": 63 }
[ { "pp": "α : Type u_4\nβ : Type u_5\nr : α → β → Prop\ninst✝ : (a : α) → DecidablePred (r a)\ns : Finset α\n⊢ ↑(#(interedges r s ∅)) / (↑(#s) * 0) = 0", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "Rat.instOfNat", "Eq.mpr", "Rat.instMul", "instHDiv", "HMul.h...
[ "α : Type u_4\nβ : Type u_5\nr : α → β → Prop\ninst✝ : (a : α) → DecidablePred (r a)\ns : Finset α\n⊢ ↑(#(interedges r s ∅)) / 0 = 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.Density
{ "line": 168, "column": 2 }
{ "line": 171, "column": 29 }
{ "line": 173, "column": 0 }
[ { "pp": "α : Type u_4\nβ : Type u_5\nr : α → β → Prop\ninst✝ : (a : α) → DecidablePred (r a)\ns₁ s₂ : Finset α\nt₁ t₂ : Finset β\nhs : s₂ ⊆ s₁\nht : t₂ ⊆ t₁\nhs₂ : s₂.Nonempty\nht₂ : t₂.Nonempty\n⊢ ↑(#s₂) / ↑(#s₁) * (↑(#t₂) / ↑(#t₁)) * edgeDensity r s₂ t₂ ≤ edgeDensity r s₁ t₁", "ppTerm": "?m.39", "assi...
[]
have hst : (#s₂ : ℚ) * #t₂ ≠ 0 := by simp [hs₂.ne_empty, ht₂.ne_empty] rw [edgeDensity, edgeDensity, div_mul_div_comm, mul_comm, div_mul_div_cancel₀ hst] gcongr exact interedges_mono hs ht
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Density
{ "line": 168, "column": 2 }
{ "line": 171, "column": 29 }
{ "line": 173, "column": 0 }
[ { "pp": "α : Type u_4\nβ : Type u_5\nr : α → β → Prop\ninst✝ : (a : α) → DecidablePred (r a)\ns₁ s₂ : Finset α\nt₁ t₂ : Finset β\nhs : s₂ ⊆ s₁\nht : t₂ ⊆ t₁\nhs₂ : s₂.Nonempty\nht₂ : t₂.Nonempty\n⊢ ↑(#s₂) / ↑(#s₁) * (↑(#t₂) / ↑(#t₁)) * edgeDensity r s₂ t₂ ≤ edgeDensity r s₁ t₁", "ppTerm": "?m.39", "assi...
[]
have hst : (#s₂ : ℚ) * #t₂ ≠ 0 := by simp [hs₂.ne_empty, ht₂.ne_empty] rw [edgeDensity, edgeDensity, div_mul_div_comm, mul_comm, div_mul_div_cancel₀ hst] gcongr exact interedges_mono hs ht
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Regularity.Lemma
{ "line": 154, "column": 8 }
{ "line": 154, "column": 22 }
{ "line": 154, "column": 23 }
[ { "pp": "case neg.refine_3\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.IsEquipartitio...
[ "case neg.refine_3\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₂ : #...
Nat.cast_succ,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Lemma
{ "line": 154, "column": 23 }
{ "line": 154, "column": 31 }
{ "line": 154, "column": 32 }
[ { "pp": "case neg.refine_3\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.IsEquipartitio...
[ "case neg.refine_3\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₂ : #...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Equitabilise
{ "line": 200, "column": 18 }
{ "line": 200, "column": 26 }
{ "line": 200, "column": 27 }
[ { "pp": "α : Type u_1\ninst✝ : DecidableEq α\ns : Finset α\nn : ℕ\nhn : 0 < n\nhs : n ≤ #s\n⊢ n * (#s / n) - #s % n * (#s / n) + #s % n * (#s / n + 1) = #s", "ppTerm": "?m.114", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "instHDiv", "HMul.hMul"...
[ "α : Type u_1\ninst✝ : DecidableEq α\ns : Finset α\nn : ℕ\nhn : 0 < n\nhs : n ≤ #s\n⊢ n * (#s / n) - #s % n * (#s / n) + (#s % n * (#s / n) + #s % n * 1) = #s" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 186, "column": 60 }
{ "line": 186, "column": 68 }
{ "line": 188, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nU : Finset α\nhU : U ∈ P.parts\ns : Finset α\nhs : s ∈ (chunk hP G ε hU).parts\ni : #s = m + 1\n⊢ m ≤ #s", "ppTerm": "?m.64", "assigned"...
[]
simp [i]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 186, "column": 60 }
{ "line": 186, "column": 68 }
{ "line": 188, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nU : Finset α\nhU : U ∈ P.parts\ns : Finset α\nhs : s ∈ (chunk hP G ε hU).parts\ni : #s = m + 1\n⊢ m ≤ #s", "ppTerm": "?m.64", "assigned"...
[]
simp [i]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 186, "column": 60 }
{ "line": 186, "column": 68 }
{ "line": 188, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nU : Finset α\nhU : U ∈ P.parts\ns : Finset α\nhs : s ∈ (chunk hP G ε hU).parts\ni : #s = m + 1\n⊢ m ≤ #s", "ppTerm": "?m.64", "assigned"...
[]
simp [i]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 189, "column": 52 }
{ "line": 189, "column": 60 }
{ "line": 189, "column": 60 }
[ { "pp": "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nU : Finset α\nhU : U ∈ P.parts\ns : Finset α\nhs : s ∈ (chunk hP G ε hU).parts\ni : #s = m\n⊢ #s ≤ m + 1", "ppTerm": "?m.66", "assigned"...
[]
simp [i]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 189, "column": 52 }
{ "line": 189, "column": 60 }
{ "line": 189, "column": 60 }
[ { "pp": "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nU : Finset α\nhU : U ∈ P.parts\ns : Finset α\nhs : s ∈ (chunk hP G ε hU).parts\ni : #s = m\n⊢ #s ≤ m + 1", "ppTerm": "?m.66", "assigned"...
[]
simp [i]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 189, "column": 52 }
{ "line": 189, "column": 60 }
{ "line": 189, "column": 60 }
[ { "pp": "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nU : Finset α\nhU : U ∈ P.parts\ns : Finset α\nhs : s ∈ (chunk hP G ε hU).parts\ni : #s = m\n⊢ #s ≤ m + 1", "ppTerm": "?m.66", "assigned"...
[]
simp [i]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Finite
{ "line": 305, "column": 88 }
{ "line": 306, "column": 70 }
{ "line": 308, "column": 0 }
[ { "pp": "V : Type u_1\nG H : SimpleGraph V\ne : Sym2 V\nv : V\ninst✝ : Fintype ↑(G.neighborSet v)\n⊢ Bijective fun x ↦ ⟨s(v, ↑x), ⋯⟩", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "SimpleGraph.incidenceSet", "Equiv.bijective", "SimpleGraph.incidenceSetEquivNeighborSet", ...
[]
by classical exact G.incidenceSetEquivNeighborSet v |>.symm.bijective
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Walk.Traversal
{ "line": 194, "column": 2 }
{ "line": 195, "column": 76 }
{ "line": 197, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nh : ¬p.Nil\n⊢ p.penultimate ∈ p.support.dropLast", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "SimpleGraph.Walk.adj_penultimate", "SimpleGraph.Adj.ne", "Ne", "_private.Mathlib.Combinatorics.SimpleGr...
[]
have := adj_penultimate h |>.ne grind [getVert_mem_support, List.dropLast_concat_getLast, getLast_support]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Walk.Traversal
{ "line": 194, "column": 2 }
{ "line": 195, "column": 76 }
{ "line": 197, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nh : ¬p.Nil\n⊢ p.penultimate ∈ p.support.dropLast", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "SimpleGraph.Walk.adj_penultimate", "SimpleGraph.Adj.ne", "Ne", "_private.Mathlib.Combinatorics.SimpleGr...
[]
have := adj_penultimate h |>.ne grind [getVert_mem_support, List.dropLast_concat_getLast, getLast_support]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Walk.Traversal
{ "line": 228, "column": 2 }
{ "line": 229, "column": 27 }
{ "line": 231, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nh₁ : ¬p.Nil\nh₂ : 0 < p.darts.length\n⊢ p.lastDart h₁ = p.darts[p.darts.length - 1]", "ppTerm": "?m.48", "assigned": true, "usedConstants": [ "SimpleGraph.Walk.lastDart", "_private.Mathlib.Combinatorics.SimpleGraph.Walk.Tra...
[]
simp (disch := grind) [Dart.ext_iff, lastDart_toProd, darts_getElem_eq_getVert, p.getVert_of_length_le]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.SimpleGraph.Walk.Traversal
{ "line": 228, "column": 2 }
{ "line": 229, "column": 27 }
{ "line": 231, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nh₁ : ¬p.Nil\nh₂ : 0 < p.darts.length\n⊢ p.lastDart h₁ = p.darts[p.darts.length - 1]", "ppTerm": "?m.48", "assigned": true, "usedConstants": [ "SimpleGraph.Walk.lastDart", "_private.Mathlib.Combinatorics.SimpleGraph.Walk.Tra...
[]
simp (disch := grind) [Dart.ext_iff, lastDart_toProd, darts_getElem_eq_getVert, p.getVert_of_length_le]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Walk.Traversal
{ "line": 228, "column": 2 }
{ "line": 229, "column": 27 }
{ "line": 231, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nv w : V\np : G.Walk v w\nh₁ : ¬p.Nil\nh₂ : 0 < p.darts.length\n⊢ p.lastDart h₁ = p.darts[p.darts.length - 1]", "ppTerm": "?m.48", "assigned": true, "usedConstants": [ "SimpleGraph.Walk.lastDart", "_private.Mathlib.Combinatorics.SimpleGraph.Walk.Tra...
[]
simp (disch := grind) [Dart.ext_iff, lastDart_toProd, darts_getElem_eq_getVert, p.getVert_of_length_le]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Subgraph
{ "line": 1242, "column": 9 }
{ "line": 1242, "column": 33 }
{ "line": 1242, "column": 33 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nG' : G.Subgraph\nx✝² : ∃ s, G' = ⊤.induce s\nx✝¹ : V\nhu : x✝¹ ∈ G'.verts\nx✝ : V\nhv : x✝ ∈ G'.verts\nhadj : G.Adj x✝¹ x✝\ns : Set V\nh : G' = ⊤.induce s\n⊢ (⊤.induce s).Adj x✝¹ x✝", "ppTerm": "?m.50", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[ "V : Type u\nG : SimpleGraph V\nG' : G.Subgraph\nx✝² : ∃ s, G' = ⊤.induce s\nx✝¹ : V\nhu : x✝¹ ∈ G'.verts\nx✝ : V\nhv : x✝ ∈ G'.verts\nhadj : G.Adj x✝¹ x✝\ns : Set V\nh : G' = ⊤.induce s\n⊢ (⊤.induce G'.verts).Adj x✝¹ x✝" ]
(h ▸ rfl : s = G'.verts)
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 307, "column": 8 }
{ "line": 307, "column": 81 }
{ "line": 308, "column": 8 }
[ { "pp": "case refine_1\nα : Type u_1\ninst✝³ : Fintype α\ninst✝² : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝¹ : DecidableRel G.Adj\nε : ℝ\nU V : Finset α\ninst✝ : Nonempty α\nhPα : #P.parts * 16 ^ #P.parts ≤ Fintype.card α\nhPε : 100 ≤ 4 ^ #P.parts * ε ^ 5\nhε₁ : ε ≤...
[ "case refine_1\nα : Type u_1\ninst✝³ : Fintype α\ninst✝² : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝¹ : DecidableRel G.Adj\nε : ℝ\nU V : Finset α\ninst✝ : Nonempty α\nhPα : #P.parts * 16 ^ #P.parts ≤ Fintype.card α\nhPε : 100 ≤ 4 ^ #P.parts * ε ^ 5\nhε₁ : ε ≤ 1\nhU : U ∈...
rw [sq, mul_mul_mul_comm, mul_comm (_ / (m : ℝ)), mul_comm (_ / (m : ℝ))]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Combinatorics.SimpleGraph.Walk.Operations
{ "line": 555, "column": 81 }
{ "line": 556, "column": 59 }
{ "line": 558, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nn : ℕ\n⊢ (p.drop n).length = p.length - n", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "of_decide_eq_true", "congrArg", "Nat.Simproc.add_sub_add_le", "SimpleGraph.Walk.length", "SimpleGraph.Ad...
[]
by induction p generalizing n <;> cases n <;> simp [*, drop]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Walk.Operations
{ "line": 573, "column": 79 }
{ "line": 574, "column": 59 }
{ "line": 576, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nn : ℕ\n⊢ (p.drop n).Nil ↔ p.length ≤ n", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "False", "Nat.instOne", "instReflLe", "congrArg", "SimpleGraph.Walk.length", "SimpleGraph.Adj", ...
[]
by induction p generalizing n <;> cases n <;> simp [*, drop]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Walk.Operations
{ "line": 583, "column": 81 }
{ "line": 584, "column": 59 }
{ "line": 586, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nn : ℕ\n⊢ (p.drop n).darts = List.drop n p.darts", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "SimpleGraph.Walk.darts_copy", "congrArg", "List.drop_zero", "SimpleGraph.Adj", "SimpleGraph.Walk",...
[]
by induction p generalizing n <;> cases n <;> simp [*, drop]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Walk.Decomp
{ "line": 287, "column": 61 }
{ "line": 294, "column": 39 }
{ "line": 296, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nv w u : V\ninst✝ : DecidableEq V\nn : ℕ\np : G.Walk v w\nh : u ∈ p.support\nhn : n < (p.takeUntil u h).length\n⊢ p.getVert n ≠ u", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "_private.Mathlib.Combinatorics.SimpleGraph.Walk.Decomp.0.SimpleGra...
[]
by rintro rfl have h₁ : n < (p.takeUntil _ h).support.dropLast.length := by simpa have : p.getVert n ∈ (p.takeUntil _ h).support.dropLast := by simp_rw [p.getVert_takeUntil h hn.le ▸ getVert_eq_support_getElem _ hn.le, ← List.getElem_dropLast h₁, List.getElem_mem h₁] have := dropLast_support_concat _ ...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Walk.Operations
{ "line": 586, "column": 81 }
{ "line": 587, "column": 59 }
{ "line": 589, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nn : ℕ\n⊢ (p.drop n).edges = List.drop n p.edges", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "SimpleGraph.Walk.edges_copy", "Sym2.mk", "congrArg", "List.drop_zero", "SimpleGraph.Adj", "S...
[]
by induction p generalizing n <;> cases n <;> simp [*, drop]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 327, "column": 4 }
{ "line": 328, "column": 67 }
{ "line": 329, "column": 2 }
[ { "pp": "case left\nα : Type u_1\ninst✝³ : Fintype α\ninst✝² : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝¹ : DecidableRel G.Adj\nε : ℝ\nU V : Finset α\ninst✝ : Nonempty α\nhPα : #P.parts * 16 ^ #P.parts ≤ Fintype.card α\nhPε : 100 ≤ 4 ^ #P.parts * ε ^ 5\nhε₁ : ε ≤ 1\n...
[]
rw [sub_le_iff_le_add'] exact sum_density_div_card_le_density_add_eps hPα hPε hε₁ hA hB
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 327, "column": 4 }
{ "line": 328, "column": 67 }
{ "line": 329, "column": 2 }
[ { "pp": "case left\nα : Type u_1\ninst✝³ : Fintype α\ninst✝² : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝¹ : DecidableRel G.Adj\nε : ℝ\nU V : Finset α\ninst✝ : Nonempty α\nhPα : #P.parts * 16 ^ #P.parts ≤ Fintype.card α\nhPε : 100 ≤ 4 ^ #P.parts * ε ^ 5\nhε₁ : ε ≤ 1\n...
[]
rw [sub_le_iff_le_add'] exact sum_density_div_card_le_density_add_eps hPα hPε hε₁ hA hB
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Walk.Operations
{ "line": 692, "column": 58 }
{ "line": 693, "column": 59 }
{ "line": 695, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\nu v : V\np : G.Walk u v\nn : ℕ\n⊢ (p.drop n).support = List.drop (min n p.length) p.support", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "instDistribLatticeNat", "congrArg", "inf_of_le_left", "Nat.add_min_add_right", ...
[]
by induction p generalizing n <;> cases n <;> simp [*, drop]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 367, "column": 2 }
{ "line": 374, "column": 10 }
{ "line": 376, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nU V : Finset α\nhPε : 100 ≤ 4 ^ #P.parts * ε ^ 5\nhε₁ : ε ≤ 1\nhU : U ∈ P.parts\nhV : V ∈ P.parts\nhUV' : U ≠ V\nhUV : ¬G.IsUniform ε U V\n⊢ |↑(...
[]
convert! abs_edgeDensity_sub_edgeDensity_le_two_mul G.Adj (biUnion_star_subset_nonuniformWitness hP G ε hU V) (biUnion_star_subset_nonuniformWitness hP G ε hV U) (by sz_positivity) (one_sub_eps_mul_card_nonuniformWitness_le_card_star hV hUV' hUV hPε hε₁) (one_sub_eps_mul_card_nonuniformWitne...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
{ "line": 367, "column": 2 }
{ "line": 374, "column": 10 }
{ "line": 376, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝² : Fintype α\ninst✝¹ : DecidableEq α\nP : Finpartition univ\nhP : P.IsEquipartition\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nU V : Finset α\nhPε : 100 ≤ 4 ^ #P.parts * ε ^ 5\nhε₁ : ε ≤ 1\nhU : U ∈ P.parts\nhV : V ∈ P.parts\nhUV' : U ≠ V\nhUV : ¬G.IsUniform ε U V\n⊢ |↑(...
[]
convert! abs_edgeDensity_sub_edgeDensity_le_two_mul G.Adj (biUnion_star_subset_nonuniformWitness hP G ε hU V) (biUnion_star_subset_nonuniformWitness hP G ε hV U) (by sz_positivity) (one_sub_eps_mul_card_nonuniformWitness_le_card_star hV hUV' hUV hPε hε₁) (one_sub_eps_mul_card_nonuniformWitne...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Triangle.Basic
{ "line": 100, "column": 6 }
{ "line": 100, "column": 54 }
{ "line": 101, "column": 6 }
[ { "pp": "case mp\nα : Type u_1\nG : SimpleGraph α\na b : α\nhab✝ : a ≠ b\nc d e : α\nhcd : G.Adj c d\nhce : G.Adj c e\nhde : G.Adj d e\nhab : (a = c ∨ a = d ∨ a = e) ∧ (b = c ∨ b = d ∨ b = e)\n⊢ G.Adj a b ∧ ∃ c_1, G.Adj a c_1 ∧ G.Adj b c_1 ∧ {c, d, e} = {a, b, c_1}", "ppTerm": "?mp", "assigned": true, ...
[ "case mp.inl.inl\nα : Type u_1\nG : SimpleGraph α\nb d e : α\nhde : G.Adj d e\nhab : b ≠ b\nhcd : G.Adj b d\nhce : G.Adj b e\n⊢ G.Adj b b ∧ ∃ c, G.Adj b c ∧ G.Adj b c ∧ {b, d, e} = {b, b, c}", "case mp.inl.inr.inl\nα : Type u_1\nG : SimpleGraph α\na b : α\nhab : a ≠ b\ne : α\nhce : G.Adj a e\nhde : G.Adj b e\nhcd...
obtain ⟨rfl | rfl | rfl, rfl | rfl | rfl⟩ := hab
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Combinatorics.SimpleGraph.Clique
{ "line": 60, "column": 2 }
{ "line": 60, "column": 47 }
{ "line": 61, "column": 2 }
[ { "pp": "α : Type u_1\nG : SimpleGraph α\ns : Set α\n⊢ induce s G = ⊤ ↔ s.Pairwise G.Adj", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "SimpleGraph.Adj", "Membership.mem", "Set.Elem", "Ne", "Set.Pairwise", "SimpleGraph", "BooleanAlgebra.toTop", ...
[ "case refine_1\nα : Type u_1\nG : SimpleGraph α\ns : Set α\nh : induce s G = ⊤\nu : α\nhu : u ∈ s\nv : α\nhv : v ∈ s\nhne : u ≠ v\n⊢ G.Adj u v", "case refine_2\nα : Type u_1\nG : SimpleGraph α\ns : Set α\nh : s.Pairwise G.Adj\n⊢ induce s G = ⊤" ]
refine ⟨fun h u hu v hv hne ↦ ?_, fun h ↦ ?_⟩
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Combinatorics.SimpleGraph.Clique
{ "line": 204, "column": 2 }
{ "line": 206, "column": 30 }
{ "line": 208, "column": 0 }
[ { "pp": "α : Type u_1\nG : SimpleGraph α\nv w : α\ns : Set α\nhc : (G ⊔ edge v w).IsClique s\n⊢ G.IsClique (s \\ {v})", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "False", "_private.Mathlib.Combinatorics.SimpleGraph.Clique.0.SimpleGraph.IsClique.sdiff_of_sup_edge._simp_1_2",...
[]
intro _ hx _ hy hxy have := hc hx.1 hy.1 hxy simp_all [sup_adj, edge_adj]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Clique
{ "line": 204, "column": 2 }
{ "line": 206, "column": 30 }
{ "line": 208, "column": 0 }
[ { "pp": "α : Type u_1\nG : SimpleGraph α\nv w : α\ns : Set α\nhc : (G ⊔ edge v w).IsClique s\n⊢ G.IsClique (s \\ {v})", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "False", "_private.Mathlib.Combinatorics.SimpleGraph.Clique.0.SimpleGraph.IsClique.sdiff_of_sup_edge._simp_1_2",...
[]
intro _ hx _ hy hxy have := hc hx.1 hy.1 hxy simp_all [sup_adj, edge_adj]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Triangle.Basic
{ "line": 90, "column": 2 }
{ "line": 129, "column": 68 }
{ "line": 131, "column": 0 }
[ { "pp": "α : Type u_1\nG : SimpleGraph α\n⊢ G.EdgeDisjointTriangles ↔ ∀ ⦃e : Sym2 α⦄, ¬e.IsDiag → {s | s ∈ G.cliqueSet 3 ∧ e ∈ s.sym2}.Subsingleton", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Iff.mpr", "Set.ext", "Eq.mpr", "False", "Finset.coe_singleton",...
[]
classical have (a b) (hab : a ≠ b) : {s ∈ (G.cliqueSet 3 : Set (Finset α)) | s(a, b) ∈ (s : Finset α).sym2} = {s | G.Adj a b ∧ ∃ c, G.Adj a c ∧ G.Adj b c ∧ s = {a, b, c}} := by ext s simp only [mem_sym2_iff, Sym2.mem_iff, forall_eq_or_imp, forall_eq, mem_cliqueSet_iff, Set.mem_ofPred_eq, is3Cl...
Lean.Elab.Tactic.evalClassical
Lean.Parser.Tactic.classical
Mathlib.Combinatorics.SimpleGraph.Triangle.Basic
{ "line": 90, "column": 2 }
{ "line": 129, "column": 68 }
{ "line": 131, "column": 0 }
[ { "pp": "α : Type u_1\nG : SimpleGraph α\n⊢ G.EdgeDisjointTriangles ↔ ∀ ⦃e : Sym2 α⦄, ¬e.IsDiag → {s | s ∈ G.cliqueSet 3 ∧ e ∈ s.sym2}.Subsingleton", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Iff.mpr", "Set.ext", "Eq.mpr", "False", "Finset.coe_singleton",...
[]
classical have (a b) (hab : a ≠ b) : {s ∈ (G.cliqueSet 3 : Set (Finset α)) | s(a, b) ∈ (s : Finset α).sym2} = {s | G.Adj a b ∧ ∃ c, G.Adj a c ∧ G.Adj b c ∧ s = {a, b, c}} := by ext s simp only [mem_sym2_iff, Sym2.mem_iff, forall_eq_or_imp, forall_eq, mem_cliqueSet_iff, Set.mem_ofPred_eq, is3Cl...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Triangle.Basic
{ "line": 90, "column": 2 }
{ "line": 129, "column": 68 }
{ "line": 131, "column": 0 }
[ { "pp": "α : Type u_1\nG : SimpleGraph α\n⊢ G.EdgeDisjointTriangles ↔ ∀ ⦃e : Sym2 α⦄, ¬e.IsDiag → {s | s ∈ G.cliqueSet 3 ∧ e ∈ s.sym2}.Subsingleton", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Iff.mpr", "Set.ext", "Eq.mpr", "False", "Finset.coe_singleton",...
[]
classical have (a b) (hab : a ≠ b) : {s ∈ (G.cliqueSet 3 : Set (Finset α)) | s(a, b) ∈ (s : Finset α).sym2} = {s | G.Adj a b ∧ ∃ c, G.Adj a c ∧ G.Adj b c ∧ s = {a, b, c}} := by ext s simp only [mem_sym2_iff, Sym2.mem_iff, forall_eq_or_imp, forall_eq, mem_cliqueSet_iff, Set.mem_ofPred_eq, is3Cl...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Clique
{ "line": 540, "column": 4 }
{ "line": 540, "column": 31 }
{ "line": 542, "column": 0 }
[ { "pp": "case mpr\nα : Type u_1\n⊢ ⊥.CliqueFree 2", "ppTerm": "?mpr", "assigned": true, "usedConstants": [ "le_rfl", "SimpleGraph.cliqueFree_bot", "instOfNatNat", "Nat.instPreorder", "Nat", "OfNat.ofNat" ], "usedFVars": [ "α" ], "usedGoals": ...
[]
exact cliqueFree_bot le_rfl
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Combinatorics.SimpleGraph.DegreeSum
{ "line": 127, "column": 2 }
{ "line": 138, "column": 9 }
{ "line": 140, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\n⊢ Even #{v | Odd (G.degree v)}", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "Eq.mpr", "instDecidableNot", "NonAssocSemiring.toAddCommMonoidWithOne", "False", "SimpleGrap...
[]
have h := congr(($G.sum_degrees_eq_twice_card_edges : ZMod 2)) simp only [ZMod.natCast_self, zero_mul, Nat.cast_mul] at h rw [Nat.cast_sum, ← sum_filter_ne_zero] at h rw [sum_congr (g := fun _v ↦ (1 : ZMod 2)) rfl] at h · simp only [mul_one, nsmul_eq_mul, sum_const, Ne] at h rw [← ZMod.natCast_eq_zero_iff_e...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.DegreeSum
{ "line": 127, "column": 2 }
{ "line": 138, "column": 9 }
{ "line": 140, "column": 0 }
[ { "pp": "V : Type u\nG : SimpleGraph V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\n⊢ Even #{v | Odd (G.degree v)}", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "Eq.mpr", "instDecidableNot", "NonAssocSemiring.toAddCommMonoidWithOne", "False", "SimpleGrap...
[]
have h := congr(($G.sum_degrees_eq_twice_card_edges : ZMod 2)) simp only [ZMod.natCast_self, zero_mul, Nat.cast_mul] at h rw [Nat.cast_sum, ← sum_filter_ne_zero] at h rw [sum_congr (g := fun _v ↦ (1 : ZMod 2)) rfl] at h · simp only [mul_one, nsmul_eq_mul, sum_const, Ne] at h rw [← ZMod.natCast_eq_zero_iff_e...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Clique
{ "line": 726, "column": 2 }
{ "line": 726, "column": 18 }
{ "line": 727, "column": 2 }
[ { "pp": "case h\nα : Type u_3\nG : SimpleGraph α\ninst✝ : Finite α\nthis : Fintype α\ny : ℕ\ns : Finset α\nsyc : G.IsClique ↑s ∧ #s = y\n⊢ y ≤ Fintype.card α", "ppTerm": "?h", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Finset", "Fintype.card", "id", ...
[ "case h\nα : Type u_3\nG : SimpleGraph α\ninst✝ : Finite α\nthis : Fintype α\ny : ℕ\ns : Finset α\nsyc : G.IsClique ↑s ∧ #s = y\n⊢ #s ≤ Fintype.card α" ]
rw [← syc.right]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Combinatorics.SimpleGraph.Triangle.Removal
{ "line": 124, "column": 27 }
{ "line": 124, "column": 63 }
{ "line": 125, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝³ : DecidableEq α\ninst✝² : Fintype α\nG : SimpleGraph α\ninst✝¹ : DecidableRel G.Adj\nP : Finpartition univ\nε : ℝ\ninst✝ : Nonempty α\nhε : 0 < ε\nhP : P.IsEquipartition\nhPε : P.IsUniform G (ε / 8)\nhP' : 4 / ε ≤ ↑(#P.parts)\nA : Finset (α × α) :=\n (P.nonUniforms G (ε / 8)).biUn...
[]
gcongr; exact unreduced_edges_subset
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Triangle.Removal
{ "line": 124, "column": 27 }
{ "line": 124, "column": 63 }
{ "line": 125, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝³ : DecidableEq α\ninst✝² : Fintype α\nG : SimpleGraph α\ninst✝¹ : DecidableRel G.Adj\nP : Finpartition univ\nε : ℝ\ninst✝ : Nonempty α\nhε : 0 < ε\nhP : P.IsEquipartition\nhPε : P.IsUniform G (ε / 8)\nhP' : 4 / ε ≤ ↑(#P.parts)\nA : Finset (α × α) :=\n (P.nonUniforms G (ε / 8)).biUn...
[]
gcongr; exact unreduced_edges_subset
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Triangle.Removal
{ "line": 128, "column": 6 }
{ "line": 128, "column": 75 }
{ "line": 129, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝³ : DecidableEq α\ninst✝² : Fintype α\nG : SimpleGraph α\ninst✝¹ : DecidableRel G.Adj\nP : Finpartition univ\nε : ℝ\ninst✝ : Nonempty α\nhε : 0 < ε\nhP : P.IsEquipartition\nhPε : P.IsUniform G (ε / 8)\nhP' : 4 / ε ≤ ↑(#P.parts)\nA : Finset (α × α) :=\n (P.nonUniforms G (ε / 8)).biUn...
[]
gcongr; exact hP.sum_nonUniforms_lt univ_nonempty (by positivity) hPε
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Triangle.Removal
{ "line": 128, "column": 6 }
{ "line": 128, "column": 75 }
{ "line": 129, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝³ : DecidableEq α\ninst✝² : Fintype α\nG : SimpleGraph α\ninst✝¹ : DecidableRel G.Adj\nP : Finpartition univ\nε : ℝ\ninst✝ : Nonempty α\nhε : 0 < ε\nhP : P.IsEquipartition\nhPε : P.IsUniform G (ε / 8)\nhP' : 4 / ε ≤ ↑(#P.parts)\nA : Finset (α × α) :=\n (P.nonUniforms G (ε / 8)).biUn...
[]
gcongr; exact hP.sum_nonUniforms_lt univ_nonempty (by positivity) hPε
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Additive.SubsetSum
{ "line": 39, "column": 74 }
{ "line": 39, "column": 90 }
{ "line": 41, "column": 0 }
[ { "pp": "M : Type u_1\ninst✝¹ : DecidableEq M\ninst✝ : AddCommMonoid M\nA : Finset M\na : M\n⊢ a ∈ A.subsetSum ↔ ∃ B ⊆ A, ∑ b ∈ B, b = a", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Finset.subsetSum", "congrArg", "Finset", "PartialOrder.toPreorder", "Finse...
[]
simp [subsetSum]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.Additive.SubsetSum
{ "line": 39, "column": 74 }
{ "line": 39, "column": 90 }
{ "line": 41, "column": 0 }
[ { "pp": "M : Type u_1\ninst✝¹ : DecidableEq M\ninst✝ : AddCommMonoid M\nA : Finset M\na : M\n⊢ a ∈ A.subsetSum ↔ ∃ B ⊆ A, ∑ b ∈ B, b = a", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Finset.subsetSum", "congrArg", "Finset", "PartialOrder.toPreorder", "Finse...
[]
simp [subsetSum]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Additive.SubsetSum
{ "line": 39, "column": 74 }
{ "line": 39, "column": 90 }
{ "line": 41, "column": 0 }
[ { "pp": "M : Type u_1\ninst✝¹ : DecidableEq M\ninst✝ : AddCommMonoid M\nA : Finset M\na : M\n⊢ a ∈ A.subsetSum ↔ ∃ B ⊆ A, ∑ b ∈ B, b = a", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Finset.subsetSum", "congrArg", "Finset", "PartialOrder.toPreorder", "Finse...
[]
simp [subsetSum]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Additive.ErdosGinzburgZiv
{ "line": 81, "column": 4 }
{ "line": 82, "column": 72 }
{ "line": 83, "column": 4 }
[ { "pp": "case refine_2.refine_1\nι : Type u_1\np : ℕ\ninst✝ : Fact (Nat.Prime p)\ns : Finset ι\na : ι → ZMod p\nhs : #s = 2 * p - 1\nthis : NeZero p\nN : ℕ := Fintype.card { x // (eval x) (f₁ s a) = 0 ∧ (eval x) (f₂ s a) = 0 }\nzero_sol : { x // (eval x) (f₁ s a) = 0 ∧ (eval x) (f₂ s a) = 0 } := ⟨0, ⋯⟩\nhN₀ : 0...
[ "case refine_2.refine_2\nι : Type u_1\np : ℕ\ninst✝ : Fact (Nat.Prime p)\ns : Finset ι\na : ι → ZMod p\nhs : #s = 2 * p - 1\nthis : NeZero p\nN : ℕ := Fintype.card { x // (eval x) (f₁ s a) = 0 ∧ (eval x) (f₂ s a) = 0 }\nzero_sol : { x // (eval x) (f₁ s a) = 0 ∧ (eval x) (f₂ s a) = 0 } := ⟨0, ⋯⟩\nhN₀ : 0 < N\nhs' : ...
· rw [← Subtype.coe_ne_coe, Function.ne_iff] at hx exact hx.imp (fun a ha ↦ mem_filter.2 ⟨Finset.mem_attach _ _, ha⟩)
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Combinatorics.Derangements.Finite
{ "line": 100, "column": 62 }
{ "line": 100, "column": 70 }
{ "line": 100, "column": 71 }
[ { "pp": "case ind.succ.succ\nn : ℕ\nhyp : ∀ m < n + 1 + 1, card ↑(derangements (Fin m)) = numDerangements m\n⊢ (n + 1) * card ↑(derangements (Fin n)) + (n + 1) * card ↑(derangements (Fin (n + 1))) =\n (n + 1) * (numDerangements n + numDerangements (n + 1))", "ppTerm": "?ind.succ.succ", "assigned": tr...
[ "case ind.succ.succ\nn : ℕ\nhyp : ∀ m < n + 1 + 1, card ↑(derangements (Fin m)) = numDerangements m\n⊢ (n + 1) * card ↑(derangements (Fin n)) + (n + 1) * card ↑(derangements (Fin (n + 1))) =\n (n + 1) * numDerangements n + (n + 1) * numDerangements (n + 1)" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.Additive.VerySmallDoubling
{ "line": 195, "column": 4 }
{ "line": 195, "column": 90 }
{ "line": 197, "column": 0 }
[ { "pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : DecidableEq G\nK : ℝ\nA✝ B S : Finset G\na✝ b✝ c✝ d✝ x y : G\nA : Finset G\nh : ↑(#(A * A)) < 3 / 2 * ↑(#A)\nh₁ : ∀ x ∈ A, ∀ y ∈ A, 1 / 2 * ↑(#A) < ↑(#(x •> A ∩ y •> A))\na : G\nha : a⁻¹ ∈ A\nb : G\nhb : b ∈ A\nc : G\nhc : c⁻¹ ∈ A\nd : G\nhd : d ∈ A\nh₂ : 1 / 2 *...
[]
exact ⟨a * b * t, by simp [ht, mul_assoc], ((c * d)⁻¹ * t)⁻¹, by simp [ht, mul_assoc]⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Combinatorics.Additive.VerySmallDoubling
{ "line": 223, "column": 36 }
{ "line": 223, "column": 48 }
{ "line": 223, "column": 48 }
[ { "pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : DecidableEq G\nA : Finset G\nh : ↑(#(A * A)) < 3 / 2 * ↑(#A)\nh₀ : A.Nonempty\nh₁ : ∀ a ∈ A⁻¹ * A, 1 / 2 * ↑(#A) < ↑(#({xy ∈ A ×ˢ A | xy.1 * xy.2⁻¹ = a}))\nh₂ :\n ∀ x ∈ A ×ˢ A,\n (fun x ↦\n match x with\n | (x, y) => x * y⁻¹)\n x ∈\n ...
[]
by simp [h₀]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.Configuration
{ "line": 502, "column": 19 }
{ "line": 502, "column": 30 }
{ "line": 503, "column": 2 }
[ { "pp": "case h\nK : Type u_3\ninst✝ : Field K\nb c d : ℙ K (Fin 3 → K)\nhbc : b.orthogonal c\nhbd : b.orthogonal d\na : Fin 3 → K\nha : a ≠ 0\nhac : (Projectivization.mk K a ha).orthogonal c\nhad : (Projectivization.mk K a ha).orthogonal d\n⊢ Projectivization.mk K a ha = b ∨ c = d", "ppTerm": "?h", "as...
[]
| h a ha =>
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Combinatorics.Enumerative.DyckWord
{ "line": 115, "column": 2 }
{ "line": 115, "column": 21 }
{ "line": 115, "column": 21 }
[ { "pp": "p : DyckWord\nh : ↑p ≠ []\n⊢ (↑p).head h = U", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "List.head", "instDecidableEqDyckStep", "DyckStep.U", "DyckWord", "Ne", "DyckWord.mk", "LE.le", "instLENat", "instBEqOfDecidableEq", ...
[ "case nil\ncount_U_eq_count_D✝ : count U [] = count D []\ncount_D_le_count_U✝ : ∀ (i : ℕ), count D (take i []) ≤ count U (take i [])\nh : ↑{ toList := [], count_U_eq_count_D := count_U_eq_count_D✝, count_D_le_count_U := count_D_le_count_U✝ } ≠ []\n⊢ (↑{ toList := [], count_U_eq_count_D := count_U_eq_count_D✝, count...
rcases p with - | s
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases
Lean.Parser.Tactic.rcases
Mathlib.Combinatorics.Enumerative.DyckWord
{ "line": 132, "column": 4 }
{ "line": 132, "column": 39 }
{ "line": 133, "column": 4 }
[ { "pp": "p : DyckWord\nh : p ≠ 0\nh' : ↑p ≠ []\n⊢ take 1 (↑p).dropLast = [(↑p).head h']", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "List.head", "instDecidableEqDyckStep", "DyckStep.U", "DyckWord", "Ne", "List.dropLast", "instOfNatNat", "...
[ "case nil\ncount_U_eq_count_D✝ : count U [] = count D []\ncount_D_le_count_U✝ : ∀ (i : ℕ), count D (take i []) ≤ count U (take i [])\nh : { toList := [], count_U_eq_count_D := count_U_eq_count_D✝, count_D_le_count_U := count_D_le_count_U✝ } ≠ 0\nh' : ↑{ toList := [], count_U_eq_count_D := count_U_eq_count_D✝, count...
rcases p with - | ⟨s, ⟨- | ⟨t, r⟩⟩⟩
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases
Lean.Parser.Tactic.rcases
Mathlib.Combinatorics.Enumerative.DyckWord
{ "line": 206, "column": 6 }
{ "line": 206, "column": 41 }
{ "line": 207, "column": 6 }
[ { "pp": "p q : DyckWord\nhn : p.IsNested\ni : ℕ\nh : ↑p ≠ []\nl1 : List.take 1 ↑p = [(↑p).head h]\n⊢ (↑p).length - 1 = (↑p).length - 1 - 1 + 1", "ppTerm": "?m.122", "assigned": true, "usedConstants": [ "List.head", "instDecidableEqDyckStep", "DyckStep.U", "HSub.hSub", "...
[ "case nil\nq : DyckWord\ni : ℕ\ncount_U_eq_count_D✝ : count U [] = count D []\ncount_D_le_count_U✝ : ∀ (i : ℕ), count D (List.take i []) ≤ count U (List.take i [])\nhn : { toList := [], count_U_eq_count_D := count_U_eq_count_D✝, count_D_le_count_U := count_D_le_count_U✝ }.IsNested\nh : ↑{ toList := [], count_U_eq_c...
rcases p with - | ⟨s, ⟨- | ⟨t, r⟩⟩⟩
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases
Lean.Parser.Tactic.rcases
Mathlib.Combinatorics.Enumerative.Bell
{ "line": 160, "column": 2 }
{ "line": 160, "column": 23 }
{ "line": 162, "column": 0 }
[ { "pp": "n : ℕ\n⊢ uniformBell 0 n = 1", "ppTerm": "?m.6", "assigned": true, "usedConstants": [ "MulOne.toOne", "Monoid.toMulOneClass", "congrArg", "instOfNatNat", "Nat.uniformBell_eq", "MulOneClass.toMulOne", "CommMonoid.toMonoid", "Nat", "True",...
[]
simp [uniformBell_eq]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.Enumerative.Bell
{ "line": 160, "column": 2 }
{ "line": 160, "column": 23 }
{ "line": 162, "column": 0 }
[ { "pp": "n : ℕ\n⊢ uniformBell 0 n = 1", "ppTerm": "?m.6", "assigned": true, "usedConstants": [ "MulOne.toOne", "Monoid.toMulOneClass", "congrArg", "instOfNatNat", "Nat.uniformBell_eq", "MulOneClass.toMulOne", "CommMonoid.toMonoid", "Nat", "True",...
[]
simp [uniformBell_eq]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Enumerative.Bell
{ "line": 160, "column": 2 }
{ "line": 160, "column": 23 }
{ "line": 162, "column": 0 }
[ { "pp": "n : ℕ\n⊢ uniformBell 0 n = 1", "ppTerm": "?m.6", "assigned": true, "usedConstants": [ "MulOne.toOne", "Monoid.toMulOneClass", "congrArg", "instOfNatNat", "Nat.uniformBell_eq", "MulOneClass.toMulOne", "CommMonoid.toMonoid", "Nat", "True",...
[]
simp [uniformBell_eq]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Enumerative.Bell
{ "line": 163, "column": 2 }
{ "line": 163, "column": 23 }
{ "line": 165, "column": 0 }
[ { "pp": "m : ℕ\n⊢ m.uniformBell 0 = 1", "ppTerm": "?m.6", "assigned": true, "usedConstants": [ "Nat.instCanonicallyOrderedAdd", "MulOne.toOne", "Nat.instMulZeroClass", "Nat.instOrderedSub", "Nat.choose", "HMul.hMul", "Monoid.toMulOneClass", "congrArg",...
[]
simp [uniformBell_eq]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.Enumerative.Bell
{ "line": 163, "column": 2 }
{ "line": 163, "column": 23 }
{ "line": 165, "column": 0 }
[ { "pp": "m : ℕ\n⊢ m.uniformBell 0 = 1", "ppTerm": "?m.6", "assigned": true, "usedConstants": [ "Nat.instCanonicallyOrderedAdd", "MulOne.toOne", "Nat.instMulZeroClass", "Nat.instOrderedSub", "Nat.choose", "HMul.hMul", "Monoid.toMulOneClass", "congrArg",...
[]
simp [uniformBell_eq]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Enumerative.Bell
{ "line": 163, "column": 2 }
{ "line": 163, "column": 23 }
{ "line": 165, "column": 0 }
[ { "pp": "m : ℕ\n⊢ m.uniformBell 0 = 1", "ppTerm": "?m.6", "assigned": true, "usedConstants": [ "Nat.instCanonicallyOrderedAdd", "MulOne.toOne", "Nat.instMulZeroClass", "Nat.instOrderedSub", "Nat.choose", "HMul.hMul", "Monoid.toMulOneClass", "congrArg",...
[]
simp [uniformBell_eq]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Enumerative.DyckWord
{ "line": 413, "column": 2 }
{ "line": 415, "column": 70 }
{ "line": 416, "column": 0 }
[ { "pp": "case neg\np q : DyckWord\nh : ¬p = 0\n⊢ q ≤ p + q", "ppTerm": "?neg✝", "assigned": true, "usedConstants": [ "DyckWord.semilength_outsidePart_lt", "instAddDyckWord", "DyckWord.outsidePart_add", "DyckWord", "DyckWord.outsidePart", "DyckWord.instPreorder", ...
[]
· have := semilength_outsidePart_lt h exact (le_add_self p.outsidePart q).trans (Relation.ReflTransGen.single (Or.inr (outsidePart_add h).symm))
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Combinatorics.Enumerative.Partition.Glaisher
{ "line": 95, "column": 21 }
{ "line": 95, "column": 37 }
{ "line": 95, "column": 38 }
[ { "pp": "case e'_6\nR : Type u_1\ninst✝² : TopologicalSpace R\ninst✝¹ : T2Space R\ninst✝ : CommSemiring R\nm : ℕ\nhm : 0 < m\na✝ : Nontrivial R\n⊢ (PowerSeries.mk fun n ↦ ↑(#(countRestricted n m))) =\n PowerSeries.mk fun n ↦ ∑ p, (Multiset.toFinsupp p.parts).prod fun i c ↦ if c < m then 1 else 0", "ppTer...
[ "case e'_6\nR : Type u_1\ninst✝² : TopologicalSpace R\ninst✝¹ : T2Space R\ninst✝ : CommSemiring R\nm : ℕ\nhm : 0 < m\na✝ : Nontrivial R\n⊢ (PowerSeries.mk fun n ↦ ↑(#{x | ∀ i ∈ x.parts, Multiset.count i x.parts < m})) =\n PowerSeries.mk fun n ↦ ∑ p, (Multiset.toFinsupp p.parts).prod fun i c ↦ if c < m then 1 els...
countRestricted,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Combinatorics.Enumerative.IncidenceAlgebra
{ "line": 578, "column": 2 }
{ "line": 578, "column": 59 }
{ "line": 579, "column": 2 }
[ { "pp": "𝕜 : Type u_1\nα : Type u_4\ninst✝⁴ : Ring 𝕜\ninst✝³ : PartialOrder α\ninst✝² : OrderBot α\ninst✝¹ : LocallyFiniteOrder α\ninst✝ : DecidableEq α\nf g : α → 𝕜\nh : ∀ (x : α), g x = ∑ y ≤ x, f y\nx : α\n⊢ f x = ∑ y ≤ x, (mu 𝕜) y x * g y", "ppTerm": "?m.33", "assigned": true, "usedConstants...
[ "case a\n𝕜 : Type u_1\nα : Type u_4\ninst✝⁴ : Ring 𝕜\ninst✝³ : PartialOrder α\ninst✝² : OrderBot α\ninst✝¹ : LocallyFiniteOrder α\ninst✝ : DecidableEq α\nf g : α → 𝕜\nh : ∀ (x : α), g x = ∑ y ≤ x, f y\nx x✝ : α\na✝ : x✝ ∈ Ici x\n⊢ (mu 𝕜) x✝ x = (mu 𝕜) x x✝" ]
convert! moebius_inversion_top (α := αᵒᵈ) f g h x using 3
Mathlib.Tactic._aux_Mathlib_Tactic_Convert___macroRules_Mathlib_Tactic_convert!_1
Mathlib.Tactic.convert!
Mathlib.Combinatorics.Young.YoungDiagram
{ "line": 396, "column": 4 }
{ "line": 396, "column": 25 }
{ "line": 396, "column": 26 }
[ { "pp": "μ : YoungDiagram\nhf : ∀ c ∈ μ.cells, c.1 ∈ Finset.range (μ.colLen 0)\nhr : ∀ i ∈ Finset.range (μ.colLen 0), {c ∈ μ.cells | c.1 = i}.card = μ.rowLen i\n⊢ μ.rowLens.sum = (Finset.range (μ.colLen 0)).sum μ.rowLen", "ppTerm": "?m.88", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[ "μ : YoungDiagram\nhf : ∀ c ∈ μ.cells, c.1 ∈ Finset.range (μ.colLen 0)\nhr : ∀ i ∈ Finset.range (μ.colLen 0), {c ∈ μ.cells | c.1 = i}.card = μ.rowLen i\n⊢ (List.map μ.rowLen (List.range (μ.colLen 0))).sum = (Finset.range (μ.colLen 0)).sum μ.rowLen" ]
YoungDiagram.rowLens,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.Enumerative.Pentagonal.EulerFunction
{ "line": 46, "column": 2 }
{ "line": 53, "column": 72 }
{ "line": 55, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝¹ : NormedCommRing R\ninst✝ : NormOneClass R\nk n : ℕ\nx : R\nhx : ‖x‖ < 1\n⊢ ‖x ^ ((k + 1) * n) * ∏ i ∈ range (n + 1), (1 - x ^ (k + i + 1))‖ ≤ ‖x‖ ^ ((k + 1) * n) * ∏' (i : ℕ), (1 + ‖x‖ ^ i)", "ppTerm": "?m.117", "assigned": true, "usedConstants": [ "summable_geom...
[]
grw [norm_mul_le, Finset.norm_prod_le, norm_pow_le] refine mul_le_mul_of_nonneg_left ?_ (by simp) trans ∏ i ∈ Ico (k + 1) (n + 1 + (k + 1)), (1 + ‖x‖ ^ i) · rw [prod_Ico_eq_prod_range, Nat.add_sub_cancel] gcongr grw [norm_sub_le, norm_one, norm_pow_le, add_right_comm] have : Multipliable (1 + ‖x‖ ^ ·) :...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Enumerative.Pentagonal.EulerFunction
{ "line": 46, "column": 2 }
{ "line": 53, "column": 72 }
{ "line": 55, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝¹ : NormedCommRing R\ninst✝ : NormOneClass R\nk n : ℕ\nx : R\nhx : ‖x‖ < 1\n⊢ ‖x ^ ((k + 1) * n) * ∏ i ∈ range (n + 1), (1 - x ^ (k + i + 1))‖ ≤ ‖x‖ ^ ((k + 1) * n) * ∏' (i : ℕ), (1 + ‖x‖ ^ i)", "ppTerm": "?m.117", "assigned": true, "usedConstants": [ "summable_geom...
[]
grw [norm_mul_le, Finset.norm_prod_le, norm_pow_le] refine mul_le_mul_of_nonneg_left ?_ (by simp) trans ∏ i ∈ Ico (k + 1) (n + 1 + (k + 1)), (1 + ‖x‖ ^ i) · rw [prod_Ico_eq_prod_range, Nat.add_sub_cancel] gcongr grw [norm_sub_le, norm_one, norm_pow_le, add_right_comm] have : Multipliable (1 + ‖x‖ ^ ·) :...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.Enumerative.Schroder
{ "line": 92, "column": 4 }
{ "line": 92, "column": 60 }
{ "line": 92, "column": 60 }
[ { "pp": "n : ℕ\nhn : n ≠ 0\n⊢ 2 * (n.largeSchroder / 2) = n.largeSchroder", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Nat.largeSchroder", "instHDiv", "HMul.hMul", "congrArg", "Nat.instAtLeas...
[ "n : ℕ\nhn : n ≠ 0\n⊢ n.largeSchroder = n.largeSchroder" ]
Nat.mul_div_cancel_left' (even_largeSchroder hn).two_dvd
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Combinatorics.Extremal.RuzsaSzemeredi
{ "line": 260, "column": 4 }
{ "line": 263, "column": 46 }
{ "line": 264, "column": 4 }
[ { "pp": "case refine_2\n⊢ Nat.cast =O[atTop] fun n ↦ ↑((n - 3) / 6)", "ppTerm": "?refine_2", "assigned": true, "usedConstants": [ "Nat.cast_mul._simp_1", "NormedCommRing.toNormedRing", "Norm.norm", "Eq.mpr", "NormedCommRing.toSeminormedCommRing", "NonAssocSemiring...
[ "case refine_3\n⊢ (fun n ↦ rexp (-4 * √(Real.log ↑n))) =O[atTop] fun n ↦ rexp (-4 * √(Real.log ↑((n - 3) / 6)))" ]
· rw [isBigO_iff] refine ⟨12, ?_⟩ simp only [norm_natCast, eventually_atTop] exact ⟨15, fun x hx ↦ by norm_cast; lia⟩
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Topology.Compactification.StoneCech
{ "line": 117, "column": 2 }
{ "line": 117, "column": 52 }
{ "line": 118, "column": 2 }
[ { "pp": "α : Type u\nb : Ultrafilter α\n⊢ Tendsto pure (↑b) (𝓝 b)", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Pure.pure", "Eq.mpr", "Ultrafilter.coe_map", "congrArg", "Filter.map", "PartialOrder.toPreorder", "Preorder.toLE", "nhds", ...
[ "α : Type u\nb : Ultrafilter α\n⊢ b = joinM (map pure b)" ]
rw [Tendsto, ← coe_map, ultrafilter_converges_iff]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq