module
stringlengths
17
90
startPos
dict
endPos
dict
nextStartPos
dict
goals
listlengths
0
96
goalsAfter
listlengths
0
96
ppTac
stringlengths
1
12.3k
elaborator
stringclasses
379 values
kind
stringclasses
383 values
Mathlib.Combinatorics.SimpleGraph.Star
{ "line": 94, "column": 2 }
{ "line": 94, "column": 27 }
{ "line": 96, "column": 0 }
[ { "pp": "V : Type u_1\nr : V\n⊢ (SimpleGraph.starGraph r).IsCompleteBetween {r} {r}ᶜ", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "_private.Mathlib.Combinatorics.SimpleGraph.Star.0.SimpleGraph.IsCompleteBetween.starGraph._proof_1_1" ], "usedFVars": [ "V", "r" ...
[]
grind [IsCompleteBetween]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.Trails
{ "line": 95, "column": 2 }
{ "line": 96, "column": 50 }
{ "line": 97, "column": 2 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nu v : V\np : G.Walk u v\ninst✝ : DecidableEq V\nhp : p.IsTrail\n⊢ p.edgeSet = G.edgeSet ↔ ↑p.edges.length = G.edgeSet.encard", "ppTerm": "?m.36", "assigned": true, "usedConstants": [ "Eq.mpr", "List.finite_toSet", "Set.encard", "ENat....
[ "V : Type u_1\nG : SimpleGraph V\nu v : V\np : G.Walk u v\ninst✝ : DecidableEq V\nhp : p.IsTrail\n⊢ p.edgeSet = G.edgeSet ↔ p.edgeSet.encard = G.edgeSet.encard" ]
rw [← hp.edges_nodup.dedup, ← List.card_toFinset, ← Set.ncard_coe_finset, List.coe_toFinset, p.edges.finite_toSet.cast_ncard_eq, ← edgeSet]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Combinatorics.SimpleGraph.FiveWheelLike
{ "line": 392, "column": 79 }
{ "line": 392, "column": 87 }
{ "line": 393, "column": 15 }
[ { "pp": "α : Type u_1\nG : SimpleGraph α\nr k : ℕ\nv w₁ w₂ : α\ns t : Finset α\ninst✝² : DecidableEq α\nhw : G.IsFiveWheelLike r k v w₁ w₂ s t\nhcf : G.CliqueFree (r + 2)\ninst✝¹ : DecidableRel G.Adj\ninst✝ : Fintype α\nhm : G.FiveWheelLikeFree r (k + 1)\nX : Finset α := {x | ∀ ⦃y : α⦄, y ∈ s ∩ t → G.Adj x y}\n...
[ "α : Type u_1\nG : SimpleGraph α\nr k : ℕ\nv w₁ w₂ : α\ns t : Finset α\ninst✝² : DecidableEq α\nhw : G.IsFiveWheelLike r k v w₁ w₂ s t\nhcf : G.CliqueFree (r + 2)\ninst✝¹ : DecidableRel G.Adj\ninst✝ : Fintype α\nhm : G.FiveWheelLikeFree r (k + 1)\nX : Finset α := {x | ∀ ⦃y : α⦄, y ∈ s ∩ t → G.Adj x y}\nW : Finset α...
mul_add,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Combinatorics.SimpleGraph.VertexCover
{ "line": 114, "column": 2 }
{ "line": 114, "column": 32 }
{ "line": 116, "column": 0 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nn : ℕ\nh₁ : G.vertexCoverNum ≤ ↑n\nh₂ : ↑n ≤ ENat.card V\ns : Set V\nhs₁ : s.encard = G.vertexCoverNum\nhs₂ : G.IsVertexCover s\nr : Set V\nhr₁ : s ⊆ r\nleft✝ : r ⊆ Set.univ\nhr₃ : r.encard = ↑n\n⊢ ∃ s, s.encard = ↑n ∧ G.IsVertexCover s", "ppTerm": "?m.63", "ass...
[]
exact ⟨r, hr₃, hs₂.subset hr₁⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Combinatorics.SimpleGraph.VertexCover
{ "line": 170, "column": 2 }
{ "line": 176, "column": 53 }
{ "line": 177, "column": 2 }
[ { "pp": "case refine_2\nV : Type u_1\na✝ : Nontrivial V\nn : ℕ\nhn : ↑n ≤ ENat.card V - 1\nhh : (completeGraph V).vertexCoverNum < ↑n\nthis : ↑n - 1 ≤ ENat.card V\nt : Set V\nht₁ : t.encard = ↑(n - 1)\nht₂ : (completeGraph V).IsVertexCover t\n⊢ False", "ppTerm": "?refine_2", "assigned": true, "usedC...
[ "case refine_2\nV : Type u_1\na✝ : Nontrivial V\nn : ℕ\nhn : ↑n ≤ ENat.card V - 1\nhh : (completeGraph V).vertexCoverNum < ↑n\nthis✝ : ↑n - 1 ≤ ENat.card V\nt : Set V\nht₁ : t.encard = ↑(n - 1)\nht₂ : (completeGraph V).IsVertexCover t\nthis : 1 < (Set.univ \\ t).encard\n⊢ False" ]
have : 1 < (Set.univ \ t).encard := by refine ENat.add_one_le_iff (by simp) |>.mp ?_ rw [Set.encard_sdiff (by simp) (Set.finite_of_encard_eq_coe ht₁), Set.encard_univ] refine ENat.le_sub_of_add_le_left (by simp [ht₁]) ?_ refine add_le_of_le_tsub_right_of_le (Order.add_one_le_of_lt ENat.one_lt_card) ?_ ...
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Data.Nat.PSub
{ "line": 62, "column": 12 }
{ "line": 62, "column": 53 }
{ "line": 63, "column": 2 }
[ { "pp": "m : ℕ\n⊢ ppred 0 = some m ↔ m.succ = 0", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Option.ctorIdx", "False.elim", "noConfusion_of_Nat", "Option.some", "instOfNatNat", "Nat", "Iff.intro", "Nat.ctorIdx", "Nat.ppred", "O...
[]
constructor <;> intro h <;> contradiction
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Data.Nat.PSub
{ "line": 62, "column": 12 }
{ "line": 62, "column": 53 }
{ "line": 63, "column": 2 }
[ { "pp": "m : ℕ\n⊢ ppred 0 = some m ↔ m.succ = 0", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Option.ctorIdx", "False.elim", "noConfusion_of_Nat", "Option.some", "instOfNatNat", "Nat", "Iff.intro", "Nat.ctorIdx", "Nat.ppred", "O...
[]
constructor <;> intro h <;> contradiction
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Nat.PSub
{ "line": 62, "column": 12 }
{ "line": 62, "column": 53 }
{ "line": 63, "column": 2 }
[ { "pp": "m : ℕ\n⊢ ppred 0 = some m ↔ m.succ = 0", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Option.ctorIdx", "False.elim", "noConfusion_of_Nat", "Option.some", "instOfNatNat", "Nat", "Iff.intro", "Nat.ctorIdx", "Nat.ppred", "O...
[]
constructor <;> intro h <;> contradiction
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.Primrec.List
{ "line": 238, "column": 4 }
{ "line": 238, "column": 35 }
{ "line": 240, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : Primcodable α\nl : List (List α)\n⊢ List.foldr (fun b s ↦ (fun x1 x2 ↦ x1 ++ x2) (l, b, s).2.1 (l, b, s).2.2) [] (id l) = l.flatten", "ppTerm": "?m.48", "assigned": true, "usedConstants": [ "congrArg", "id", "Prod.mk", "List.rec", "Prod.fs...
[]
dsimp; induction l <;> simp [*]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.Primrec.List
{ "line": 238, "column": 4 }
{ "line": 238, "column": 35 }
{ "line": 240, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : Primcodable α\nl : List (List α)\n⊢ List.foldr (fun b s ↦ (fun x1 x2 ↦ x1 ++ x2) (l, b, s).2.1 (l, b, s).2.2) [] (id l) = l.flatten", "ppTerm": "?m.48", "assigned": true, "usedConstants": [ "congrArg", "id", "Prod.mk", "List.rec", "Prod.fs...
[]
dsimp; induction l <;> simp [*]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.Primrec.List
{ "line": 257, "column": 16 }
{ "line": 257, "column": 47 }
{ "line": 259, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : Primcodable α\nl : List α\n⊢ List.foldr (fun b s ↦ (fun a b ↦ (a, b).2.2.succ) (l, b, s).1 (l, b, s).2) 0 (id l) = l.length", "ppTerm": "?m.67", "assigned": true, "usedConstants": [ "congrArg", "id", "Prod.mk", "instOfNatNat", "List.rec", ...
[]
dsimp; induction l <;> simp [*]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.Primrec.List
{ "line": 257, "column": 16 }
{ "line": 257, "column": 47 }
{ "line": 259, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : Primcodable α\nl : List α\n⊢ List.foldr (fun b s ↦ (fun a b ↦ (a, b).2.2.succ) (l, b, s).1 (l, b, s).2) 0 (id l) = l.length", "ppTerm": "?m.67", "assigned": true, "usedConstants": [ "congrArg", "id", "Prod.mk", "instOfNatNat", "List.rec", ...
[]
dsimp; induction l <;> simp [*]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.Primrec.List
{ "line": 375, "column": 22 }
{ "line": 375, "column": 57 }
{ "line": 376, "column": 6 }
[ { "pp": "case zero\nβ : Type u_2\nσ : Type u_3\ninst✝¹ : Primcodable β\ninst✝ : Primcodable σ\nf : β → σ\nm : β → ℕ\nl : β → List β\ng : β → List σ → Option σ\nhm : Primrec m\nhl : Primrec l\nhg : Primrec₂ g\nOrd : ∀ (b b' : β), b' ∈ l b → m b' < m b\nH : ∀ (b : β), g b (List.map f (l b)) = some (f b)\nthis✝ : ...
[]
simpa [graph] using bindList_eq_nil
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Computability.Primrec.List
{ "line": 514, "column": 96 }
{ "line": 518, "column": 96 }
{ "line": 520, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nR : α → β → Prop\ninst✝¹ : Primcodable α\ninst✝ : Primcodable β\nhf : PrimrecRel R\n⊢ PrimrecRel fun L b ↦ ∀ a ∈ L, R a b", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "PrimrecRel.of_eq", "Primrec.list_length", "congrArg", "Pri...
[]
by classical have h (L) (b) : (List.filter (R · b) L).length = L.length ↔ ∀ a ∈ L, R a b := by simp apply PrimrecRel.of_eq ?_ h exact (Primrec.eq.comp (list_length.comp <| PrimrecRel.listFilter hf) (.comp list_length fst))
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Tutte
{ "line": 226, "column": 4 }
{ "line": 227, "column": 71 }
{ "line": 228, "column": 4 }
[ { "pp": "case refine_2\nV : Type u_1\nG : SimpleGraph V\ninst✝ : Finite V\nx a b c : V\nM1 : (G ⊔ edge x b).Subgraph\nM2 : (G ⊔ edge a c).Subgraph\nhxa : G.Adj x a\nhab : G.Adj a b\nhnGxb : ¬G.Adj x b\nhnGac : ¬G.Adj a c\nhnxb : x ≠ b\nhnxc : x ≠ c\nhnac : a ≠ c\nhnbc : b ≠ c\nhM1 : M1.IsPerfectMatching\nhM2 : ...
[ "case refine_1\nV : Type u_1\nG : SimpleGraph V\ninst✝ : Finite V\nx a b c : V\nM1 : (G ⊔ edge x b).Subgraph\nM2 : (G ⊔ edge a c).Subgraph\nhxa : G.Adj x a\nhab : G.Adj a b\nhnGxb : ¬G.Adj x b\nhnGac : ¬G.Adj a c\nhnxb : x ≠ b\nhnxc : x ≠ c\nhnac : a ≠ c\nhnbc : b ≠ c\nhM1 : M1.IsPerfectMatching\nhM2 : M2.IsPerfect...
· simp [htw _ (by simp) (Walk.mem_support_of_adj_toSubgraph h.symm), htw _ (by simp) (Walk.mem_support_of_adj_toSubgraph h)] at hnxb
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Computability.Primrec.List
{ "line": 754, "column": 21 }
{ "line": 754, "column": 38 }
{ "line": 756, "column": 0 }
[ { "pp": "n : ℕ\nf : List.Vector ℕ n → ℕ\nhf : Primrec' f\ns : Primrec' fun v ↦ (f v).sqrt\nfss : Primrec' fun v ↦ f v - (f v).sqrt * (f v).sqrt\nv : List.Vector ℕ n\n⊢ (if f v - (f v).sqrt * (f v).sqrt < (f v).sqrt then f v - (f v).sqrt * (f v).sqrt else (f v).sqrt) =\n (if f v - (f v).sqrt * (f v).sqrt < (f...
[]
split_ifs <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Computability.Primrec.List
{ "line": 760, "column": 21 }
{ "line": 760, "column": 38 }
{ "line": 762, "column": 0 }
[ { "pp": "n : ℕ\nf : List.Vector ℕ n → ℕ\nhf : Primrec' f\ns : Primrec' fun v ↦ (f v).sqrt\nfss : Primrec' fun v ↦ f v - (f v).sqrt * (f v).sqrt\nv : List.Vector ℕ n\n⊢ (if f v - (f v).sqrt * (f v).sqrt < (f v).sqrt then (f v).sqrt else f v - (f v).sqrt * (f v).sqrt - (f v).sqrt) =\n (if f v - (f v).sqrt * (f...
[]
split_ifs <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Computability.Partrec
{ "line": 779, "column": 26 }
{ "line": 779, "column": 58 }
{ "line": 781, "column": 0 }
[ { "pp": "α : Type u_1\nσ : Type u_4\ninst✝¹ : Primcodable α\ninst✝ : Primcodable σ\nf : α →. σ ⊕ α\nhf : Partrec f\nF : α → ℕ →. σ ⊕ α :=\n fun a n ↦ Nat.rec (Part.some (Sum.inr a)) (fun x IH ↦ IH.bind fun s ↦ Sum.casesOn s (fun x ↦ Part.some s) f) n\nhF : Partrec₂ F\np : α → ℕ → Part Bool := fun a n ↦ Part.ma...
[]
by simpa [p] using fix_aux f _ _
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Computability.AkraBazzi.SumTransform
{ "line": 111, "column": 55 }
{ "line": 111, "column": 79 }
{ "line": 112, "column": 4 }
[ { "pp": "⊢ (fun n ↦ ↑n / log ↑n ^ 2) = fun n ↦ ↑n * (log ↑n ^ 2)⁻¹", "ppTerm": "?m.72", "assigned": true, "usedConstants": [ "Real", "DivInvMonoid.toInv", "instHDiv", "HMul.hMul", "Monoid.toMulOneClass", "congrArg", "Real.instInv", "Real.instDivInvMono...
[]
simp_rw [div_eq_mul_inv]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.Computability.AkraBazzi.SumTransform
{ "line": 111, "column": 55 }
{ "line": 111, "column": 79 }
{ "line": 112, "column": 4 }
[ { "pp": "⊢ (fun n ↦ ↑n / log ↑n ^ 2) = fun n ↦ ↑n * (log ↑n ^ 2)⁻¹", "ppTerm": "?m.72", "assigned": true, "usedConstants": [ "Real", "DivInvMonoid.toInv", "instHDiv", "HMul.hMul", "Monoid.toMulOneClass", "congrArg", "Real.instInv", "Real.instDivInvMono...
[]
simp_rw [div_eq_mul_inv]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.AkraBazzi.SumTransform
{ "line": 111, "column": 55 }
{ "line": 111, "column": 79 }
{ "line": 112, "column": 4 }
[ { "pp": "⊢ (fun n ↦ ↑n / log ↑n ^ 2) = fun n ↦ ↑n * (log ↑n ^ 2)⁻¹", "ppTerm": "?m.72", "assigned": true, "usedConstants": [ "Real", "DivInvMonoid.toInv", "instHDiv", "HMul.hMul", "Monoid.toMulOneClass", "congrArg", "Real.instInv", "Real.instDivInvMono...
[]
simp_rw [div_eq_mul_inv]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.AkraBazzi.SumTransform
{ "line": 310, "column": 4 }
{ "line": 310, "column": 53 }
{ "line": 311, "column": 4 }
[ { "pp": "c : ℝ\nhc : c < 1\n⊢ Tendsto (fun x ↦ 1 - ε x) atTop (𝓝 1)", "ppTerm": "?m.36", "assigned": true, "usedConstants": [ "Eq.mpr", "Real.partialOrder", "Real", "FloorRing.toFloorSemiring", "congrArg", "Real.instSub", "NeZero.charZero_one", "AddGr...
[ "c : ℝ\nhc : c < 1\n⊢ (fun x ↦ 1 - ε x) ~[atTop] Function.const ℝ 1" ]
rw [← isEquivalent_const_iff_tendsto one_ne_zero]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Computability.AkraBazzi.GrowsPolynomially
{ "line": 150, "column": 4 }
{ "line": 154, "column": 36 }
{ "line": 155, "column": 4 }
[ { "pp": "f : ℝ → ℝ\nhf✝ : GrowsPolynomially f\nhf' : ∀ (a : ℝ), ∃ b, a ≤ b ∧ f b = 0\nc₁ : ℝ\nhc₁_mem : c₁ > 0\nc₂ : ℝ\nhc₂_mem : c₂ > 0\nhf : ∀ᶠ (x : ℝ) in atTop, ∀ u ∈ Set.Icc (1 / 2 * x) x, f u ∈ Set.Icc (c₁ * f x) (c₂ * f x)\nx : ℝ\nhx : ∀ (y : ℝ), x ≤ y → ∀ u ∈ Set.Icc (1 / 2 * y) y, f u ∈ Set.Icc (c₁ * f ...
[ "f : ℝ → ℝ\nhf✝ : GrowsPolynomially f\nhf' : ∀ (a : ℝ), ∃ b, a ≤ b ∧ f b = 0\nc₁ : ℝ\nhc₁_mem : c₁ > 0\nc₂ : ℝ\nhc₂_mem : c₂ > 0\nhf : ∀ᶠ (x : ℝ) in atTop, ∀ u ∈ Set.Icc (1 / 2 * x) x, f u ∈ Set.Icc (c₁ * f x) (c₂ * f x)\nx : ℝ\nhx : ∀ (y : ℝ), x ≤ y → ∀ u ∈ Set.Icc (1 / 2 * y) y, f u ∈ Set.Icc (c₁ * f y) (c₂ * f y...
have : 0 ≤ -logb 2 (x / x₀) := by rw [neg_nonneg] refine logb_nonpos (by simp) (by positivity) ?_ rw [div_le_one x₀_pos] exact le_of_max_le_left hx₀_ge
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Computability.AkraBazzi.SumTransform
{ "line": 401, "column": 39 }
{ "line": 401, "column": 57 }
{ "line": 401, "column": 57 }
[ { "pp": "⊢ (fun z ↦ -deriv ε z) =o[atTop] fun x ↦ x⁻¹", "ppTerm": "?m.78", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "NormedCommRing.toSeminormedCommRing", "Real", "Semiring.toModule", "Real.denselyNormedField", "congrArg", "...
[ "⊢ deriv ε =o[atTop] fun x ↦ x⁻¹" ]
isLittleO_neg_left
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.AkraBazzi.AkraBazzi
{ "line": 129, "column": 10 }
{ "line": 129, "column": 34 }
{ "line": 130, "column": 10 }
[ { "pp": "p : ℝ\nhp : p ≠ 0\n⊢ (fun z ↦ z ^ (p - 1) / log z ^ 2) =o[atTop] fun z ↦ z ^ (p - 1) / 1", "ppTerm": "?m.318", "assigned": true, "usedConstants": [ "Eq.mpr", "Real.instPow", "Real", "DivInvMonoid.toInv", "instHDiv", "HMul.hMul", "Monoid.toMulOneClas...
[ "p : ℝ\nhp : p ≠ 0\n⊢ (fun z ↦ z ^ (p - 1) * (log z ^ 2)⁻¹) =o[atTop] fun z ↦ z ^ (p - 1) * 1⁻¹" ]
simp_rw [div_eq_mul_inv]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.Computability.AkraBazzi.AkraBazzi
{ "line": 229, "column": 2 }
{ "line": 229, "column": 49 }
{ "line": 230, "column": 2 }
[ { "pp": "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\nq : ℝ → ℝ\nhq_diff : DifferentiableOn ℝ q (Set.Ioi 1)\nhq_poly : GrowsPolynomially fun x ↦ ‖deriv q x‖\ni : α\nb' : ℝ := b (min_bi b) / 2\nhb_pos : 0 < b'\nhb_lt_on...
[ "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\nq : ℝ → ℝ\nhq_diff : DifferentiableOn ℝ q (Set.Ioi 1)\nhq_poly✝ : GrowsPolynomially fun x ↦ ‖deriv q x‖\ni : α\nb' : ℝ := b (min_bi b) / 2\nhb_pos : 0 < b'\nhb_lt_one : b' < 1\...
obtain ⟨c₁, _, c₂, _, hq_poly⟩ := hq_poly b' hb
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Computability.AkraBazzi.GrowsPolynomially
{ "line": 210, "column": 86 }
{ "line": 223, "column": 19 }
{ "line": 225, "column": 0 }
[ { "pp": "f : ℝ → ℝ\nhf : GrowsPolynomially f\n⊢ (∀ᶠ (x : ℝ) in atTop, f x = 0) ∨ (∀ᶠ (x : ℝ) in atTop, 0 < f x) ∨ ∀ᶠ (x : ℝ) in atTop, f x < 0", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "Filter.eventually_and", "Eq.mpr", "Real.partialOrder", "Real.instLE", ...
[]
by by_cases! h : ∃ᶠ x in atTop, f x = 0 · exact Or.inl <| eventually_zero_of_frequently_zero hf h · cases eventually_atTop_nonneg_or_nonpos hf with | inl h' => refine Or.inr (Or.inl ?_) simp only [lt_iff_le_and_ne] rw [eventually_and] exact ⟨h', by filter_upwards [h] with x hx; exact h...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Computability.AkraBazzi.SumTransform
{ "line": 604, "column": 9 }
{ "line": 634, "column": 88 }
{ "line": 635, "column": 2 }
[]
[]
sumTransform (p a b) g (r i n) n = n ^ (p a b) * (∑ u ∈ Finset.Ico (r i n) n, g u / u ^ ((p a b) + 1)) := by rfl _ ≤ n ^ (p a b) * (∑ u ∈ Finset.Ico (r i n) n, c₂ * g n / u ^ ((p a b) + 1)) := by gcongr with u hu rw [Finset.mem_Ico] at hu have hu' : u ∈ Set.Icc (r i n) ...
Lean.Elab.Tactic._aux_Mathlib_Tactic_Widget_Calc___elabRules_Lean_calcTactic_1
Lean.calcSteps
Mathlib.Computability.AkraBazzi.GrowsPolynomially
{ "line": 347, "column": 24 }
{ "line": 347, "column": 51 }
{ "line": 348, "column": 8 }
[ { "pp": "f g : ℝ → ℝ\nhf✝¹ : GrowsPolynomially f\nhg✝¹ : GrowsPolynomially g\nhf'✝ : 0 ≤ᶠ[atTop] f\nhg'✝ : 0 ≤ᶠ[atTop] g\nb : ℝ\nhb : b ∈ Set.Ioo 0 1\nc₁ : ℝ\nhc₁_mem : c₁ > 0\nc₂ : ℝ\nhc₂_mem : c₂ > 0\nhf✝ : ∀ᶠ (x : ℝ) in atTop, ∀ u ∈ Set.Icc (b * x) x, f u ∈ Set.Icc (c₁ * f x) (c₂ * f x)\nc₃ : ℝ\nhc₃_mem : c₃...
[]
gcongr; exact le_of_lt hb.2
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.AkraBazzi.GrowsPolynomially
{ "line": 347, "column": 24 }
{ "line": 347, "column": 51 }
{ "line": 348, "column": 8 }
[ { "pp": "f g : ℝ → ℝ\nhf✝¹ : GrowsPolynomially f\nhg✝¹ : GrowsPolynomially g\nhf'✝ : 0 ≤ᶠ[atTop] f\nhg'✝ : 0 ≤ᶠ[atTop] g\nb : ℝ\nhb : b ∈ Set.Ioo 0 1\nc₁ : ℝ\nhc₁_mem : c₁ > 0\nc₂ : ℝ\nhc₂_mem : c₂ > 0\nhf✝ : ∀ᶠ (x : ℝ) in atTop, ∀ u ∈ Set.Icc (b * x) x, f u ∈ Set.Icc (c₁ * f x) (c₂ * f x)\nc₃ : ℝ\nhc₃_mem : c₃...
[]
gcongr; exact le_of_lt hb.2
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.AkraBazzi.SumTransform
{ "line": 661, "column": 62 }
{ "line": 662, "column": 87 }
{ "line": 663, "column": 6 }
[ { "pp": "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\nc₁ : ℝ\nhc₁_mem : c₁ ∈ Set.Ioo 0 1\nhc₁ : ∀ᶠ (n : ℕ) in atTop, ∀ (i : α), c₁ * ↑n ≤ ↑(r i n)\nc₂ : ℝ\nhc₂_mem : c₂ > 0\nhc₂ : ∀ᶠ (n : ℕ) in atTop, ∀ u ∈ Set.Icc (c₁...
[]
by gcongr; simp only [tsub_le_iff_right, le_add_iff_nonneg_right, Nat.cast_nonneg]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Computability.AkraBazzi.GrowsPolynomially
{ "line": 395, "column": 11 }
{ "line": 398, "column": 37 }
{ "line": 399, "column": 4 }
[]
[]
f x + g x ≥ f x - ‖g x‖ := by rw [sub_eq_add_neg, norm_eq_abs]; gcongr; exact neg_abs_le (g x) _ ≥ f x - 1 / 2 * f x := by gcongr _ = 1 / 2 * f x := by ring
Lean.Elab.Tactic._aux_Mathlib_Tactic_Widget_Calc___elabRules_Lean_calcTactic_1
Lean.calcSteps
Mathlib.Computability.AkraBazzi.AkraBazzi
{ "line": 594, "column": 57 }
{ "line": 594, "column": 65 }
{ "line": 594, "column": 66 }
[ { "pp": "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\nb' : ℝ := b (min_bi b) / 2\nhb_pos : 0 < b'\nc₁ : ℝ\nhc₁ : c₁ > 0\nh_sumTransform_aux : ∀ᶠ (n : ℕ) in atTop, ∀ (i : α), sumTransform (p a b) g (r i n) n ≤ c₁ * g ↑n...
[ "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\nb' : ℝ := b (min_bi b) / 2\nhb_pos : 0 < b'\nc₁ : ℝ\nhc₁ : c₁ > 0\nh_sumTransform_aux : ∀ᶠ (n : ℕ) in atTop, ∀ (i : α), sumTransform (p a b) g (r i n) n ≤ c₁ * g ↑n\nn₀ : ℕ\nn₀...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.PartrecCode
{ "line": 951, "column": 6 }
{ "line": 951, "column": 42 }
{ "line": 952, "column": 6 }
[ { "pp": "x✝ : Unit\np n : ℕ\nthis : List.range p = List.range (Nat.pair (unpair p).1 (encode (ofNat Code (unpair p).2)))\nk : ℕ\n⊢ n ∈ List.range k →\n Nat.rec Option.none\n (fun n_1 n_ih ↦\n rec (some 0) (some n.succ) (some (unpair n).1) (some (unpair n).2)\n (fun cf cg x x_1 ↦ do...
[ "x✝ : Unit\np n : ℕ\nthis : List.range p = List.range (Nat.pair (unpair p).1 (encode (ofNat Code (unpair p).2)))\nk : ℕ\nc : Code\n⊢ n ∈ List.range k →\n Nat.rec Option.none\n (fun n_1 n_ih ↦\n rec (some 0) (some n.succ) (some (unpair n).1) (some (unpair n).2)\n (fun cf cg x x_1 ↦ do\n...
generalize ofNat Code p.unpair.2 = c
Lean.Elab.Tactic.evalGeneralize
Lean.Parser.Tactic.generalize
Mathlib.Data.Nat.Size
{ "line": 80, "column": 6 }
{ "line": 84, "column": 72 }
{ "line": 84, "column": 72 }
[ { "pp": "case bit\nb : Bool\nm : ℕ\ne : m = 0 → b = true\nIH : ∀ {n : ℕ}, m < 2 ^ n → m.size ≤ n\nn : ℕ\nh : bit b m < 2 ^ n\n⊢ (bit b m).size ≤ n", "ppTerm": "?bit", "assigned": true, "usedConstants": [ "Nat.bit", "instPowNat", "Eq.mpr", "congrArg", "False.elim", ...
[]
rw [← Nat.bit_ne_zero_iff] at e rw [size_bit e] cases n with | zero => exact (e (Nat.lt_one_iff.mp h)).elim | succ n => exact succ_le_succ (IH (bit_lt_two_pow_succ_iff.mp h))
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Nat.Size
{ "line": 80, "column": 6 }
{ "line": 84, "column": 72 }
{ "line": 84, "column": 72 }
[ { "pp": "case bit\nb : Bool\nm : ℕ\ne : m = 0 → b = true\nIH : ∀ {n : ℕ}, m < 2 ^ n → m.size ≤ n\nn : ℕ\nh : bit b m < 2 ^ n\n⊢ (bit b m).size ≤ n", "ppTerm": "?bit", "assigned": true, "usedConstants": [ "Nat.bit", "instPowNat", "Eq.mpr", "congrArg", "False.elim", ...
[]
rw [← Nat.bit_ne_zero_iff] at e rw [size_bit e] cases n with | zero => exact (e (Nat.lt_one_iff.mp h)).elim | succ n => exact succ_le_succ (IH (bit_lt_two_pow_succ_iff.mp h))
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Nat.Bitwise
{ "line": 62, "column": 2 }
{ "line": 62, "column": 19 }
{ "line": 64, "column": 0 }
[ { "pp": "f : Bool → Bool → Bool\n⊢ 0 = if f true false = true then 0 else 0", "ppTerm": "?m.47", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "ite_eq_right", "id", "instDecidableEqBool", "instOfNatNat", "dite", "Bool.true", "Nat", ...
[]
split_ifs <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Computability.AkraBazzi.GrowsPolynomially
{ "line": 569, "column": 30 }
{ "line": 569, "column": 37 }
{ "line": 570, "column": 6 }
[ { "pp": "f : ℝ → ℝ\np : ℝ\nhf : GrowsPolynomially f\nhf_nonneg : ∀ᶠ (x : ℝ) in atTop, 0 ≤ f x\nb : ℝ\nhb : b ∈ Set.Ioo 0 1\nc₁ : ℝ\nhc₁_mem : 0 < c₁\nc₂ : ℝ\nhc₂_mem : c₂ > 0\nhfnew : ∀ᶠ (x : ℝ) in atTop, ∀ u ∈ Set.Icc (b * x) x, f u ∈ Set.Icc (c₁ * f x) (c₂ * f x)\nhc₁p : 0 < c₁ ^ p\nhc₂p : 0 < c₂ ^ p\nhp : p ...
[ "f : ℝ → ℝ\np : ℝ\nhf : GrowsPolynomially f\nhf_nonneg : ∀ᶠ (x : ℝ) in atTop, 0 ≤ f x\nb : ℝ\nhb : b ∈ Set.Ioo 0 1\nc₁ : ℝ\nhc₁_mem : 0 < c₁\nc₂ : ℝ\nhc₂_mem : c₂ > 0\nhfnew : ∀ᶠ (x : ℝ) in atTop, ∀ u ∈ Set.Icc (b * x) x, f u ∈ Set.Icc (c₁ * f x) (c₂ * f x)\nhc₁p : 0 < c₁ ^ p\nhc₂p : 0 < c₂ ^ p\nhp : p < 0\nhpos : ...
hf_pos₂
Lean.Elab.Tactic.evalIntro
ident
Mathlib.Data.Nat.Bitwise
{ "line": 158, "column": 42 }
{ "line": 158, "column": 54 }
{ "line": 158, "column": 55 }
[ { "pp": "b : Bool\nn : ℕ\nhn : (∀ (i : ℕ), n.testBit i = false) → n = 0\nh : ∀ (i : ℕ), (bit b n).testBit i = false\nthis : b = false\ni : ℕ\n⊢ n.testBit i = false", "ppTerm": "?m.41", "assigned": true, "usedConstants": [ "Nat.bit", "Eq.mpr", "congrArg", "id", "instOfNa...
[ "b : Bool\nn : ℕ\nhn : (∀ (i : ℕ), n.testBit i = false) → n = 0\nh : ∀ (i : ℕ), (bit b n).testBit i = false\nthis : b = false\ni : ℕ\n⊢ n.testBit i = (bit b n).testBit (i + 1)" ]
← h (i + 1),
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.AkraBazzi.AkraBazzi
{ "line": 656, "column": 6 }
{ "line": 656, "column": 49 }
{ "line": 657, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\n⊢ T =O[atTop] fun n ↦ (1 - ε ↑n) * asympBound g a b n", "ppTerm": "?m.42", "assigned": true, "usedConstants": [ "AkraBazziRecurrence.T_isBigO_smoo...
[]
exact R.T_isBigO_smoothingFn_mul_asympBound
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Computability.AkraBazzi.AkraBazzi
{ "line": 656, "column": 6 }
{ "line": 656, "column": 49 }
{ "line": 657, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\n⊢ T =O[atTop] fun n ↦ (1 - ε ↑n) * asympBound g a b n", "ppTerm": "?m.42", "assigned": true, "usedConstants": [ "AkraBazziRecurrence.T_isBigO_smoo...
[]
exact R.T_isBigO_smoothingFn_mul_asympBound
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.AkraBazzi.AkraBazzi
{ "line": 656, "column": 6 }
{ "line": 656, "column": 49 }
{ "line": 657, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\n⊢ T =O[atTop] fun n ↦ (1 - ε ↑n) * asympBound g a b n", "ppTerm": "?m.42", "assigned": true, "usedConstants": [ "AkraBazziRecurrence.T_isBigO_smoo...
[]
exact R.T_isBigO_smoothingFn_mul_asympBound
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Num.Lemmas
{ "line": 61, "column": 6 }
{ "line": 61, "column": 22 }
{ "line": 61, "column": 23 }
[ { "pp": "α : Type u_1\ninst✝ : AddGroupWithOne α\nn : PosNum\n⊢ ↑↑n = ↑n", "ppTerm": "?m.2", "assigned": true, "usedConstants": [ "Int.cast", "Eq.mpr", "castPosNum", "Nat.instOne", "AddMonoid.toAddSemigroup", "congrArg", "AddGroupWithOne.toAddMonoidWithOne",...
[ "α : Type u_1\ninst✝ : AddGroupWithOne α\nn : PosNum\n⊢ ↑↑↑n = ↑n" ]
← to_nat_to_int,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.AkraBazzi.GrowsPolynomially
{ "line": 653, "column": 29 }
{ "line": 653, "column": 56 }
{ "line": 654, "column": 13 }
[ { "pp": "f g : ℝ → ℝ\nhg✝ : GrowsPolynomially g\nhf : f =Θ[atTop] g\nhf' : ∀ᶠ (x : ℝ) in atTop, 0 ≤ f x\nb : ℝ\nhb : b ∈ Set.Ioo 0 1\nhb_pos : 0 < b\nc₁ : ℝ\nhc₁_pos : 0 < c₁\nhf_lb : ∀ᶠ (x : ℝ) in atTop, c₁ * ‖g x‖ ≤ ‖f x‖\nc₂ : ℝ\nhc₂_pos : 0 < c₂\nhf_ub : ∀ᶠ (x : ℝ) in atTop, ‖f x‖ ≤ c₂ * ‖g x‖\nc₃ : ℝ\nhc₃_...
[]
gcongr; exact le_of_lt hb.2
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.AkraBazzi.GrowsPolynomially
{ "line": 653, "column": 29 }
{ "line": 653, "column": 56 }
{ "line": 654, "column": 13 }
[ { "pp": "f g : ℝ → ℝ\nhg✝ : GrowsPolynomially g\nhf : f =Θ[atTop] g\nhf' : ∀ᶠ (x : ℝ) in atTop, 0 ≤ f x\nb : ℝ\nhb : b ∈ Set.Ioo 0 1\nhb_pos : 0 < b\nc₁ : ℝ\nhc₁_pos : 0 < c₁\nhf_lb : ∀ᶠ (x : ℝ) in atTop, c₁ * ‖g x‖ ≤ ‖f x‖\nc₂ : ℝ\nhc₂_pos : 0 < c₂\nhf_ub : ∀ᶠ (x : ℝ) in atTop, ‖f x‖ ≤ c₂ * ‖g x‖\nc₃ : ℝ\nhc₃_...
[]
gcongr; exact le_of_lt hb.2
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.List.ReduceOption
{ "line": 60, "column": 2 }
{ "line": 61, "column": 43 }
{ "line": 62, "column": 2 }
[ { "pp": "case mp\nα : Type u_1\nl : List (Option α)\n⊢ (∀ (a : Option α), a ∈ l → id a = none) → ∃ n, l = replicate n none", "ppTerm": "?mp", "assigned": true, "usedConstants": [ "List.replicate", "List.eq_replicate_of_mem", "Membership.mem", "id", "Option.none", ...
[ "case mpr\nα : Type u_1\nl : List (Option α)\n⊢ (∃ n, l = replicate n none) → ∀ (a : Option α), a ∈ l → id a = none" ]
· intro h exact ⟨l.length, eq_replicate_of_mem h⟩
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Data.List.ReduceOption
{ "line": 118, "column": 2 }
{ "line": 118, "column": 63 }
{ "line": 120, "column": 0 }
[ { "pp": "α : Type u_1\nl : List (Option α)\n⊢ l.reduceOption.length = l.length ↔ ∀ (x : Option α), x ∈ l → x.isSome = true", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "List.reduceOption_length_eq", "Iff.rfl", "Membership.mem", "...
[]
rw [reduceOption_length_eq, List.length_filter_eq_length_iff]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.List.ReduceOption
{ "line": 118, "column": 2 }
{ "line": 118, "column": 63 }
{ "line": 120, "column": 0 }
[ { "pp": "α : Type u_1\nl : List (Option α)\n⊢ l.reduceOption.length = l.length ↔ ∀ (x : Option α), x ∈ l → x.isSome = true", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "List.reduceOption_length_eq", "Iff.rfl", "Membership.mem", "...
[]
rw [reduceOption_length_eq, List.length_filter_eq_length_iff]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.List.ReduceOption
{ "line": 118, "column": 2 }
{ "line": 118, "column": 63 }
{ "line": 120, "column": 0 }
[ { "pp": "α : Type u_1\nl : List (Option α)\n⊢ l.reduceOption.length = l.length ↔ ∀ (x : Option α), x ∈ l → x.isSome = true", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "List.reduceOption_length_eq", "Iff.rfl", "Membership.mem", "...
[]
rw [reduceOption_length_eq, List.length_filter_eq_length_iff]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Num.Lemmas
{ "line": 415, "column": 6 }
{ "line": 415, "column": 22 }
{ "line": 415, "column": 23 }
[ { "pp": "α : Type u_1\ninst✝ : AddGroupWithOne α\nn : Num\n⊢ ↑↑n = ↑n", "ppTerm": "?m.3", "assigned": true, "usedConstants": [ "AddGroup.toSubtractionMonoid", "Int.cast", "Eq.mpr", "Nat.instMulZeroClass", "Nat.instOne", "AddMonoid.toAddSemigroup", "AddGroupW...
[ "α : Type u_1\ninst✝ : AddGroupWithOne α\nn : Num\n⊢ ↑↑↑n = ↑n" ]
← to_nat_to_int,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Num.Lemmas
{ "line": 419, "column": 20 }
{ "line": 419, "column": 34 }
{ "line": 419, "column": 35 }
[ { "pp": "n : ℕ\n⊢ ↑↑(n + 1) = n + 1", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Eq.mpr", "Nat.cast_succ", "Nat.instMulZeroClass", "Nat.instOne", "AddMonoid.toAddSemigroup", "congrArg", "id", "AddMonoidWithOne.toNatCast", "instOfNat...
[ "n : ℕ\n⊢ ↑(↑n + 1) = n + 1" ]
Nat.cast_succ,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.EpsilonNFA
{ "line": 255, "column": 6 }
{ "line": 255, "column": 31 }
{ "line": 256, "column": 6 }
[ { "pp": "case nil.mp\nα : Type u\nσ : Type v\nM : εNFA α σ\ns₁ s₂ : σ\nn : ℕ\nh✝ : M.IsPath s₁ s₂ (List.replicate n none)\n⊢ ∃ x', x'.reduceOption = [] ∧ M.IsPath s₁ s₂ x'", "ppTerm": "?nil.mp", "assigned": true, "usedConstants": [ "List.replicate", "Option.none", "List", "An...
[ "case h\nα : Type u\nσ : Type v\nM : εNFA α σ\ns₁ s₂ : σ\nn : ℕ\nh✝ : M.IsPath s₁ s₂ (List.replicate n none)\n⊢ (List.replicate n none).reduceOption = [] ∧ M.IsPath s₁ s₂ (List.replicate n none)" ]
use List.replicate n none
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.Data.Num.Lemmas
{ "line": 704, "column": 16 }
{ "line": 704, "column": 51 }
{ "line": 706, "column": 0 }
[ { "pp": "p : PosNum\n⊢ ↑(pos p).pred = (↑(pos p)).pred", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Eq.mpr", "castPosNum", "Nat.instMulZeroClass", "Nat.instOne", "PosNum.pred'", "congrArg", "PosNum.pred'_to_nat", "id", "Num.pred.eq_2...
[]
rw [pred, PosNum.pred'_to_nat]; rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Num.Lemmas
{ "line": 704, "column": 16 }
{ "line": 704, "column": 51 }
{ "line": 706, "column": 0 }
[ { "pp": "p : PosNum\n⊢ ↑(pos p).pred = (↑(pos p)).pred", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Eq.mpr", "castPosNum", "Nat.instMulZeroClass", "Nat.instOne", "PosNum.pred'", "congrArg", "PosNum.pred'_to_nat", "id", "Num.pred.eq_2...
[]
rw [pred, PosNum.pred'_to_nat]; rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.StateTransition
{ "line": 113, "column": 6 }
{ "line": 115, "column": 34 }
{ "line": 116, "column": 4 }
[ { "pp": "case refine_1.none\nσ : Type u_1\nf : σ → Option σ\na✝ b : σ\nh✝ : b ∈ eval f a✝\na : σ\nh : b ∈ eval f a\nIH : ∀ (a' : σ), f a = some a' → Reaches f a' b ∧ f b = none\ne : f a = none\n⊢ Reaches f a b ∧ f b = none", "ppTerm": "?refine_1.none", "assigned": true, "usedConstants": [ "Iff...
[]
rw [Part.mem_unique h (PFun.mem_fix_iff.2 <| Or.inl <| Part.mem_some_iff.2 <| by rw [e]; rfl)] exact ⟨ReflTransGen.refl, e⟩
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.StateTransition
{ "line": 113, "column": 6 }
{ "line": 115, "column": 34 }
{ "line": 116, "column": 4 }
[ { "pp": "case refine_1.none\nσ : Type u_1\nf : σ → Option σ\na✝ b : σ\nh✝ : b ∈ eval f a✝\na : σ\nh : b ∈ eval f a\nIH : ∀ (a' : σ), f a = some a' → Reaches f a' b ∧ f b = none\ne : f a = none\n⊢ Reaches f a b ∧ f b = none", "ppTerm": "?refine_1.none", "assigned": true, "usedConstants": [ "Iff...
[]
rw [Part.mem_unique h (PFun.mem_fix_iff.2 <| Or.inl <| Part.mem_some_iff.2 <| by rw [e]; rfl)] exact ⟨ReflTransGen.refl, e⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.StateTransition
{ "line": 250, "column": 11 }
{ "line": 250, "column": 13 }
{ "line": 250, "column": 13 }
[ { "pp": "σ₁ σ₂ : Type u_1\nf₁ : σ₁ → Option σ₁\nf₂ : σ₂ → Option σ₂\ntr : σ₁ → σ₂\nH : Respects f₁ f₂ fun a b ↦ tr a = b\na₁ : σ₁\nb₂ : σ₂\nh✝ : b₂ ∈ tr <$> eval f₁ a₁\nb₁ : σ₁\nab : b₁ ∈ eval f₁ a₁\nbb : tr b₁ = b₂\nh : tr b₁ ∈ eval f₂ (tr a₁)\n⊢ b₂ ∈ eval f₂ (tr a₁)", "ppTerm": "?m.129", "assigned": t...
[ "σ₁ σ₂ : Type u_1\nf₁ : σ₁ → Option σ₁\nf₂ : σ₂ → Option σ₂\ntr : σ₁ → σ₂\nH : Respects f₁ f₂ fun a b ↦ tr a = b\na₁ : σ₁\nb₂ : σ₂\nh✝ : b₂ ∈ tr <$> eval f₁ a₁\nb₁ : σ₁\nab : b₁ ∈ eval f₁ a₁\nbb : tr b₁ = b₂\nh : b₂ ∈ eval f₂ (tr a₁)\n⊢ b₂ ∈ eval f₂ (tr a₁)" ]
bb
Lean.Elab.Tactic.evalRwaAt
null
Mathlib.Computability.TuringMachine.Tape
{ "line": 98, "column": 2 }
{ "line": 100, "column": 62 }
{ "line": 101, "column": 2 }
[ { "pp": "Γ : Type ?u.5\ninst✝ : Inhabited Γ\nl₁ l₂ : List Γ\nh : BlankRel l₁ l₂\n⊢ { l // BlankExtends l₁ l ∧ BlankExtends l₂ l }", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "id", "Subtype", "LE.le", "instLENat", "dite", "Subtype.mk", "List", ...
[ "case refine_1\nΓ : Type ?u.5\ninst✝ : Inhabited Γ\nl₁ l₂ : List Γ\nh : BlankRel l₁ l₂\nhl : l₁.length ≤ l₂.length\nh' : BlankExtends l₂ l₁\n⊢ BlankExtends l₁ l₂", "case refine_2\nΓ : Type ?u.5\ninst✝ : Inhabited Γ\nl₁ l₂ : List Γ\nh : BlankRel l₁ l₂\nhl : ¬l₁.length ≤ l₂.length\nh' : BlankExtends l₁ l₂\n⊢ BlankE...
refine if hl : l₁.length ≤ l₂.length then ⟨l₂, Or.elim h id fun h' ↦ ?_, BlankExtends.refl _⟩ else ⟨l₁, BlankExtends.refl _, Or.elim h (fun h' ↦ ?_) id⟩
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Computability.TuringMachine.PostTuringMachine
{ "line": 376, "column": 20 }
{ "line": 378, "column": 81 }
{ "line": 379, "column": 2 }
[ { "pp": "case branch\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁✝ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁✝\np : Γ → σ → Bool\nq₁ q₂ : Stmt Γ Λ σ\nIH₁ : q₁✝ ∈ stmts₁ q₁ → q₀ ∈ stmts₁ q₁\nIH₂ : q₁✝ ∈ stmts₁ q₂ → q₀ ∈ stmts₁ q₂\nh₁₂ : q₁✝ ∈ stmts₁ (branch p q₁ q₂)\n⊢ q₀ ∈ stmts₁ (branch p q₁ q₂)", "ppTerm": "?...
[ "case branch\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁✝ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁✝\np : Γ → σ → Bool\nq₁ q₂ : Stmt Γ Λ σ\nIH₁ : q₁✝ ∈ stmts₁ q₁ → q₀ ∈ stmts₁ q₁\nIH₂ : q₁✝ ∈ stmts₁ q₂ → q₀ ∈ stmts₁ q₂\nh₁₂ : q₁✝ = branch p q₁ q₂ ∨ q₁✝ ∈ stmts₁ q₁ ∨ q₁✝ ∈ stmts₁ q₂\n⊢ q₀ ∈ insert (branch p q₁ q₂) (st...
( simp only [stmts₁] at h₁₂ ⊢ simp only [Finset.mem_insert, Finset.mem_union, Finset.mem_singleton] at h₁₂)
Lean.Elab.Tactic.evalParen
Lean.Parser.Tactic.paren
Mathlib.Computability.TuringMachine.PostTuringMachine
{ "line": 376, "column": 20 }
{ "line": 378, "column": 81 }
{ "line": 379, "column": 2 }
[ { "pp": "case goto\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁\nl : Γ → σ → Λ\nh₁₂ : q₁ ∈ stmts₁ (goto l)\n⊢ q₀ ∈ stmts₁ (goto l)", "ppTerm": "?goto", "assigned": true, "usedConstants": [ "Finset", "Membership.mem", "Eq.mp", "id", ...
[ "case goto\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁\nl : Γ → σ → Λ\nh₁₂ : q₁ = goto l\n⊢ q₀ ∈ {goto l}" ]
( simp only [stmts₁] at h₁₂ ⊢ simp only [Finset.mem_insert, Finset.mem_union, Finset.mem_singleton] at h₁₂)
Lean.Elab.Tactic.evalParen
Lean.Parser.Tactic.paren
Mathlib.Computability.TuringMachine.PostTuringMachine
{ "line": 376, "column": 20 }
{ "line": 378, "column": 81 }
{ "line": 379, "column": 2 }
[ { "pp": "case halt\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁\nh₁₂ : q₁ ∈ stmts₁ halt\n⊢ q₀ ∈ stmts₁ halt", "ppTerm": "?halt", "assigned": true, "usedConstants": [ "Finset", "Membership.mem", "Eq.mp", "id", "Turing.TM1.stmts₁", ...
[ "case halt\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁\nh₁₂ : q₁ = halt\n⊢ q₀ ∈ {halt}" ]
( simp only [stmts₁] at h₁₂ ⊢ simp only [Finset.mem_insert, Finset.mem_union, Finset.mem_singleton] at h₁₂)
Lean.Elab.Tactic.evalParen
Lean.Parser.Tactic.paren
Mathlib.Computability.TuringMachine.PostTuringMachine
{ "line": 376, "column": 20 }
{ "line": 378, "column": 81 }
{ "line": 379, "column": 2 }
[ { "pp": "case move\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁\na✝ : Dir\nq : Stmt Γ Λ σ\nIH : q₁ ∈ stmts₁ q → q₀ ∈ stmts₁ q\nh₁₂ : q₁ ∈ stmts₁ (move a✝ q)\n⊢ q₀ ∈ stmts₁ (move a✝ q)", "ppTerm": "?move", "assigned": true, "usedConstants": [ "Turing.TM1.S...
[ "case move\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁\na✝ : Dir\nq : Stmt Γ Λ σ\nIH : q₁ ∈ stmts₁ q → q₀ ∈ stmts₁ q\nh₁₂ : q₁ = move a✝ q ∨ q₁ ∈ stmts₁ q\n⊢ q₀ ∈ insert (move a✝ q) (stmts₁ q)" ]
( simp only [stmts₁] at h₁₂ ⊢ simp only [Finset.mem_insert, Finset.mem_union, Finset.mem_singleton] at h₁₂)
Lean.Elab.Tactic.evalParen
Lean.Parser.Tactic.paren
Mathlib.Computability.RegularExpressions
{ "line": 288, "column": 12 }
{ "line": 288, "column": 56 }
{ "line": 289, "column": 10 }
[ { "pp": "case mpr.cons.cons.nil\nα : Type u_1\ninst✝ : DecidableEq α\nP : RegularExpression α\na : α\nx : List α\nIH :\n ∀ (t : List α),\n t.length < (a :: x).length → (P.star.rmatch t = true ↔ ∃ S, t = S.flatten ∧ ∀ t ∈ S, t ≠ [] ∧ P.rmatch t = true)\nU : List (List α)\nhsum : a :: x = ([] :: U).flatten\nh...
[]
simp only [not_true, Ne, false_and] at helem
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Computability.TuringMachine.PostTuringMachine
{ "line": 376, "column": 20 }
{ "line": 378, "column": 81 }
{ "line": 379, "column": 2 }
[ { "pp": "case write\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁\na✝ : Γ → σ → Γ\nq : Stmt Γ Λ σ\nIH : q₁ ∈ stmts₁ q → q₀ ∈ stmts₁ q\nh₁₂ : q₁ ∈ stmts₁ (write a✝ q)\n⊢ q₀ ∈ stmts₁ (write a✝ q)", "ppTerm": "?write", "assigned": true, "usedConstants": [ "Fi...
[ "case write\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁\na✝ : Γ → σ → Γ\nq : Stmt Γ Λ σ\nIH : q₁ ∈ stmts₁ q → q₀ ∈ stmts₁ q\nh₁₂ : q₁ = write a✝ q ∨ q₁ ∈ stmts₁ q\n⊢ q₀ ∈ insert (write a✝ q) (stmts₁ q)" ]
( simp only [stmts₁] at h₁₂ ⊢ simp only [Finset.mem_insert, Finset.mem_union, Finset.mem_singleton] at h₁₂)
Lean.Elab.Tactic.evalParen
Lean.Parser.Tactic.paren
Mathlib.Computability.TuringMachine.PostTuringMachine
{ "line": 376, "column": 20 }
{ "line": 378, "column": 81 }
{ "line": 379, "column": 2 }
[ { "pp": "case load\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁\na✝ : Γ → σ → σ\nq : Stmt Γ Λ σ\nIH : q₁ ∈ stmts₁ q → q₀ ∈ stmts₁ q\nh₁₂ : q₁ ∈ stmts₁ (load a✝ q)\n⊢ q₀ ∈ stmts₁ (load a✝ q)", "ppTerm": "?load", "assigned": true, "usedConstants": [ "Finset...
[ "case load\nΓ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nq₁ q₀ : Stmt Γ Λ σ\nh₀₁ : q₀ ∈ stmts₁ q₁\na✝ : Γ → σ → σ\nq : Stmt Γ Λ σ\nIH : q₁ ∈ stmts₁ q → q₀ ∈ stmts₁ q\nh₁₂ : q₁ = load a✝ q ∨ q₁ ∈ stmts₁ q\n⊢ q₀ ∈ insert (load a✝ q) (stmts₁ q)" ]
( simp only [stmts₁] at h₁₂ ⊢ simp only [Finset.mem_insert, Finset.mem_union, Finset.mem_singleton] at h₁₂)
Lean.Elab.Tactic.evalParen
Lean.Parser.Tactic.paren
Mathlib.Computability.TuringMachine.PostTuringMachine
{ "line": 435, "column": 15 }
{ "line": 435, "column": 51 }
{ "line": 435, "column": 52 }
[ { "pp": "Γ : Type u_1\nΛ : Type u_2\nσ : Type u_3\ninst✝¹ : Inhabited Λ\ninst✝ : Inhabited Γ\nM : Λ → Stmt Γ Λ σ\nS : Finset Λ\nss : Supports M S\nl₁ : Λ\nv : σ\nT : Tape Γ\nx✝ : Stmt Γ Λ σ\n⊢ SupportsStmt S x✝ → (stepAux x✝ v T).l ∈ Finset.insertNone S", "ppTerm": "?m.185", "assigned": true, "usedC...
[]
induction M l₁ generalizing v T with
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Computability.TuringMachine.PostTuringMachine
{ "line": 529, "column": 4 }
{ "line": 529, "column": 40 }
{ "line": 530, "column": 4 }
[ { "pp": "case some\nΓ : Type u_1\nΛ : Type u_2\ninst✝² : Inhabited Λ\nσ : Type u_3\ninst✝¹ : Inhabited σ\nM : Λ → TM1.Stmt Γ Λ σ\ninst✝ : Inhabited Γ\nx✝¹ : TM1.Cfg Γ Λ σ\nv : σ\nT : Tape Γ\nl₁ : Λ\nx✝ : TM1.Stmt Γ Λ σ\n⊢ Reaches₁ (TM0.step (tr M)) { q := (some x✝, v), Tape := T }\n {\n q :=\n (m...
[]
induction M l₁ generalizing v T with
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Computability.TuringMachine.StackTuringMachine
{ "line": 273, "column": 6 }
{ "line": 275, "column": 26 }
{ "line": 276, "column": 4 }
[ { "pp": "case branch\nK : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝¹ : Inhabited Λ\ninst✝ : DecidableEq K\nM : Λ → Stmt Γ Λ σ\nS : Finset Λ\nss : Supports M S\nl₁ : Λ\np : σ → Bool\nq₁' q₂' : Stmt Γ Λ σ\nIH₁ : ∀ (v : σ) (T : (k : K) → List (Γ k)), SupportsStmt S q₁' → (stepAux q₁' v T).l ∈ F...
[]
unfold stepAux; cases p v · exact IH₂ _ _ hs.2 · exact IH₁ _ _ hs.1
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.TuringMachine.StackTuringMachine
{ "line": 273, "column": 6 }
{ "line": 275, "column": 26 }
{ "line": 276, "column": 4 }
[ { "pp": "case branch\nK : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝¹ : Inhabited Λ\ninst✝ : DecidableEq K\nM : Λ → Stmt Γ Λ σ\nS : Finset Λ\nss : Supports M S\nl₁ : Λ\np : σ → Bool\nq₁' q₂' : Stmt Γ Λ σ\nIH₁ : ∀ (v : σ) (T : (k : K) → List (Γ k)), SupportsStmt S q₁' → (stepAux q₁' v T).l ∈ F...
[]
unfold stepAux; cases p v · exact IH₂ _ _ hs.2 · exact IH₁ _ _ hs.1
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.TuringMachine.Config
{ "line": 258, "column": 8 }
{ "line": 259, "column": 11 }
{ "line": 259, "column": 11 }
[ { "pp": "m n : ℕ\nf : List.Vector ℕ n →. ℕ\ng : Fin n → List.Vector ℕ m →. ℕ\nhg✝ : ∀ (i : Fin n), ∃ c, ∀ (v : List.Vector ℕ m), c.eval ↑v = pure <$> g i v\ncg : Code\nhg : ∀ (v : List.Vector ℕ m), cg.eval ↑v = Subtype.val <$> Vector.mOfFn fun i ↦ g i v\ncf : Code\nhf : ∀ (v : List.Vector ℕ n), cf.eval ↑v = pur...
[]
simp [hg, hf, map_bind] rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.TuringMachine.Config
{ "line": 258, "column": 8 }
{ "line": 259, "column": 11 }
{ "line": 259, "column": 11 }
[ { "pp": "m n : ℕ\nf : List.Vector ℕ n →. ℕ\ng : Fin n → List.Vector ℕ m →. ℕ\nhg✝ : ∀ (i : Fin n), ∃ c, ∀ (v : List.Vector ℕ m), c.eval ↑v = pure <$> g i v\ncg : Code\nhg : ∀ (v : List.Vector ℕ m), cg.eval ↑v = Subtype.val <$> Vector.mOfFn fun i ↦ g i v\ncf : Code\nhf : ∀ (v : List.Vector ℕ n), cf.eval ↑v = pur...
[]
simp [hg, hf, map_bind] rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.TuringMachine.StackTuringMachine
{ "line": 271, "column": 15 }
{ "line": 271, "column": 51 }
{ "line": 271, "column": 52 }
[ { "pp": "K : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝¹ : Inhabited Λ\ninst✝ : DecidableEq K\nM : Λ → Stmt Γ Λ σ\nS : Finset Λ\nss : Supports M S\nl₁ : Λ\nv : σ\nT : (k : K) → List (Γ k)\nx✝ : Stmt Γ Λ σ\n⊢ SupportsStmt S x✝ → (stepAux x✝ v T).l ∈ Finset.insertNone S", "ppTerm": "?m.161"...
[]
induction M l₁ generalizing v T with
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Computability.TuringMachine.PostTuringMachine
{ "line": 642, "column": 2 }
{ "line": 642, "column": 91 }
{ "line": 644, "column": 0 }
[ { "pp": "Γ : Type u_1\ninst✝¹ : Inhabited Γ\ninst✝ : Finite Γ\nn : ℕ\ne : Γ ≃ Fin n\nthis : DecidableEq Γ := e.decidableEq\nG : Fin n ↪ Fin n → Bool := { toFun := fun a b ↦ decide (a = b), inj' := ⋯ }\nH : Γ ↪ List.Vector Bool n := (e.toEmbedding.trans G).trans (Equiv.vectorEquivFin Bool n).symm.toEmbedding\nen...
[]
exact ⟨_, enc, Function.invFun enc, H.setValue_eq _ _, Function.leftInverse_invFun enc.2⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Data.Num.Lemmas
{ "line": 783, "column": 2 }
{ "line": 784, "column": 68 }
{ "line": 786, "column": 0 }
[ { "pp": "⊢ ∀ (m n : Num), ↑(m ||| n) = ↑m ||| ↑n", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "PosNum.casesOn", "cond", "Num.bit", "instHOrOfOrOp", "Num.castNum_eq_bitwise", "PosNum.lor", "PosNum.bit1", "PosNum.bit", "instOnePosNum",...
[]
apply castNum_eq_bitwise fun x y => pos (PosNum.lor x y) <;> (try rintro (_ | _)) <;> (try rintro (_ | _)) <;> intros <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Data.Num.Lemmas
{ "line": 783, "column": 2 }
{ "line": 784, "column": 68 }
{ "line": 786, "column": 0 }
[ { "pp": "⊢ ∀ (m n : Num), ↑(m ||| n) = ↑m ||| ↑n", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "PosNum.casesOn", "cond", "Num.bit", "instHOrOfOrOp", "Num.castNum_eq_bitwise", "PosNum.lor", "PosNum.bit1", "PosNum.bit", "instOnePosNum",...
[]
apply castNum_eq_bitwise fun x y => pos (PosNum.lor x y) <;> (try rintro (_ | _)) <;> (try rintro (_ | _)) <;> intros <;> rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Num.Lemmas
{ "line": 783, "column": 2 }
{ "line": 784, "column": 68 }
{ "line": 786, "column": 0 }
[ { "pp": "⊢ ∀ (m n : Num), ↑(m ||| n) = ↑m ||| ↑n", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "PosNum.casesOn", "cond", "Num.bit", "instHOrOfOrOp", "Num.castNum_eq_bitwise", "PosNum.lor", "PosNum.bit1", "PosNum.bit", "instOnePosNum",...
[]
apply castNum_eq_bitwise fun x y => pos (PosNum.lor x y) <;> (try rintro (_ | _)) <;> (try rintro (_ | _)) <;> intros <;> rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.Category.CompHausLike.Basic
{ "line": 246, "column": 22 }
{ "line": 246, "column": 52 }
{ "line": 246, "column": 52 }
[ { "pp": "P : TopCat → Prop\nX : Type u\ninst✝³ : TopologicalSpace X\ninst✝² : CompactSpace X\ninst✝¹ : T2Space X\ninst✝ : HasProp P X\nA B : CompHausLike P\nf : A ⟶ B\nhf : IsIso ((forget (CompHausLike P)).map f)\n⊢ IsIso f", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "CategoryThe...
[ "P : TopCat → Prop\nX : Type u\ninst✝³ : TopologicalSpace X\ninst✝² : CompactSpace X\ninst✝¹ : T2Space X\ninst✝ : HasProp P X\nA B : CompHausLike P\nf : A ⟶ B\nhf : Function.Bijective ⇑(ConcreteCategory.hom ((forget (CompHausLike P)).map f))\n⊢ IsIso f" ]
rw [isIso_iff_bijective] at hf
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Computability.TuringMachine.StackTuringMachine
{ "line": 711, "column": 6 }
{ "line": 711, "column": 26 }
{ "line": 711, "column": 26 }
[ { "pp": "K : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝² : DecidableEq K\ninst✝¹ : Inhabited Λ\ninst✝ : Inhabited σ\nk : K\nL : List (Γ k)\n⊢ TrCfg (TM2.init k L) (TM1.init (trInit k L))", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "Eq.mpr", "Turing.TM2to1...
[ "K : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝² : DecidableEq K\ninst✝¹ : Inhabited Λ\ninst✝ : Inhabited σ\nk : K\nL : List (Γ k)\n⊢ TrCfg (TM2.init k L) ?m.33", "K : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝² : DecidableEq K\ninst✝¹ : Inhabited Λ\ninst✝ : Inhabited σ\nk : ...
(_ : TM1.init _ = _)
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.TuringMachine.StackTuringMachine
{ "line": 719, "column": 4 }
{ "line": 721, "column": 94 }
{ "line": 722, "column": 4 }
[ { "pp": "case pos\nK : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝² : DecidableEq K\ninst✝¹ : Inhabited Λ\ninst✝ : Inhabited σ\nk : K\nL : List (Γ k)\nk' : K\ni : ℕ\nthis : ((proj k').f ∘ fun a ↦ update default k (some a)) = fun a ↦ (proj k').f (update default k (some a))\nh : k' = k\n⊢ (Optio...
[ "case neg\nK : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝² : DecidableEq K\ninst✝¹ : Inhabited Λ\ninst✝ : Inhabited σ\nk : K\nL : List (Γ k)\nk' : K\ni : ℕ\nthis : ((proj k').f ∘ fun a ↦ update default k (some a)) = fun a ↦ (proj k').f (update default k (some a))\nh : ¬k' = k\n⊢ (Option.map (fun ...
· subst k' simp only [Function.update_self] rw [ListBlank.nth_mk, List.getI_eq_getElem?_getD, ← List.map_reverse, List.getElem?_map]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Computability.TuringMachine.ToPartrec
{ "line": 655, "column": 4 }
{ "line": 655, "column": 67 }
{ "line": 656, "column": 4 }
[ { "pp": "case cons\np : Γ' → Bool\nk : K'\nq : Λ'\no : Option Γ'\nL₂ : List Γ'\na : Γ'\nL₁ : List Γ'\nIH :\n ∀ {s : Option Γ'} {S : K' → List Γ'},\n splitAtPred p (S k) = (L₁, o, L₂) →\n Reaches₁ (TM2.step tr) { l := some (Λ'.clear p k q), var := s, stk := S }\n { l := some q, var := o, stk := u...
[ "case cons.nil\np : Γ' → Bool\nk : K'\nq : Λ'\no : Option Γ'\nL₂ : List Γ'\na : Γ'\nL₁ : List Γ'\nIH :\n ∀ {s : Option Γ'} {S : K' → List Γ'},\n splitAtPred p (S k) = (L₁, o, L₂) →\n Reaches₁ (TM2.step tr) { l := some (Λ'.clear p k q), var := s, stk := S }\n { l := some q, var := o, stk := update S ...
rcases e₁ : S k with - | ⟨a', Sk⟩ <;> rw [e₁, splitAtPred] at e
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Computability.TuringMachine.ToPartrec
{ "line": 913, "column": 37 }
{ "line": 913, "column": 51 }
{ "line": 913, "column": 52 }
[ { "pp": "case cons.succ\nf : Code\nk : Cont\nIH :\n ∀ (v : List ℕ) (s : Option Γ'),\n ∃ b₂,\n TrCfg (stepRet k v) b₂ ∧\n Reaches₁ (TM2.step tr) { l := some (Λ'.ret (trCont k)), var := s, stk := elim (trList v) [] [] (trContStack k) }\n b₂\ns : Option Γ'\ntail✝ : List ℕ\nn : ℕ\n⊢ if n + ...
[ "case cons.succ\nf : Code\nk : Cont\nIH :\n ∀ (v : List ℕ) (s : Option Γ'),\n ∃ b₂,\n TrCfg (stepRet k v) b₂ ∧\n Reaches₁ (TM2.step tr) { l := some (Λ'.ret (trCont k)), var := s, stk := elim (trList v) [] [] (trContStack k) }\n b₂\ns : Option Γ'\ntail✝ : List ℕ\nn : ℕ\n⊢ if n + 1 = 0 then\n...
Nat.cast_succ,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.TuringMachine.ToPartrec
{ "line": 1212, "column": 4 }
{ "line": 1212, "column": 16 }
{ "line": 1212, "column": 16 }
[ { "pp": "case cons\nS : Finset Λ'\nf fs : Code\nIHf : ∀ {k : Cont'}, codeSupp f k ⊆ S → Supports (codeSupp' f k) S\nIHfs : ∀ {k : Cont'}, codeSupp fs k ⊆ S → Supports (codeSupp' fs k) S\nk : Cont'\nH : codeSupp (f.cons fs) k ⊆ S\n⊢ Supports (codeSupp' (f.cons fs) k) S", "ppTerm": "?cons", "assigned": tr...
[ "case cons\nS : Finset Λ'\nf fs : Code\nIHf : ∀ {k : Cont'}, codeSupp f k ⊆ S → Supports (codeSupp' f k) S\nIHfs : ∀ {k : Cont'}, codeSupp fs k ⊆ S → Supports (codeSupp' fs k) S\nk : Cont'\nH H' : codeSupp (f.cons fs) k ⊆ S\n⊢ Supports (codeSupp' (f.cons fs) k) S" ]
have H' := H
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Computability.TuringMachine.ToPartrec
{ "line": 1225, "column": 4 }
{ "line": 1225, "column": 16 }
{ "line": 1225, "column": 16 }
[ { "pp": "case comp\nS : Finset Λ'\nf g : Code\nIHf : ∀ {k : Cont'}, codeSupp f k ⊆ S → Supports (codeSupp' f k) S\nIHg : ∀ {k : Cont'}, codeSupp g k ⊆ S → Supports (codeSupp' g k) S\nk : Cont'\nH : codeSupp (f.comp g) k ⊆ S\n⊢ Supports (codeSupp' (f.comp g) k) S", "ppTerm": "?comp", "assigned": true, ...
[ "case comp\nS : Finset Λ'\nf g : Code\nIHf : ∀ {k : Cont'}, codeSupp f k ⊆ S → Supports (codeSupp' f k) S\nIHg : ∀ {k : Cont'}, codeSupp g k ⊆ S → Supports (codeSupp' g k) S\nk : Cont'\nH H' : codeSupp (f.comp g) k ⊆ S\n⊢ Supports (codeSupp' (f.comp g) k) S" ]
have H' := H
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Computability.TuringMachine.ToPartrec
{ "line": 1233, "column": 4 }
{ "line": 1233, "column": 16 }
{ "line": 1233, "column": 16 }
[ { "pp": "case case\nS : Finset Λ'\nf g : Code\nIHf : ∀ {k : Cont'}, codeSupp f k ⊆ S → Supports (codeSupp' f k) S\nIHg : ∀ {k : Cont'}, codeSupp g k ⊆ S → Supports (codeSupp' g k) S\nk : Cont'\nH : codeSupp (f.case g) k ⊆ S\n⊢ Supports (codeSupp' (f.case g) k) S", "ppTerm": "?case", "assigned": true, ...
[ "case case\nS : Finset Λ'\nf g : Code\nIHf : ∀ {k : Cont'}, codeSupp f k ⊆ S → Supports (codeSupp' f k) S\nIHg : ∀ {k : Cont'}, codeSupp g k ⊆ S → Supports (codeSupp' g k) S\nk : Cont'\nH H' : codeSupp (f.case g) k ⊆ S\n⊢ Supports (codeSupp' (f.case g) k) S" ]
have H' := H
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Computability.TuringMachine.ToPartrec
{ "line": 1237, "column": 4 }
{ "line": 1237, "column": 16 }
{ "line": 1237, "column": 16 }
[ { "pp": "case fix\nS : Finset Λ'\nf : Code\nIHf : ∀ {k : Cont'}, codeSupp f k ⊆ S → Supports (codeSupp' f k) S\nk : Cont'\nH : codeSupp f.fix k ⊆ S\n⊢ Supports (codeSupp' f.fix k) S", "ppTerm": "?fix", "assigned": true, "usedConstants": [ "Finset", "PartialOrder.toPreorder", "Preor...
[ "case fix\nS : Finset Λ'\nf : Code\nIHf : ∀ {k : Cont'}, codeSupp f k ⊆ S → Supports (codeSupp' f k) S\nk : Cont'\nH H' : codeSupp f.fix k ⊆ S\n⊢ Supports (codeSupp' f.fix k) S" ]
have H' := H
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Computability.TuringMachine.ToPartrec
{ "line": 1257, "column": 4 }
{ "line": 1257, "column": 16 }
{ "line": 1257, "column": 16 }
[ { "pp": "case cons₂\nS : Finset Λ'\nk : Cont'\nIH : contSupp k ⊆ S → Supports (contSupp k) S\nH : contSupp k.cons₂ ⊆ S\n⊢ Supports (contSupp k.cons₂) S", "ppTerm": "?cons₂", "assigned": true, "usedConstants": [ "Finset", "PartialOrder.toPreorder", "Turing.PartrecToTM2.Cont'.cons₂",...
[ "case cons₂\nS : Finset Λ'\nk : Cont'\nIH : contSupp k ⊆ S → Supports (contSupp k) S\nH H' : contSupp k.cons₂ ⊆ S\n⊢ Supports (contSupp k.cons₂) S" ]
have H' := H
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Computability.TuringMachine.ToPartrec
{ "line": 1260, "column": 4 }
{ "line": 1260, "column": 16 }
{ "line": 1260, "column": 16 }
[ { "pp": "case comp\nS : Finset Λ'\nf : Code\nk : Cont'\nIH : contSupp k ⊆ S → Supports (contSupp k) S\nH : contSupp (Cont'.comp f k) ⊆ S\n⊢ Supports (contSupp (Cont'.comp f k)) S", "ppTerm": "?comp", "assigned": true, "usedConstants": [ "Finset", "PartialOrder.toPreorder", "Preorde...
[ "case comp\nS : Finset Λ'\nf : Code\nk : Cont'\nIH : contSupp k ⊆ S → Supports (contSupp k) S\nH H' : contSupp (Cont'.comp f k) ⊆ S\n⊢ Supports (contSupp (Cont'.comp f k)) S" ]
have H' := H
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Topology.Compactification.OnePoint.Basic
{ "line": 216, "column": 4 }
{ "line": 216, "column": 24 }
{ "line": 217, "column": 4 }
[ { "pp": "X : Type u_1\nY : Type u_2\ninst✝ : TopologicalSpace X\nS : Set (Set (OnePoint X))\nho : ∀ t ∈ S, (∞ ∈ t → IsCompact (some ⁻¹' t)ᶜ) ∧ IsOpen[inst✝] (some ⁻¹' t)\n⊢ IsOpen[inst✝] (some ⁻¹' ⋃₀ S)", "ppTerm": "?m.79", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", ...
[ "X : Type u_1\nY : Type u_2\ninst✝ : TopologicalSpace X\nS : Set (Set (OnePoint X))\nho : ∀ t ∈ S, (∞ ∈ t → IsCompact (some ⁻¹' t)ᶜ) ∧ IsOpen[inst✝] (some ⁻¹' t)\n⊢ IsOpen[inst✝] (⋃ t ∈ S, some ⁻¹' t)" ]
rw [preimage_sUnion]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Condensed.Discrete.Colimit
{ "line": 75, "column": 2 }
{ "line": 77, "column": 52 }
{ "line": 79, "column": 0 }
[ { "pp": "I : Type u\ninst✝² : Category.{u, u} I\ninst✝¹ : IsCofiltered I\nF : I ⥤ FintypeCat\nc : Cone (F ⋙ toProfinite)\nX : Type (u + 1)\nhc : IsLimit c\ninst✝ : ∀ (i : I), Epi (c.π.app i)\ns : Cocone ((F ⋙ toProfinite).op ⋙ locallyConstantPresheaf X)\ni : I\nf : LocallyConstant (↑(toProfinite.obj (F.obj i))....
[]
change ((((locallyConstantPresheaf X).mapCocone c.op).ι.app ⟨i⟩) ≫ (isColimitLocallyConstantPresheaf c X hc).desc s) _ = _ rw [(isColimitLocallyConstantPresheaf c X hc).fac]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Condensed.Discrete.Colimit
{ "line": 75, "column": 2 }
{ "line": 77, "column": 52 }
{ "line": 79, "column": 0 }
[ { "pp": "I : Type u\ninst✝² : Category.{u, u} I\ninst✝¹ : IsCofiltered I\nF : I ⥤ FintypeCat\nc : Cone (F ⋙ toProfinite)\nX : Type (u + 1)\nhc : IsLimit c\ninst✝ : ∀ (i : I), Epi (c.π.app i)\ns : Cocone ((F ⋙ toProfinite).op ⋙ locallyConstantPresheaf X)\ni : I\nf : LocallyConstant (↑(toProfinite.obj (F.obj i))....
[]
change ((((locallyConstantPresheaf X).mapCocone c.op).ι.app ⟨i⟩) ≫ (isColimitLocallyConstantPresheaf c X hc).desc s) _ = _ rw [(isColimitLocallyConstantPresheaf c X hc).fac]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.Compactness.CompactlyGeneratedSpace
{ "line": 122, "column": 4 }
{ "line": 122, "column": 44 }
{ "line": 123, "column": 4 }
[ { "pp": "X : Type w\nt : TopologicalSpace X\nh :\n ∀ {Y : Type w} [tY : TopologicalSpace Y] (f : X → Y),\n (∀ (S : CompHaus) (g : C(↑S.toTop, X)), Continuous (f ∘ ⇑g)) → Continuous[t, _] f\n⊢ Continuous[t, compactlyGenerated X] id", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "...
[ "X : Type w\nt : TopologicalSpace X\nh :\n ∀ {Y : Type w} [tY : TopologicalSpace Y] (f : X → Y),\n (∀ (S : CompHaus) (g : C(↑S.toTop, X)), Continuous (f ∘ ⇑g)) → Continuous[t, _] f\n⊢ ∀ (S : CompHaus) (g : C(↑S.toTop, X)), Continuous[_, compactlyGenerated X] (id ∘ ⇑g)" ]
apply h (tY := compactlyGenerated.{u} X)
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.Control.Fold
{ "line": 373, "column": 90 }
{ "line": 375, "column": 81 }
{ "line": 376, "column": 4 }
[ { "pp": "α β : Type u\nt : Type u → Type u\ninst✝³ : Traversable t\ninst✝² : LawfulTraversable t\nm : Type u → Type u\ninst✝¹ : Monad m\ninst✝ : LawfulMonad m\nf : α → β → m α\nx : α\nxs : t β\n⊢ foldlM f x xs = (unop ((foldlM.ofFreeMonoid f) { toList := toList xs })).asHom x", "ppTerm": "?m.45", "assig...
[]
by simp only [foldlM, toList_spec, foldMap_hom_free (Monoid.foldlM.ofFreeMonoid f), foldlM.ofFreeMonoid_comp_of, Monoid.foldlM.get, FreeMonoid.ofList_toList]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Control.LawfulFix
{ "line": 53, "column": 73 }
{ "line": 56, "column": 54 }
{ "line": 58, "column": 0 }
[ { "pp": "α : Type u_1\nβ : α → Type u_2\nf : ((a : α) → Part (β a)) →o (a : α) → Part (β a)\ni : ℕ\n⊢ approx (⇑f) i ≤ approx (⇑f) i.succ", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Part", "Nat.recAux", "Pi.preorder", "OrderHom.monotone", "OrderBot.toBot",...
[]
by induction i with | zero => dsimp [approx]; apply @bot_le _ _ _ (f ⊥) | succ _ i_ih => intro; apply f.monotone; apply i_ih
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Control.LawfulFix
{ "line": 94, "column": 4 }
{ "line": 94, "column": 29 }
{ "line": 95, "column": 4 }
[ { "pp": "case pos\nα : Type u_1\nβ : α → Type u_2\nf : ((a : α) → Part (β a)) →o (a : α) → Part (β a)\nx : α\nhh : ∃ i b, b ∈ approx (⇑f) i x\n⊢ ∃ i, Part.fix (⇑f) x ≤ approx (⇑f) i x", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Part", "Pi.preorder", "PartialOrder.toP...
[ "case pos\nα : Type u_1\nβ : α → Type u_2\nf : ((a : α) → Part (β a)) →o (a : α) → Part (β a)\nx : α\ni : ℕ\nb : β x\nhb : b ∈ approx (⇑f) i x\n⊢ ∃ i, Part.fix (⇑f) x ≤ approx (⇑f) i x" ]
rcases hh with ⟨i, b, hb⟩
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases
Lean.Parser.Tactic.rcases
Mathlib.Condensed.Light.Sequence
{ "line": 359, "column": 4 }
{ "line": 359, "column": 47 }
{ "line": 360, "column": 2 }
[ { "pp": "case pos\nR : Type\ninst✝ : CommRing R\nX Y : LightCondMod R\np : X ⟶ Y\nhp : Epi p\nS : LightProfinite\nf : (free R).obj (S ⊗ ℕ∪{∞}).toCondensed ⟶ Y\nT : LightProfinite\nπ : T ⟶ S ⊗ ℕ∪{∞}\ng : (free R).obj T.toCondensed ⟶ X\nhπ : Epi π\ncomm : (lightProfiniteToLightCondSet ⋙ free R).map π ≫ f = g ≫ p\...
[]
rw [reassoc_of% this, reassoc_of% split.id]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Condensed.Light.Sequence
{ "line": 362, "column": 9 }
{ "line": 362, "column": 35 }
{ "line": 362, "column": 35 }
[ { "pp": "R : Type\ninst✝ : CommRing R\nX Y : LightCondMod R\np : X ⟶ Y\nhp : Epi p\nS : LightProfinite\nf : (free R).obj (S ⊗ ℕ∪{∞}).toCondensed ⟶ Y\nT : LightProfinite\nπ : T ⟶ S ⊗ ℕ∪{∞}\ng : (free R).obj T.toCondensed ⟶ X\nhπ : Epi π\ncomm : (lightProfiniteToLightCondSet ⋙ free R).map π ≫ f = g ≫ p\nS' T' : L...
[]
ext x; exact h.elim (π' x)
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Condensed.Light.Sequence
{ "line": 362, "column": 9 }
{ "line": 362, "column": 35 }
{ "line": 362, "column": 35 }
[ { "pp": "R : Type\ninst✝ : CommRing R\nX Y : LightCondMod R\np : X ⟶ Y\nhp : Epi p\nS : LightProfinite\nf : (free R).obj (S ⊗ ℕ∪{∞}).toCondensed ⟶ Y\nT : LightProfinite\nπ : T ⟶ S ⊗ ℕ∪{∞}\ng : (free R).obj T.toCondensed ⟶ X\nhπ : Epi π\ncomm : (lightProfiniteToLightCondSet ⋙ free R).map π ≫ f = g ≫ p\nS' T' : L...
[]
ext x; exact h.elim (π' x)
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.DFinsupp.Interval
{ "line": 76, "column": 2 }
{ "line": 76, "column": 26 }
{ "line": 78, "column": 0 }
[ { "pp": "case refine_2\nι : Type u_1\nα : ι → Type u_2\ninst✝² : DecidableEq ι\ninst✝¹ : (i : ι) → Zero (α i)\ns : Finset ι\nf : Π₀ (i : ι), α i\ninst✝ : (i : ι) → DecidableEq (α i)\nt : Π₀ (i : ι), Finset (α i)\nht : t.support ⊆ s\ni : ι\nh : f i ∈ t i\nhi : i ∈ f.support\nH : t i = 0\n⊢ f i = 0", "ppTerm"...
[]
· rwa [H, mem_zero] at h
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Data.List.Sigma
{ "line": 194, "column": 2 }
{ "line": 196, "column": 46 }
{ "line": 198, "column": 0 }
[ { "pp": "α : Type u\nβ : α → Type v\ninst✝ : DecidableEq α\na : α\nl : List (Sigma β)\n⊢ Option.map (Sigma.mk a) (dlookup a l) = find? (fun s ↦ decide (a = s.fst)) l", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "_private.Mathlib.Data.List.Sigma.0.List.map_dlookup_eq_find._proof_1_...
[]
induction l with | nil => grind | cons s _ _ => by_cases s.fst = a <;> grind
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
Lean.Parser.Tactic.induction
Mathlib.Data.List.Sigma
{ "line": 194, "column": 2 }
{ "line": 196, "column": 46 }
{ "line": 198, "column": 0 }
[ { "pp": "α : Type u\nβ : α → Type v\ninst✝ : DecidableEq α\na : α\nl : List (Sigma β)\n⊢ Option.map (Sigma.mk a) (dlookup a l) = find? (fun s ↦ decide (a = s.fst)) l", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "_private.Mathlib.Data.List.Sigma.0.List.map_dlookup_eq_find._proof_1_...
[]
induction l with | nil => grind | cons s _ _ => by_cases s.fst = a <;> grind
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented