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.FiveWheelLike
{ "line": 140, "column": 2 }
{ "line": 140, "column": 86 }
{ "line": 141, "column": 2 }
[ { "pp": "α : Type u_1\nG : SimpleGraph α\nr : ℕ\ninst✝ : DecidableEq α\nh : Maximal (fun H ↦ H.CliqueFree (r + 2)) G\nhnc : ¬G.IsCompleteMultipartite\n⊢ ∃ v w₁ w₂ s t, G.IsFiveWheelLike r (#(s ∩ t)) v w₁ w₂ s t", "ppTerm": "?m.35", "assigned": true, "usedConstants": [ "Finset", "Exists",...
[ "α : Type u_1\nG : SimpleGraph α\nr : ℕ\ninst✝ : DecidableEq α\nh : Maximal (fun H ↦ H.CliqueFree (r + 2)) G\nhnc : ¬G.IsCompleteMultipartite\nv w₁ w₂ : α\np3 : G.IsPathGraph3Compl v w₁ w₂\n⊢ ∃ v w₁ w₂ s t, G.IsFiveWheelLike r (#(s ∩ t)) v w₁ w₂ s t" ]
obtain ⟨v, w₁, w₂, p3⟩ := exists_isPathGraph3Compl_of_not_isCompleteMultipartite hnc
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Combinatorics.SimpleGraph.Extremal.ErdosStoneSimonovits
{ "line": 212, "column": 4 }
{ "line": 218, "column": 68 }
{ "line": 219, "column": 4 }
[ { "pp": "case inr\nε : ℝ\nhε : 0 < ε\nr t : ℕ\nhr_pos : 0 < r\nht_pos : 0 < t\nε' : ℝ := 1 / (↑(r - 1) * ↑r) + ε\nhε' : 0 < ε'\nt' : ℕ := ⌊↑t / (↑r * ε)⌋₊ + 1\nht_lt_rt'ε : ↑t < ↑r * ↑t' * ε\nht'_pos : 0 < t'\nN' : ℕ\nih :\n ∀ (b : ℕ),\n N' ≤ b →\n ∀ {G : SimpleGraph (Fin b)} [inst : DecidableRel G.Adj...
[ "case inr\nε : ℝ\nhε : 0 < ε\nr t : ℕ\nhr_pos : 0 < r\nht_pos : 0 < t\nε' : ℝ := 1 / (↑(r - 1) * ↑r) + ε\nhε' : 0 < ε'\nt' : ℕ := ⌊↑t / (↑r * ε)⌋₊ + 1\nht_lt_rt'ε : ↑t < ↑r * ↑t' * ε\nht'_pos : 0 < t'\nN' : ℕ\nih :\n ∀ (b : ℕ),\n N' ≤ b →\n ∀ {G : SimpleGraph (Fin b)} [inst : DecidableRel G.Adj],\n ...
have hrε_lt_1 : r * ε < 1 := by have hδ_lt_card : (G.minDegree : ℝ) < n := Nat.cast_lt.mpr (G.minDegree_lt_card.trans_eq (Fintype.card_fin n)) contrapose! hδ_lt_card with h1_le_rε rw [← div_le_iff₀' (by positivity), ← sub_nonpos, ← le_sub_self_iff 1, ← sub_add] at h1_le_rε exact ...
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Combinatorics.SimpleGraph.Matching
{ "line": 292, "column": 4 }
{ "line": 292, "column": 24 }
{ "line": 293, "column": 4 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nu : Set V\nhc : G.IsClique u\nhu : u.Finite\n⊢ (∃ M, M.verts = u ∧ M.IsMatching) → Even u.ncard", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "SimpleGraph.Subgraph", "Set.Finite", "Exists", "And.casesOn", "And", ...
[ "V : Type u_1\nG : SimpleGraph V\nM : G.Subgraph\nhMr : M.IsMatching\nhc : G.IsClique M.verts\nhu : M.verts.Finite\n⊢ Even M.verts.ncard" ]
rintro ⟨M, rfl, hMr⟩
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRIntro
Lean.Parser.Tactic.rintro
Mathlib.Combinatorics.SimpleGraph.Extremal.ErdosStoneSimonovits
{ "line": 268, "column": 8 }
{ "line": 270, "column": 22 }
{ "line": 271, "column": 8 }
[ { "pp": "case refine_1\nε : ℝ\nhε : 0 < ε\nr t : ℕ\nhr_pos : 0 < r\nht_pos : 0 < t\nε' : ℝ := 1 / (↑(r - 1) * ↑r) + ε\nhε' : 0 < ε'\nt' : ℕ := ⌊↑t / (↑r * ε)⌋₊ + 1\nht_lt_rt'ε : ↑t < ↑r * ↑t' * ε\nht'_pos : 0 < t'\nN' : ℕ\nN : ℕ := max (max 1 N') ⌈(↑(t'.choose t) ^ r * ↑t + ↑r * ↑t') * (↑t' - ↑t) / (↑r * ↑t' * ...
[ "case refine_1\nε : ℝ\nhε : 0 < ε\nr t : ℕ\nhr_pos : 0 < r\nht_pos : 0 < t\nε' : ℝ := 1 / (↑(r - 1) * ↑r) + ε\nhε' : 0 < ε'\nt' : ℕ := ⌊↑t / (↑r * ε)⌋₊ + 1\nht_lt_rt'ε : ↑t < ↑r * ↑t' * ε\nht'_pos : 0 < t'\nN' : ℕ\nN : ℕ := max (max 1 N') ⌈(↑(t'.choose t) ^ r * ↑t + ↑r * ↑t') * (↑t' - ↑t) / (↑r * ↑t' * ε - ↑t)⌉₊\nn...
obtain ⟨v, hv⟩ : (y p₁ _).Nonempty := by rw [← Finset.card_pos, hy₁'.right] exact ht_pos
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Combinatorics.SimpleGraph.Trails
{ "line": 93, "column": 2 }
{ "line": 98, "column": 87 }
{ "line": 100, "column": 0 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nu v : V\np : G.Walk u v\ninst✝ : DecidableEq V\n⊢ p.IsEulerian ↔ p.IsTrail ∧ ↑p.length = G.edgeSet.encard", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Eq.mpr", "List.finite_toSet", "Set.encard", "SimpleGraph.Walk.IsEuler...
[]
rw [isEulerian_iff_isTrail_and_edgeSet_eq, and_congr_right_iff, ← length_edges] intro hp rw [← hp.edges_nodup.dedup, ← List.card_toFinset, ← Set.ncard_coe_finset, List.coe_toFinset, p.edges.finite_toSet.cast_ncard_eq, ← edgeSet] refine ⟨congrArg _, fun h ↦ ?_⟩ exact p.edges.finite_toSet.eq_of_subset_of_enca...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.Trails
{ "line": 93, "column": 2 }
{ "line": 98, "column": 87 }
{ "line": 100, "column": 0 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nu v : V\np : G.Walk u v\ninst✝ : DecidableEq V\n⊢ p.IsEulerian ↔ p.IsTrail ∧ ↑p.length = G.edgeSet.encard", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Eq.mpr", "List.finite_toSet", "Set.encard", "SimpleGraph.Walk.IsEuler...
[]
rw [isEulerian_iff_isTrail_and_edgeSet_eq, and_congr_right_iff, ← length_edges] intro hp rw [← hp.edges_nodup.dedup, ← List.card_toFinset, ← Set.ncard_coe_finset, List.coe_toFinset, p.edges.finite_toSet.cast_ncard_eq, ← edgeSet] refine ⟨congrArg _, fun h ↦ ?_⟩ exact p.edges.finite_toSet.eq_of_subset_of_enca...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.UniversalVerts
{ "line": 73, "column": 2 }
{ "line": 76, "column": 91 }
{ "line": 78, "column": 0 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nt : Set V\ns : Set ↑G.deleteUniversalVerts.verts\nK : G.deleteUniversalVerts.coe.ConnectedComponent\nh : t ⊆ G.universalVerts\nhrep : ConnectedComponent.Represents s G.deleteUniversalVerts.coe.oddComponents\n⊢ Even (Subtype.val '' K.supp \\ (Subtype.val '' s ∪ t)).ncard...
[]
simp [-deleteUniversalVerts_verts, ← Set.sdiff_inter_sdiff, ← Set.image_sdiff Subtype.val_injective, sdiff_eq_left.mpr <| Set.disjoint_of_subset_right h (disjoint_image_val_universalVerts _), Set.ncard_image_of_injective _ Subtype.val_injective, K.even_ncard_supp_sdiff_rep hrep]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.SimpleGraph.UniversalVerts
{ "line": 73, "column": 2 }
{ "line": 76, "column": 91 }
{ "line": 78, "column": 0 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nt : Set V\ns : Set ↑G.deleteUniversalVerts.verts\nK : G.deleteUniversalVerts.coe.ConnectedComponent\nh : t ⊆ G.universalVerts\nhrep : ConnectedComponent.Represents s G.deleteUniversalVerts.coe.oddComponents\n⊢ Even (Subtype.val '' K.supp \\ (Subtype.val '' s ∪ t)).ncard...
[]
simp [-deleteUniversalVerts_verts, ← Set.sdiff_inter_sdiff, ← Set.image_sdiff Subtype.val_injective, sdiff_eq_left.mpr <| Set.disjoint_of_subset_right h (disjoint_image_val_universalVerts _), Set.ncard_image_of_injective _ Subtype.val_injective, K.even_ncard_supp_sdiff_rep hrep]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.UniversalVerts
{ "line": 73, "column": 2 }
{ "line": 76, "column": 91 }
{ "line": 78, "column": 0 }
[ { "pp": "V : Type u_1\nG : SimpleGraph V\nt : Set V\ns : Set ↑G.deleteUniversalVerts.verts\nK : G.deleteUniversalVerts.coe.ConnectedComponent\nh : t ⊆ G.universalVerts\nhrep : ConnectedComponent.Represents s G.deleteUniversalVerts.coe.oddComponents\n⊢ Even (Subtype.val '' K.supp \\ (Subtype.val '' s ∪ t)).ncard...
[]
simp [-deleteUniversalVerts_verts, ← Set.sdiff_inter_sdiff, ← Set.image_sdiff Subtype.val_injective, sdiff_eq_left.mpr <| Set.disjoint_of_subset_right h (disjoint_image_val_universalVerts _), Set.ncard_image_of_injective _ Subtype.val_injective, K.even_ncard_supp_sdiff_rep hrep]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Combinatorics.SimpleGraph.VertexCover
{ "line": 173, "column": 42 }
{ "line": 173, "column": 52 }
{ "line": 173, "column": 52 }
[ { "pp": "V : 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⊢ t.encard ≠ ⊤", "ppTerm": "?m.177", "assigned": true, "usedConstants": ...
[]
simp [ht₁]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.SimpleGraph.VertexCover
{ "line": 173, "column": 42 }
{ "line": 173, "column": 52 }
{ "line": 173, "column": 52 }
[ { "pp": "V : 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⊢ t.encard ≠ ⊤", "ppTerm": "?m.177", "assigned": true, "usedConstants": ...
[]
simp [ht₁]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.SimpleGraph.VertexCover
{ "line": 173, "column": 42 }
{ "line": 173, "column": 52 }
{ "line": 173, "column": 52 }
[ { "pp": "V : 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⊢ t.encard ≠ ⊤", "ppTerm": "?m.177", "assigned": true, "usedConstants": ...
[]
simp [ht₁]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.Primrec.List
{ "line": 234, "column": 4 }
{ "line": 234, "column": 51 }
{ "line": 236, "column": 0 }
[ { "pp": "n : ℕ\n⊢ Nat.rec [] (fun n_1 IH ↦ (n, n_1, IH).2.2 ++ [(n, n_1, IH).2.1]) (id n) = List.range n", "ppTerm": "?m.66", "assigned": true, "usedConstants": [ "Nat.recAux", "congrArg", "Nat.rec", "id", "Prod.mk", "instOfNatNat", "List.range", "Prod...
[]
simp; induction n <;> simp [*, List.range_succ]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.Primrec.List
{ "line": 234, "column": 4 }
{ "line": 234, "column": 51 }
{ "line": 236, "column": 0 }
[ { "pp": "n : ℕ\n⊢ Nat.rec [] (fun n_1 IH ↦ (n, n_1, IH).2.2 ++ [(n, n_1, IH).2.1]) (id n) = List.range n", "ppTerm": "?m.66", "assigned": true, "usedConstants": [ "Nat.recAux", "congrArg", "Nat.rec", "id", "Prod.mk", "instOfNatNat", "List.range", "Prod...
[]
simp; induction n <;> simp [*, List.range_succ]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.Primrec.Basic
{ "line": 719, "column": 27 }
{ "line": 719, "column": 52 }
{ "line": 719, "column": 53 }
[ { "pp": "this : PrimrecRel fun a b ↦ a.2 = 0 ∧ b = 0 ∨ 0 < a.2 ∧ b * a.2 ≤ a.1 ∧ a.1 < (b + 1) * a.2\na k q : ℕ\nH : ¬k = 0\n⊢ q * k ≤ a ∧ a < (q + 1) * k ↔ q ≤ a / k ∧ a / k ≤ q", "ppTerm": "?m.357", "assigned": true, "usedConstants": [ "Eq.mpr", "instHDiv", "HMul.hMul", "co...
[ "this : PrimrecRel fun a b ↦ a.2 = 0 ∧ b = 0 ∨ 0 < a.2 ∧ b * a.2 ≤ a.1 ∧ a.1 < (b + 1) * a.2\na k q : ℕ\nH : ¬k = 0\n⊢ q * k ≤ a ∧ a < (q + 1) * k ↔ q ≤ a / k ∧ a / k < q.succ" ]
← (@Nat.lt_succ_iff _ q),
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.Partrec
{ "line": 67, "column": 6 }
{ "line": 73, "column": 43 }
{ "line": 74, "column": 6 }
[ { "pp": "p : ℕ →. Bool\nH : ∃ n, true ∈ p n ∧ ∀ k < n, (p k).Dom\nm : ℕ\nIH : (y : ℕ) → lbp p y m → (∀ n < y, false ∈ p n) → { n // true ∈ p n ∧ ∀ m < n, false ∈ p m }\nal : ∀ n < m, false ∈ p n\n⊢ { n // true ∈ p n ∧ ∀ m < n, false ∈ p m }", "ppTerm": "?m.56", "assigned": true, "usedConstants": [ ...
[ "p : ℕ →. Bool\nH : ∃ n, true ∈ p n ∧ ∀ k < n, (p k).Dom\nm : ℕ\nIH : (y : ℕ) → lbp p y m → (∀ n < y, false ∈ p n) → { n // true ∈ p n ∧ ∀ m < n, false ∈ p m }\nal : ∀ n < m, false ∈ p n\npm : (p m).Dom\n⊢ { n // true ∈ p n ∧ ∀ m < n, false ∈ p m }" ]
have pm : (p m).Dom := by rcases H with ⟨n, h₁, h₂⟩ rcases lt_trichotomy m n with (h₃ | h₃ | h₃) · exact h₂ _ h₃ · rw [h₃] exact h₁.fst · injection mem_unique h₁ (al _ h₃)
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Computability.Primrec.List
{ "line": 329, "column": 2 }
{ "line": 329, "column": 60 }
{ "line": 330, "column": 2 }
[ { "pp": "β : 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)\n⊢ Primrec f", "...
[ "β : 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 : DecidableEq β\n⊢ Primrec...
have : DecidableEq β := Encodable.decidableEqOfEncodable β
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Combinatorics.SimpleGraph.Tutte
{ "line": 229, "column": 6 }
{ "line": 229, "column": 35 }
{ "line": 230, "column": 6 }
[ { "pp": "V : 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.IsPerfectMat...
[ "V : 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.IsPerfectMatching\nhM1xb...
apply Walk.toSubgraph_adj_snd
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.Computability.Ackermann
{ "line": 105, "column": 16 }
{ "line": 107, "column": 17 }
{ "line": 108, "column": 2 }
[ { "pp": "m : ℕ\n⊢ 0 < ack (m + 1) 0", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Eq.mpr", "ack", "congrArg", "ack_succ_zero", "id", "instOfNatNat", "instHAdd", "HAdd.hAdd", "Nat", "LT.lt", "instAddNat", "instLTNat"...
[]
by rw [ack_succ_zero] apply ack_pos
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Combinatorics.SimpleGraph.Tutte
{ "line": 214, "column": 2 }
{ "line": 234, "column": 32 }
{ "line": 236, "column": 2 }
[ { "pp": "case neg\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.Is...
[ "case neg\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.IsPerfectMatch...
obtain ⟨x', hx', p, hp, hpac, hnpxb⟩ : ∃ x' ∈ ({x, b} : Finset V), ∃ (p : cycles.Walk a x'), p.IsPath ∧ p.toSubgraph.Adj a c ∧ ¬p.toSubgraph.Adj x b := by obtain ⟨p, hp⟩ := hcycles.exists_cycle_toSubgraph_verts_eq_connectedComponentSupp hacc ⟨_, hcac⟩ obtain ⟨p', hp'⟩ := hp.1.exists_isCycle_...
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Combinatorics.SimpleGraph.Tutte
{ "line": 237, "column": 4 }
{ "line": 237, "column": 85 }
{ "line": 238, "column": 4 }
[ { "pp": "V : 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.IsPerfectMat...
[ "V : 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.IsPerfectMatching\nhM1xb...
rw [← sdiff_edge _ (by simpa : ¬p.toSubgraph.spanningCoe.Adj x b), sdiff_le_iff']
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Computability.AkraBazzi.GrowsPolynomially
{ "line": 91, "column": 2 }
{ "line": 91, "column": 67 }
{ "line": 92, "column": 2 }
[ { "pp": "f : ℝ → ℝ\nhf : GrowsPolynomially f\nhf' : ∃ᶠ (x : ℝ) in atTop, f x = 0\n⊢ ∀ᶠ (x : ℝ) in atTop, f x = 0", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "NonAssocSemiring.toAddCommMonoidWithOne", "Real.partialOrder", "Real", "Preorder.toLT", "instHDiv"...
[ "f : ℝ → ℝ\nhf✝ : GrowsPolynomially f\nhf' : ∃ᶠ (x : ℝ) in atTop, f x = 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)\n⊢ ∀ᶠ (x : ℝ) in atTop, f x = 0" ]
obtain ⟨c₁, hc₁_mem, c₂, hc₂_mem, hf⟩ := hf (1 / 2) (by norm_num)
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Combinatorics.SimpleGraph.Tutte
{ "line": 287, "column": 4 }
{ "line": 287, "column": 28 }
{ "line": 288, "column": 2 }
[ { "pp": "case pos\nV : Type u_1\nG : SimpleGraph V\ninst✝ : Finite V\nh : ∀ (M : G.Subgraph), ¬M.IsPerfectMatching\nhvEven : Even (Nat.card V)\nval✝ : Fintype V\nGmax : SimpleGraph V\nhSubgraph : G ≤ Gmax\nhMatchingFree : Gmax.IsMatchingFree\nhMaximal : ∀ G' > Gmax, ∃ M, M.IsPerfectMatching\nh' : ∀ (K : Gmax.de...
[]
exact hMatchingFree M hM
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Computability.AkraBazzi.SumTransform
{ "line": 474, "column": 57 }
{ "line": 474, "column": 85 }
{ "line": 475, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\ni : α\n⊢ (fun n ↦ -log (b i) * 1 / log ↑n ^ 2) = fun n ↦ -log (b i) * (1 / log ↑n ^ 2)", "ppTerm": "?m.174", "assigned": true, "usedConstants": [ ...
[]
by simp_rw [← mul_div_assoc]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Computability.AkraBazzi.GrowsPolynomially
{ "line": 160, "column": 2 }
{ "line": 207, "column": 42 }
{ "line": 209, "column": 0 }
[ { "pp": "f : ℝ → ℝ\nhf : GrowsPolynomially f\nc₁ : ℝ\nleft✝¹ : c₁ > 0\nc₂ : ℝ\nleft✝ : c₂ > 0\nh : ∀ᶠ (x : ℝ) in atTop, ∀ u ∈ Set.Icc (1 / 2 * x) x, f u ∈ Set.Icc (c₁ * f x) (c₂ * f x)\n⊢ (∀ᶠ (x : ℝ) in atTop, 0 ≤ f x) ∨ ∀ᶠ (x : ℝ) in atTop, f x ≤ 0", "ppTerm": "?m.56", "assigned": true, "usedConsta...
[]
match lt_trichotomy c₁ c₂ with | .inl hlt => -- c₁ < c₂ left filter_upwards [h, eventually_ge_atTop 0] with x hx hx_nonneg have h' : 3 / 4 * x ∈ Set.Icc (1 / 2 * x) x := by rw [Set.mem_Icc] exact ⟨by gcongr ?_ * x; norm_num, by linarith⟩ have hu := hx (3 / 4 * x) h' have hu := Set.none...
Lean.Elab.Tactic.evalMatch
Lean.Parser.Tactic.match
Mathlib.Computability.AkraBazzi.SumTransform
{ "line": 583, "column": 8 }
{ "line": 583, "column": 82 }
{ "line": 585, "column": 0 }
[ { "pp": "case h₂\nα : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\nn : ℕ\nhn : 0 < n\nthis : ∀ x ≥ 0, 0 ≤ g x\n⊢ 0 ≤ ∑ u ∈ range n, g ↑u / ↑u ^ (p a b + 1)", "ppTerm": "?h₂", "assigned": true, "usedConstants": ...
[]
aesop (add safe Real.rpow_nonneg, safe div_nonneg, safe Finset.sum_nonneg)
Aesop.evalAesop
Aesop.Frontend.Parser.aesopTactic
Mathlib.Computability.AkraBazzi.SumTransform
{ "line": 590, "column": 2 }
{ "line": 590, "column": 77 }
{ "line": 592, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\n⊢ ∀ (i : α), ∀ᶠ (x : ℕ) in atTop, 0 < asympBound g a b (r i x)", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "AkraBazziRecurrence.asym...
[]
exact fun i => (R.tendsto_atTop_r i).eventually R.eventually_asympBound_pos
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Computability.PartrecCode
{ "line": 557, "column": 26 }
{ "line": 557, "column": 42 }
{ "line": 558, "column": 4 }
[ { "pp": "case refine_2.comp\ncf cg : Code\npf : Nat.Partrec cf.eval\npg : Nat.Partrec cg.eval\n⊢ Nat.Partrec (cf.comp cg).eval", "ppTerm": "?refine_2.comp", "assigned": true, "usedConstants": [ "Nat.Partrec.comp", "Nat.Partrec.Code.eval" ], "usedFVars": [ "cf", "cg", ...
[]
exact pf.comp pg
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Computability.PartrecCode
{ "line": 557, "column": 26 }
{ "line": 557, "column": 42 }
{ "line": 558, "column": 4 }
[ { "pp": "case refine_2.comp\ncf cg : Code\npf : Nat.Partrec cf.eval\npg : Nat.Partrec cg.eval\n⊢ Nat.Partrec (cf.comp cg).eval", "ppTerm": "?refine_2.comp", "assigned": true, "usedConstants": [ "Nat.Partrec.comp", "Nat.Partrec.Code.eval" ], "usedFVars": [ "cf", "cg", ...
[]
exact pf.comp pg
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.PartrecCode
{ "line": 557, "column": 26 }
{ "line": 557, "column": 42 }
{ "line": 558, "column": 4 }
[ { "pp": "case refine_2.comp\ncf cg : Code\npf : Nat.Partrec cf.eval\npg : Nat.Partrec cg.eval\n⊢ Nat.Partrec (cf.comp cg).eval", "ppTerm": "?refine_2.comp", "assigned": true, "usedConstants": [ "Nat.Partrec.comp", "Nat.Partrec.Code.eval" ], "usedFVars": [ "cf", "cg", ...
[]
exact pf.comp pg
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.PartrecCode
{ "line": 655, "column": 17 }
{ "line": 655, "column": 55 }
{ "line": 656, "column": 4 }
[ { "pp": "k n x : ℕ\nh : n ≤ k ∧ pure 0 = some x\n⊢ x ∈ pure 0 n", "ppTerm": "?m.108", "assigned": true, "usedConstants": [ "Pure.pure", "Part", "Eq.mpr", "instAlternativeOption", "PFun", "Monad.toApplicative", "Option.some.injEq", "Option.some", ...
[]
simpa [pure, PFun.pure] using h.2.symm
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Computability.PartrecCode
{ "line": 655, "column": 17 }
{ "line": 655, "column": 55 }
{ "line": 656, "column": 4 }
[ { "pp": "k n x : ℕ\nh : n ≤ k ∧ pure 0 = some x\n⊢ x ∈ pure 0 n", "ppTerm": "?m.108", "assigned": true, "usedConstants": [ "Pure.pure", "Part", "Eq.mpr", "instAlternativeOption", "PFun", "Monad.toApplicative", "Option.some.injEq", "Option.some", ...
[]
simpa [pure, PFun.pure] using h.2.symm
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.PartrecCode
{ "line": 655, "column": 17 }
{ "line": 655, "column": 55 }
{ "line": 656, "column": 4 }
[ { "pp": "k n x : ℕ\nh : n ≤ k ∧ pure 0 = some x\n⊢ x ∈ pure 0 n", "ppTerm": "?m.108", "assigned": true, "usedConstants": [ "Pure.pure", "Part", "Eq.mpr", "instAlternativeOption", "PFun", "Monad.toApplicative", "Option.some.injEq", "Option.some", ...
[]
simpa [pure, PFun.pure] using h.2.symm
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.PartrecCode
{ "line": 703, "column": 2 }
{ "line": 703, "column": 51 }
{ "line": 704, "column": 2 }
[ { "pp": "c : Code\nn x : ℕ\n⊢ x ∈ c.eval n ↔ ∃ k, x ∈ evaln k c n", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Part", "_private.Mathlib.Computability.PartrecCode.0.Nat.Partrec.Code.evaln_complete.match_1_1", "Nat.Partrec.Code.evaln", "Option.instMembership", ...
[ "c : Code\nn x : ℕ\nh : x ∈ c.eval n\n⊢ ∃ k, x ∈ evaln k c n" ]
refine ⟨fun h => ?_, fun ⟨k, h⟩ => evaln_sound h⟩
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Computability.AkraBazzi.AkraBazzi
{ "line": 559, "column": 2 }
{ "line": 559, "column": 21 }
{ "line": 560, "column": 2 }
[ { "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₀...
refine ⟨2 * c₁, ?_⟩
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Computability.Language
{ "line": 324, "column": 8 }
{ "line": 324, "column": 40 }
{ "line": 325, "column": 8 }
[ { "pp": "case a.zero\nα : Type u_1\nl m n : Language α\nhm : [] ∉ m\nh : l = m * l + n\n⊢ m ^ 0 * n ≤ m * l + n", "ppTerm": "?a.zero✝", "assigned": true, "usedConstants": [ "Eq.mpr", "MulOne.toOne", "instCompleteAtomicBooleanAlgebraLanguage", "HMul.hMul", "Language.inst...
[ "case a.zero\nα : Type u_1\nl m n : Language α\nhm : [] ∉ m\nh : l = m * l + n\n⊢ n ≤ n + m * l" ]
rw [pow_zero, one_mul, add_comm]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Computability.DFA
{ "line": 205, "column": 2 }
{ "line": 205, "column": 30 }
{ "line": 205, "column": 31 }
[ { "pp": "case append_singleton\nα : Type u\nσ : Type v\nM : DFA α σ\nα' : Type u_1\nf : α' → α\ns : σ\nx : List α'\na : α'\nih : (comap f M).evalFrom s x = M.evalFrom s (List.map f x)\n⊢ (comap f M).evalFrom s (x ++ [a]) = M.evalFrom s (List.map f (x ++ [a]))", "ppTerm": "?append_singleton", "assigned":...
[]
| append_singleton x a ih =>
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Computability.DFA
{ "line": 247, "column": 2 }
{ "line": 247, "column": 30 }
{ "line": 247, "column": 31 }
[ { "pp": "case append_singleton\nα : Type u\nσ : Type v\nM : DFA α σ\nσ' : Type u_2\ng : σ ≃ σ'\ns : σ'\nx : List α\na : α\nih : ((reindex g) M).evalFrom s x = g (M.evalFrom (g.symm s) x)\n⊢ ((reindex g) M).evalFrom s (x ++ [a]) = g (M.evalFrom (g.symm s) (x ++ [a]))", "ppTerm": "?append_singleton", "ass...
[]
| append_singleton x a ih =>
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Computability.AkraBazzi.GrowsPolynomially
{ "line": 572, "column": 6 }
{ "line": 574, "column": 85 }
{ "line": 575, "column": 6 }
[ { "pp": "case lb\nf : ℝ → ℝ\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...
[ "case ub\nf : ℝ → ℝ\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...
case lb => calc c₂ ^ p * (f x) ^ p = (c₂ * f x) ^ p := by rw [mul_rpow (le_of_lt hc₂_mem) (le_of_lt hf_pos)] _ ≤ _ := rpow_le_rpow_of_nonpos (hf_pos₂ u hu.1) (hf₁ u hu).2 (le_of_lt hp)
Lean.Elab.Tactic.evalCase
Lean.Parser.Tactic.case
Mathlib.Computability.AkraBazzi.AkraBazzi
{ "line": 658, "column": 6 }
{ "line": 658, "column": 91 }
{ "line": 659, "column": 6 }
[ { "pp": "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\n⊢ (fun n ↦ (1 - ε ↑n) * asympBound g a b n) =O[atTop] fun n ↦ 1 * asympBound g a b n", "ppTerm": "?m.63", "assigned": true, "usedConstants": [ "Ak...
[ "α : Type u_1\ninst✝¹ : Fintype α\nT : ℕ → ℝ\ng : ℝ → ℝ\na b : α → ℝ\nr : α → ℕ → ℕ\ninst✝ : Nonempty α\nR : AkraBazziRecurrence T g a b r\n⊢ Tendsto (fun n ↦ 1 - ε ↑n) atTop (𝓝 1)" ]
refine IsBigO.mul (isBigO_const_of_tendsto (y := 1) ?_ one_ne_zero) (isBigO_refl _ _)
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Data.Nat.Bitwise
{ "line": 338, "column": 82 }
{ "line": 338, "column": 96 }
{ "line": 338, "column": 96 }
[ { "pp": "case succ\nn : ℕ\nih :\n List.foldl (fun x1 x2 ↦ x1 ^^^ x2) 0 (List.range (n + 1)) =\n match Fin.ofNat 4 n with\n | 0 => n\n | 1 => 1\n | 2 => n + 1\n | 3 => 0\n⊢ List.foldl (fun x1 x2 ↦ x1 ^^^ x2)\n ((match Fin.ofNat 4 n with\n | 0 => n\n | 1 => 1\n | 2 => n +...
[ "case succ\nn : ℕ\nih :\n List.foldl (fun x1 x2 ↦ x1 ^^^ x2) 0 (List.range (n + 1)) =\n match Fin.ofNat 4 n with\n | 0 => n\n | 1 => 1\n | 2 => n + 1\n | 3 => 0\n⊢ (match Fin.ofNat 4 n with\n | 0 => n\n | 1 => 1\n | 2 => n + 1\n | 3 => 0) ^^^\n n + 1 =\n match Fin.ofNat 4...
List.foldl_nil
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.EpsilonNFA
{ "line": 149, "column": 52 }
{ "line": 149, "column": 66 }
{ "line": 149, "column": 66 }
[ { "pp": "α : Type u\nσ : Type v\nM : εNFA α σ\nS : Set σ\nx : List α\na : α\n⊢ List.foldl M.stepSet (M.stepSet (List.foldl M.stepSet (M.εClosure S) x) a) [] =\n M.stepSet (List.foldl M.stepSet (M.εClosure S) x) a", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "Eq.mpr", "con...
[ "α : Type u\nσ : Type v\nM : εNFA α σ\nS : Set σ\nx : List α\na : α\n⊢ M.stepSet (List.foldl M.stepSet (M.εClosure S) x) a = M.stepSet (List.foldl M.stepSet (M.εClosure S) x) a" ]
List.foldl_nil
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.EpsilonNFA
{ "line": 155, "column": 2 }
{ "line": 155, "column": 30 }
{ "line": 155, "column": 31 }
[ { "pp": "case append_singleton\nα : Type u\nσ : Type v\nM : εNFA α σ\nx : List α\na : α\nih : M.evalFrom ∅ x = ∅\n⊢ M.evalFrom ∅ (x ++ [a]) = ∅", "ppTerm": "?append_singleton", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "εNFA.stepSet", "id", "εNFA.evalFr...
[]
| append_singleton x a ih =>
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Computability.EpsilonNFA
{ "line": 259, "column": 6 }
{ "line": 259, "column": 28 }
{ "line": 260, "column": 6 }
[ { "pp": "case nil.mpr\nα : Type u\nσ : Type v\nM : εNFA α σ\ns₁ s₂ : σ\n⊢ (∃ x', (∃ n, x' = List.replicate n none) ∧ M.IsPath s₁ s₂ x') → ∃ n, M.IsPath s₁ s₂ (List.replicate n none)", "ppTerm": "?nil.mpr", "assigned": true, "usedConstants": [ "List.replicate", "_private.Mathlib.Computabi...
[ "case nil.mpr\nα : Type u\nσ : Type v\nM : εNFA α σ\ns₁ s₂ : σ\nn : ℕ\nh : M.IsPath s₁ s₂ (List.replicate n none)\n⊢ ∃ n, M.IsPath s₁ s₂ (List.replicate n none)" ]
intro ⟨_, ⟨n, rfl⟩, h⟩
Lean.Elab.Tactic.evalIntro
null
Mathlib.Computability.EpsilonNFA
{ "line": 259, "column": 6 }
{ "line": 259, "column": 28 }
{ "line": 260, "column": 6 }
[ { "pp": "case nil.mpr\nα : Type u\nσ : Type v\nM : εNFA α σ\ns₁ s₂ : σ\n⊢ (∃ x', (∃ n, x' = List.replicate n none) ∧ M.IsPath s₁ s₂ x') → ∃ n, M.IsPath s₁ s₂ (List.replicate n none)", "ppTerm": "?nil.mpr", "assigned": true, "usedConstants": [ "List.replicate", "_private.Mathlib.Computabi...
[ "case nil.mpr\nα : Type u\nσ : Type v\nM : εNFA α σ\ns₁ s₂ : σ\nn : ℕ\nh : M.IsPath s₁ s₂ (List.replicate n none)\n⊢ ∃ n, M.IsPath s₁ s₂ (List.replicate n none)" ]
intro ⟨_, ⟨n, rfl⟩, h⟩
Lean.Elab.Tactic.evalIntro
Lean.Parser.Tactic.intro
Mathlib.Computability.MyhillNerode
{ "line": 96, "column": 2 }
{ "line": 96, "column": 30 }
{ "line": 96, "column": 31 }
[ { "pp": "case append_singleton\nα : Type u\nL : Language α\nx : List α\na : α\nih : ↑(L.toDFA.eval x) = L.leftQuotient x\n⊢ ↑(L.toDFA.eval (x ++ [a])) = L.leftQuotient (x ++ [a])", "ppTerm": "?append_singleton", "assigned": true, "usedConstants": [ "Language.leftQuotient_append", "congrA...
[]
| append_singleton x a ih =>
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Computability.EpsilonNFA
{ "line": 261, "column": 2 }
{ "line": 261, "column": 30 }
{ "line": 262, "column": 4 }
[ { "pp": "case append_singleton\nα : Type u\nσ : Type v\nM : εNFA α σ\ns₁ : σ\nx : List α\na : α\nih : ∀ {s₂ : σ}, s₂ ∈ M.evalFrom {s₁} x ↔ ∃ x', x'.reduceOption = x ∧ M.IsPath s₁ s₂ x'\ns₂ : σ\n⊢ s₂ ∈ M.evalFrom {s₁} (x ++ [a]) ↔ ∃ x', x'.reduceOption = x ++ [a] ∧ M.IsPath s₁ s₂ x'", "ppTerm": "?append_sing...
[]
| append_singleton x a ih =>
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Data.Num.Lemmas
{ "line": 764, "column": 4 }
{ "line": 765, "column": 22 }
{ "line": 766, "column": 4 }
[ { "pp": "case pos.pos\nf : Num → Num → Num\ng : Bool → Bool → Bool\np : PosNum → PosNum → Num\ngff : g false false = false\nf00 : f 0 0 = 0\nf0n : ∀ (n : PosNum), f 0 (pos n) = bif g false true then pos n else 0\nfn0 : ∀ (n : PosNum), f (pos n) 0 = bif g true false then pos n else 0\nfnn : ∀ (m n : PosNum), f (...
[ "case pos.pos\nf : Num → Num → Num\ng : Bool → Bool → Bool\np : PosNum → PosNum → Num\ngff : g false false = false\nf00 : f 0 0 = 0\nf0n : ∀ (n : PosNum), f 0 (pos n) = bif g false true then pos n else 0\nfn0 : ∀ (n : PosNum), f (pos n) 0 = bif g true false then pos n else 0\nfnn : ∀ (m n : PosNum), f (pos m) (pos ...
have this' b (n : PosNum) : ↑(pos (PosNum.bit b n)) = Nat.bit b ↑n := by cases b <;> simp
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Computability.RE
{ "line": 244, "column": 12 }
{ "line": 244, "column": 44 }
{ "line": 246, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : Primcodable α\np : α → Prop\n⊢ ComputablePred p ↔ REPred p ∧ REPred fun a ↦ ¬p a", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Classical.propDecidable", "ComputablePred.computable_iff_re_compl_re" ], "usedFVars": [ "α", "inst...
[]
exact computable_iff_re_compl_re
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Computability.RE
{ "line": 244, "column": 12 }
{ "line": 244, "column": 44 }
{ "line": 246, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : Primcodable α\np : α → Prop\n⊢ ComputablePred p ↔ REPred p ∧ REPred fun a ↦ ¬p a", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Classical.propDecidable", "ComputablePred.computable_iff_re_compl_re" ], "usedFVars": [ "α", "inst...
[]
exact computable_iff_re_compl_re
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Computability.RE
{ "line": 244, "column": 12 }
{ "line": 244, "column": 44 }
{ "line": 246, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : Primcodable α\np : α → Prop\n⊢ ComputablePred p ↔ REPred p ∧ REPred fun a ↦ ¬p a", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Classical.propDecidable", "ComputablePred.computable_iff_re_compl_re" ], "usedFVars": [ "α", "inst...
[]
exact computable_iff_re_compl_re
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Computability.RegularExpressions
{ "line": 199, "column": 6 }
{ "line": 199, "column": 66 }
{ "line": 201, "column": 0 }
[ { "pp": "case cons.cons.isFalse\nα : Type u_1\ninst✝ : DecidableEq α\na head✝ head : α\ntail : List α\nh✝ : ¬a = head✝\n⊢ (deriv 0 head).rmatch tail = true ↔ head✝ = a ∧ head :: tail = []", "ppTerm": "?cons.cons.isFalse", "assigned": true, "usedConstants": [ "Eq.mpr", "False", "Reg...
[]
· simp_rw [deriv_zero, zero_rmatch, reduceCtorEq, and_false]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Computability.TuringMachine.PostTuringMachine
{ "line": 576, "column": 4 }
{ "line": 576, "column": 17 }
{ "line": 577, "column": 6 }
[ { "pp": "case right.some.some.move\nΓ : Type u_1\nΛ : Type u_2\ninst✝² : Inhabited Λ\nσ : Type u_3\ninst✝¹ : Inhabited σ\nM : Λ → TM1.Stmt Γ Λ σ\ninst✝ : Fintype σ\nS : Finset Λ\nss : TM1.Supports M S\na : Γ\ns : TM0.Stmt Γ\nv' : σ\nval✝ : TM1.Stmt Γ Λ σ\nd : Dir\nq : TM1.Stmt Γ Λ σ\na_ih✝ :\n ∀ (v : σ),\n ...
[]
| move d q =>
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Computability.TuringMachine.Config
{ "line": 313, "column": 8 }
{ "line": 313, "column": 47 }
{ "line": 314, "column": 8 }
[ { "pp": "n✝² : ℕ\nf✝¹ : List.Vector ℕ n✝² →. ℕ\nn✝¹ : ℕ\nf✝ : List.Vector ℕ n✝¹ → ℕ\nn✝ : ℕ\nf : List.Vector ℕ n✝ → ℕ\ng : List.Vector ℕ (n✝ + 2) → ℕ\na✝² : Nat.Primrec' f\na✝¹ : Nat.Primrec' g\ncf cg : Code\nv : List.Vector ℕ (n✝ + 1)\nhf : cf.eval (↑v).tail = pure (pure (f v.tail))\nhg : ∀ (a b : ℕ), cg.eval ...
[ "n✝² : ℕ\nf✝¹ : List.Vector ℕ n✝² →. ℕ\nn✝¹ : ℕ\nf✝ : List.Vector ℕ n✝¹ → ℕ\nn✝ : ℕ\nf : List.Vector ℕ n✝ → ℕ\ng : List.Vector ℕ (n✝ + 2) → ℕ\na✝² : Nat.Primrec' f\na✝¹ : Nat.Primrec' g\ncf cg : Code\nv : List.Vector ℕ (n✝ + 1)\nhf : cf.eval (↑v).tail = pure (pure (f v.tail))\nhg : ∀ (a b : ℕ), cg.eval (a :: b :: (...
simp [prec, Part.bind_assoc, Bind.bind]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Computability.TuringMachine.StackTuringMachine
{ "line": 559, "column": 12 }
{ "line": 559, "column": 35 }
{ "line": 559, "column": 36 }
[ { "pp": "case pos\nK : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝ : DecidableEq K\nk : K\nq : TM1.Stmt (Γ' K Γ) (Λ' K Γ Λ σ) σ\nv : σ\nS : (k : K) → List (Γ k)\nL : ListBlank ((k : K) → Option (Γ k))\nhL : ∀ (k : K), ListBlank.map (proj k) L = ListBlank.mk (List.map some (S k)).reverse\nf : σ...
[ "case pos\nK : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝ : DecidableEq K\nk : K\nq : TM1.Stmt (Γ' K Γ) (Λ' K Γ Λ σ) σ\nv : σ\nS : (k : K) → List (Γ k)\nL : ListBlank ((k : K) → Option (Γ k))\nhL : ∀ (k : K), ListBlank.map (proj k) L = ListBlank.mk (List.map some (S k)).reverse\nf : σ → Γ k\nthis...
List.getI_eq_getElem _,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.TuringMachine.PostTuringMachine
{ "line": 814, "column": 34 }
{ "line": 814, "column": 41 }
{ "line": 814, "column": 42 }
[ { "pp": "Γ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nn : ℕ\nenc : Γ → List.Vector Bool n\ndec : List.Vector Bool n → Γ\ninst✝ : Inhabited Γ\nenc0 : enc default = List.Vector.replicate n false\nencdec : ∀ (a : Γ), dec (enc a) = a\nf : Γ → Stmt Bool (Λ' Γ Λ σ) σ\nv : σ\nL R : ListBlank Γ\nthis :\n ∀ (f : List.Vect...
[ "Γ : Type u_1\nΛ : Type u_2\nσ : Type u_3\nn : ℕ\nenc : Γ → List.Vector Bool n\ndec : List.Vector Bool n → Γ\ninst✝ : Inhabited Γ\nenc0 : enc default = List.Vector.replicate n false\nencdec : ∀ (a : Γ), dec (enc a) = a\nf : Γ → Stmt Bool (Λ' Γ Λ σ) σ\nv : σ\nL R : ListBlank Γ\nthis :\n ∀ (f : List.Vector Bool n → ...
encdec,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Num.Lemmas
{ "line": 847, "column": 10 }
{ "line": 847, "column": 27 }
{ "line": 847, "column": 28 }
[ { "pp": "case pos.zero.bit1\nm : PosNum\n⊢ true = (↑m.bit1).testBit 0", "ppTerm": "?pos.zero.bit1", "assigned": true, "usedConstants": [ "Eq.mpr", "castPosNum", "PosNum.cast_bit1", "Nat.instOne", "congrArg", "PosNum.bit1", "id", "instOfNatNat", "...
[ "case pos.zero.bit1\nm : PosNum\n⊢ true = (↑m + ↑m + 1).testBit 0" ]
PosNum.cast_bit1,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Num.Lemmas
{ "line": 851, "column": 10 }
{ "line": 851, "column": 27 }
{ "line": 851, "column": 28 }
[ { "pp": "n : ℕ\nIH : ∀ (m : PosNum), m.testBit n = (↑m).testBit n\nm : PosNum\n⊢ m.testBit n = (↑m.bit1).testBit (n + 1)", "ppTerm": "?m.134", "assigned": true, "usedConstants": [ "Eq.mpr", "castPosNum", "PosNum.cast_bit1", "Nat.instOne", "congrArg", "PosNum.bit1"...
[ "n : ℕ\nIH : ∀ (m : PosNum), m.testBit n = (↑m).testBit n\nm : PosNum\n⊢ m.testBit n = (↑m + ↑m + 1).testBit (n + 1)" ]
PosNum.cast_bit1,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.TuringMachine.StackTuringMachine
{ "line": 580, "column": 2 }
{ "line": 580, "column": 12 }
{ "line": 581, "column": 4 }
[ { "pp": "case pop\nK : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝ : DecidableEq K\nk : K\nq : TM1.Stmt (Γ' K Γ) (Λ' K Γ Λ σ) σ\nv : σ\nS : (k : K) → List (Γ k)\nL : ListBlank ((k : K) → Option (Γ k))\nhL : ∀ (k : K), ListBlank.map (proj k) L = ListBlank.mk (List.map some (S k)).reverse\nf : σ...
[]
| pop f =>
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalCases
null
Mathlib.Computability.TuringMachine.Config
{ "line": 639, "column": 16 }
{ "line": 639, "column": 26 }
{ "line": 639, "column": 27 }
[ { "pp": "case neg\nf : Code\nk : Cont\nv✝ : List ℕ\nfok : f.Ok\nx c : Cfg\nhe✝ : x ∈ eval step c\nv v' : List ℕ\nIH :\n ∀ (a' : Cfg),\n step (stepRet (Cont.fix f k) v') = some a' →\n ∀ (v : List ℕ) (c' : Cfg),\n a' = c'.then (Cont.fix f k) →\n Reaches step (stepNormal f Cont.halt v) c' ...
[ "case neg\nf : Code\nk : Cont\nv✝ : List ℕ\nfok : f.Ok\nx c : Cfg\nhe✝ : x ∈ eval step c\nv v' : List ℕ\nIH :\n ∀ (a' : Cfg),\n step (stepRet (Cont.fix f k) v') = some a' →\n ∀ (v : List ℕ) (c' : Cfg),\n a' = c'.then (Cont.fix f k) →\n Reaches step (stepNormal f Cont.halt v) c' →\n ...
Cont.then,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Computability.TuringMachine.StackTuringMachine
{ "line": 768, "column": 6 }
{ "line": 768, "column": 28 }
{ "line": 769, "column": 6 }
[ { "pp": "case refine_1\nK : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝¹ : DecidableEq K\nM : Λ → TM2.Stmt Γ Λ σ\ninst✝ : Inhabited Λ\nS : Finset Λ\nss : TM2.Supports M S\n⊢ ∀ (k : K) (s : StAct K Γ σ k) (q : TM2.Stmt Γ Λ σ),\n (TM2.SupportsStmt S q →\n (∀ x ∈ trStmts₁ q, x ∈ trSupp ...
[ "case refine_1\nK : Type u_1\nΓ : K → Type u_2\nΛ : Type u_3\nσ : Type u_4\ninst✝¹ : DecidableEq K\nM : Λ → TM2.Stmt Γ Λ σ\ninst✝ : Inhabited Λ\nS : Finset Λ\nss : TM2.Supports M S\nk✝ : K\ns : StAct K Γ σ k✝\nq✝ : TM2.Stmt Γ Λ σ\nIH :\n TM2.SupportsStmt S q✝ →\n (∀ x ∈ trStmts₁ q✝, x ∈ trSupp M S) →\n TM1...
intro _ s _ IH ss' sub
Lean.Elab.Tactic.evalIntro
Lean.Parser.Tactic.intro
Mathlib.Topology.Category.CompHaus.Projective
{ "line": 49, "column": 4 }
{ "line": 51, "column": 9 }
{ "line": 55, "column": 4 }
[ { "pp": "case h\nX : Type u_1\nY Z : CompHaus\nf : ↧(Ultrafilter X) ⟶ Z\ng : Y ⟶ Z\nhg : Surjective ⇑(ConcreteCategory.hom g)\ng' : (fun X ↦ ↑X.toTop) Z → (fun X ↦ ↑X.toTop) Y\nhg' : RightInverse g' ⇑(ConcreteCategory.hom g)\nt : X → ↑Y.toTop := g' ∘ ⇑(ConcreteCategory.hom f) ∘ pure\nh : Ultrafilter X → ↑Y.toTo...
[ "case h\nX : Type u_1\nY Z : CompHaus\nf : ↧(Ultrafilter X) ⟶ Z\ng : Y ⟶ Z\nhg : Surjective ⇑(ConcreteCategory.hom g)\ng' : (fun X ↦ ↑X.toTop) Z → (fun X ↦ ↑X.toTop) Y\nhg' : RightInverse g' ⇑(ConcreteCategory.hom g)\nt : X → ↑Y.toTop := g' ∘ ⇑(ConcreteCategory.hom f) ∘ pure\nh : Ultrafilter X → ↑Y.toTop := Ultrafi...
convert! denseRange_pure.equalizer (g.hom.hom.continuous.comp hh) f.hom.hom.continuous _
Mathlib.Tactic._aux_Mathlib_Tactic_Convert___macroRules_Mathlib_Tactic_convert!_1
Mathlib.Tactic.convert!
Mathlib.Topology.Category.Profinite.Basic
{ "line": 262, "column": 2 }
{ "line": 263, "column": 43 }
{ "line": 265, "column": 0 }
[ { "pp": "case mpr\nX Y : Profinite\nf : X ⟶ Y\n⊢ Function.Surjective ⇑(ConcreteCategory.hom f) → Epi f", "ppTerm": "?mpr", "assigned": true, "usedConstants": [ "Eq.mpr", "CategoryTheory.instFaithfulForget", "CategoryTheory.Epi", "congrArg", "CategoryTheory.ConcreteCateg...
[]
· rw [← CategoryTheory.ofHom_epi_iff_surjective] apply (forget Profinite).epi_of_epi_map
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Topology.ExtremallyDisconnected
{ "line": 152, "column": 13 }
{ "line": 152, "column": 19 }
{ "line": 152, "column": 20 }
[ { "pp": "A D : Type u\ninst✝³ : TopologicalSpace A\ninst✝² : TopologicalSpace D\ninst✝¹ : T1Space A\ninst✝ : CompactSpace D\nX : D → A\nX_cont : Continuous X\nX_surj : Surjective X\nS : Set (Set D) := {E | IsClosed E ∧ X '' E = univ}\nthis : ∀ C ⊆ S, IsChain (fun x1 x2 ↦ x1 ⊆ x2) C → ∃ s ∈ S, ∀ c ∈ C, s ⊆ c\nE ...
[ "A D : Type u\ninst✝³ : TopologicalSpace A\ninst✝² : TopologicalSpace D\ninst✝¹ : T1Space A\ninst✝ : CompactSpace D\nX : D → A\nX_cont : Continuous X\nX_surj : Surjective X\nS : Set (Set D) := {E | IsClosed E ∧ X '' E = univ}\nthis : ∀ C ⊆ S, IsChain (fun x1 x2 ↦ x1 ⊆ x2) C → ∃ s ∈ S, ∀ c ∈ C, s ⊆ c\nE : Set D\nE_m...
E₀_min
Lean.Elab.Tactic.evalIntro
ident
Mathlib.Topology.DiscreteQuotient
{ "line": 236, "column": 8 }
{ "line": 236, "column": 50 }
{ "line": 237, "column": 8 }
[ { "pp": "α : Type u_1\nX : Type u_2\nY : Type u_3\nZ : Type u_4\ninst✝³ : TopologicalSpace X\ninst✝² : TopologicalSpace Y\ninst✝¹ : TopologicalSpace Z\nS : DiscreteQuotient X\ninst✝ : LocallyConnectedSpace X\nx : X\n⊢ IsOpen[inst✝³] (ofPred ((connectedComponentSetoid X) x))", "ppTerm": "?m.38", "assigne...
[ "α : Type u_1\nX : Type u_2\nY : Type u_3\nZ : Type u_4\ninst✝³ : TopologicalSpace X\ninst✝² : TopologicalSpace Y\ninst✝¹ : TopologicalSpace Z\nS : DiscreteQuotient X\ninst✝ : LocallyConnectedSpace X\nx : X\n⊢ (connectedComponentSetoid X) x = (connectedComponent x).Mem" ]
convert isOpen_connectedComponent (x := x)
Mathlib.Tactic._aux_Mathlib_Tactic_Convert___elabRules_Mathlib_Tactic_convert_1
Mathlib.Tactic.convert
Mathlib.Topology.Category.Profinite.CofilteredLimit
{ "line": 211, "column": 4 }
{ "line": 211, "column": 73 }
{ "line": 212, "column": 4 }
[ { "pp": "case inr\nJ : Type v\ninst✝¹ : SmallCategory J\ninst✝ : IsCofiltered J\nF : J ⥤ Profinite\nC : Cone F\nα : Type u_1\nhC : IsLimit C\nf : LocallyConstant (↑C.pt.toTop) α\nS : DiscreteQuotient ↑C.pt.toTop := f.discreteQuotient\nff : Quotient S.toSetoid → α := ⇑f.lift\nh✝ : Nonempty (Quotient S.toSetoid)\...
[ "case inr\nJ : Type v\ninst✝¹ : SmallCategory J\ninst✝ : IsCofiltered J\nF : J ⥤ Profinite\nC : Cone F\nα : Type u_1\nhC : IsLimit C\nf : LocallyConstant (↑C.pt.toTop) α\nS : DiscreteQuotient ↑C.pt.toTop := f.discreteQuotient\nff : Quotient S.toSetoid → α := ⇑f.lift\nh✝ : Nonempty (Quotient S.toSetoid)\nf' : Locall...
let f' : LocallyConstant C.pt S := ⟨S.proj, S.proj_isLocallyConstant⟩
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1
Lean.Parser.Tactic.tacticLet__
Mathlib.Computability.TuringMachine.ToPartrec
{ "line": 1255, "column": 4 }
{ "line": 1255, "column": 84 }
{ "line": 1256, "column": 2 }
[ { "pp": "case cons₁\nS : Finset Λ'\nf : Code\nk : Cont'\nIH : contSupp k ⊆ S → Supports (contSupp k) S\nH : contSupp (Cont'.cons₁ f k) ⊆ S\nH₁ :\n trStmts₁\n (move₂ (fun x ↦ false) main aux\n (move₂ (fun s ↦ decide (s = Γ'.consₗ)) stack main (move₂ (fun x ↦ false) aux stack (trNormal f k.cons₂)...
[]
exact trStmts₁_supports' (head_supports H₂.2.2) (Finset.union_subset_right h) IH
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Condensed.Discrete.Module
{ "line": 125, "column": 15 }
{ "line": 125, "column": 33 }
{ "line": 126, "column": 6 }
[ { "pp": "P : TopCat → Prop\nR : Type (u + 1)\ninst✝ : Ring R\nX✝ Y✝ : ModuleCat R\nf : X✝ ⟶ Y✝\n⊢ (functorIsoDiscreteAux₂ R X✝).hom ≫\n (discreteUnderlyingAdj (ModuleCat R)).counit.app ((functor R).obj X✝) ≫ (functor R).map f =\n (discrete (ModuleCat R)).map f ≫\n (functorIsoDiscreteAux₂ R Y✝).hom ...
[ "P : TopCat → Prop\nR : Type (u + 1)\ninst✝ : Ring R\nX✝ Y✝ : ModuleCat R\nf : X✝ ⟶ Y✝\n⊢ (discreteUnderlyingAdj (ModuleCat R)).counit.app ((functor R).obj X✝) ≫ (functor R).map f =\n (functorIsoDiscreteAux₂ R X✝).inv ≫\n (discrete (ModuleCat R)).map f ≫\n (functorIsoDiscreteAux₂ R Y✝).hom ≫ (discret...
← Iso.eq_inv_comp,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Condensed.Discrete.LocallyConstant
{ "line": 316, "column": 2 }
{ "line": 318, "column": 33 }
{ "line": 319, "column": 2 }
[ { "pp": "P : TopCat → Prop\ninst✝⁴ : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), HasProp P (Subtype p)\ninst✝³ : HasProp P PUnit.{u + 1}\ninst✝² : HasExplicitFiniteCoproducts P\ninst✝¹ : HasExplicitPullbacks P\nhs : ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y), EffectiveEpi f → Surjective ⇑(ConcreteCategory.hom f)\ni...
[ "P : TopCat → Prop\ninst✝⁴ : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), HasProp P (Subtype p)\ninst✝³ : HasProp P PUnit.{u + 1}\ninst✝² : HasExplicitFiniteCoproducts P\ninst✝¹ : HasExplicitPullbacks P\nhs : ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y), EffectiveEpi f → Surjective ⇑(ConcreteCategory.hom f)\ninst✝ : HasEx...
apply presheaf_ext (X := ((functor P hs).obj X).obj) (Y := ((functor.{u, w} P hs).obj X).obj) (f.map ((unit P hs).app X))
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.Condensed.Discrete.Module
{ "line": 241, "column": 24 }
{ "line": 241, "column": 42 }
{ "line": 242, "column": 6 }
[ { "pp": "P : TopCat → Prop\nR : Type u\ninst✝ : Ring R\nX✝ Y✝ : ModuleCat R\nf : X✝ ⟶ Y✝\n⊢ (functorIsoDiscreteAux₂ R X✝).hom ≫\n (discreteUnderlyingAdj (ModuleCat R)).counit.app ((functor R).obj X✝) ≫ (functor R).map f =\n (discrete (ModuleCat R)).map f ≫\n (functorIsoDiscreteAux₂ R Y✝).hom ≫ (dis...
[ "P : TopCat → Prop\nR : Type u\ninst✝ : Ring R\nX✝ Y✝ : ModuleCat R\nf : X✝ ⟶ Y✝\n⊢ (discreteUnderlyingAdj (ModuleCat R)).counit.app ((functor R).obj X✝) ≫ (functor R).map f =\n (functorIsoDiscreteAux₂ R X✝).inv ≫\n (discrete (ModuleCat R)).map f ≫\n (functorIsoDiscreteAux₂ R Y✝).hom ≫ (discreteUnder...
← Iso.eq_inv_comp,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Condensed.Explicit
{ "line": 84, "column": 6 }
{ "line": 84, "column": 41 }
{ "line": 84, "column": 42 }
[ { "pp": "A : Type u_1\ninst✝² : Category.{v_1, u_1} A\ninst✝¹ : ∀ (X : CompHausᵒᵖ), HasLimitsOfShape (StructuredArrow X profiniteToCompHaus.op) A\nF : Profiniteᵒᵖ ⥤ A\ninst✝ : PreservesFiniteProducts F\nhF : EqualizerCondition F\n⊢ PreservesFiniteProducts F ∧ EqualizerCondition F", "ppTerm": "?m.45", "a...
[]
exact ⟨⟨fun _ ↦ inferInstance⟩, hF⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Condensed.Explicit
{ "line": 102, "column": 6 }
{ "line": 102, "column": 41 }
{ "line": 102, "column": 42 }
[ { "pp": "A : Type u_1\ninst✝⁵ : Category.{v_1, u_1} A\ninst✝⁴ : ∀ (X : CompHausᵒᵖ), HasLimitsOfShape (StructuredArrow X profiniteToCompHaus.op) A\nFA : A → A → Type u_2\nCA : A → Type u_3\ninst✝³ : (X Y : A) → FunLike (FA X Y) (CA X) (CA Y)\ninst✝² : ConcreteCategory A FA\ninst✝¹ : ReflectsFiniteLimits (Categor...
[]
exact ⟨⟨fun _ ↦ inferInstance⟩, hF⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Condensed.Explicit
{ "line": 114, "column": 4 }
{ "line": 114, "column": 39 }
{ "line": 116, "column": 0 }
[ { "pp": "A : Type u_1\ninst✝¹ : Category.{v_1, u_1} A\nF : CompHausᵒᵖ ⥤ A\ninst✝ : PreservesFiniteProducts F\nhF : EqualizerCondition F\n⊢ PreservesFiniteProducts F ∧ EqualizerCondition F", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "Opposite", "inferInstance", "Finite...
[]
exact ⟨⟨fun _ ↦ inferInstance⟩, hF⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Condensed.Explicit
{ "line": 129, "column": 4 }
{ "line": 129, "column": 39 }
{ "line": 131, "column": 0 }
[ { "pp": "A : Type u_1\ninst✝⁴ : Category.{v_1, u_1} A\nFA : A → A → Type u_2\nCA : A → Type u_3\ninst✝³ : (X Y : A) → FunLike (FA X Y) (CA X) (CA Y)\ninst✝² : ConcreteCategory A FA\ninst✝¹ : ReflectsFiniteLimits (CategoryTheory.forget A)\nF : CompHausᵒᵖ ⥤ A\ninst✝ : PreservesFiniteProducts (F ⋙ CategoryTheory.f...
[]
exact ⟨⟨fun _ ↦ inferInstance⟩, hF⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Topology.Compactification.OnePoint.Basic
{ "line": 215, "column": 6 }
{ "line": 215, "column": 78 }
{ "line": 216, "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)\nthis : IsOpen[inst✝] (some ⁻¹' ⋃₀ S)\ns : Set (OnePoint X)\nhsS : s ∈ S\nhs : ∞ ∈ s\n⊢ (some ⁻¹' ⋃₀ S)ᶜ ⊆ (some ⁻¹' s)ᶜ", "ppTerm": "?m.1...
[]
exact compl_subset_compl.mpr (preimage_mono <| subset_sUnion_of_mem hsS)
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Condensed.Light.TopCatAdjunction
{ "line": 186, "column": 4 }
{ "line": 186, "column": 47 }
{ "line": 187, "column": 4 }
[ { "pp": "X✝ Y : LightCondSet\nf✝ : X✝ ⟶ Y\nX : TopCat\ninst✝ : SequentialSpace ↑X\nf : ℕ → ↑X\np : ↑X\nh : Filter.Tendsto f Filter.atTop (nhds p)\ng : OnePoint ℕ → ↑X.toLightCondSet.toTopCat :=\n (topCatAdjunctionCounitEquiv X).invFun ∘ ⇑(OnePoint.continuousMapMkNat f p h)\n⊢ Filter.Tendsto ((topCatAdjunctionC...
[ "X✝ Y : LightCondSet\nf✝ : X✝ ⟶ Y\nX : TopCat\ninst✝ : SequentialSpace ↑X\nf : ℕ → ↑X\np : ↑X\nh : Filter.Tendsto f Filter.atTop (nhds p)\ng : OnePoint ℕ → ↑X.toLightCondSet.toTopCat :=\n (topCatAdjunctionCounitEquiv X).invFun ∘ ⇑(OnePoint.continuousMapMkNat f p h)\n⊢ Filter.Tendsto (fun n ↦ g ↑n) Filter.atTop (nh...
change Filter.Tendsto (fun n : ℕ ↦ g n) _ _
Lean.Elab.Tactic.evalChange
Lean.Parser.Tactic.change
Mathlib.Condensed.Light.Explicit
{ "line": 49, "column": 4 }
{ "line": 49, "column": 39 }
{ "line": 51, "column": 0 }
[ { "pp": "A : Type u_1\ninst✝¹ : Category.{v_1, u_1} A\nF : LightProfiniteᵒᵖ ⥤ A\ninst✝ : PreservesFiniteProducts F\nhF : EqualizerCondition F\n⊢ PreservesFiniteProducts F ∧ EqualizerCondition F", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "Opposite", "SecondCountableTopology...
[]
exact ⟨⟨fun _ ↦ inferInstance⟩, hF⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Condensed.Light.Explicit
{ "line": 65, "column": 4 }
{ "line": 65, "column": 39 }
{ "line": 67, "column": 0 }
[ { "pp": "A : Type u_1\ninst✝⁴ : Category.{v_1, u_1} A\nFA : A → A → Type u_2\nCA : A → Type u_3\ninst✝³ : (X Y : A) → FunLike (FA X Y) (CA X) (CA Y)\ninst✝² : ConcreteCategory A FA\ninst✝¹ : ReflectsFiniteLimits (CategoryTheory.forget A)\nF : LightProfiniteᵒᵖ ⥤ A\ninst✝ : PreservesFiniteProducts (F ⋙ CategoryTh...
[]
exact ⟨⟨fun _ ↦ inferInstance⟩, hF⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Condensed.Discrete.Colimit
{ "line": 593, "column": 2 }
{ "line": 593, "column": 27 }
{ "line": 594, "column": 2 }
[ { "pp": "case e_a\nX : LightProfiniteᵒᵖ ⥤ Type u\ninst✝ : PreservesFiniteProducts X\nhX : (S : LightProfinite) → IsColimit (X.mapCocone (coconeRightOpOfCone S.asLimitCone))\nS : LightProfiniteᵒᵖ\nY : FintypeCatᵒᵖ\nright✝ : Discrete PUnit.{1}\ng : toLightProfinite.op.obj Y ⟶ (fromPUnit S).obj right✝\nf : Locally...
[ "case e_a\nX : LightProfiniteᵒᵖ ⥤ Type u\ninst✝ : PreservesFiniteProducts X\nhX : (S : LightProfinite) → IsColimit (X.mapCocone (coconeRightOpOfCone S.asLimitCone))\nS : LightProfiniteᵒᵖ\nY : FintypeCatᵒᵖ\nright✝ : Discrete PUnit.{1}\ng : toLightProfinite.op.obj Y ⟶ (fromPUnit S).obj right✝\nf : LocallyConstant (↑(...
rw [incl_of_counitAppApp]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Topology.Compactness.CompactlyGeneratedSpace
{ "line": 217, "column": 8 }
{ "line": 217, "column": 32 }
{ "line": 217, "column": 33 }
[ { "pp": "X : Type w\nY : Type x\ntX : TopologicalSpace X\ntY : TopologicalSpace Y\ninst✝ : SequentialSpace X\ns : Set X\nh : ∀ (S : CompHaus) (f : C(↑S.toTop, X)), IsClosed (⇑f ⁻¹' s)\nu : ℕ → X\np : X\nhu : ∀ (n : ℕ), u n ∈ s\nhup : Tendsto u atTop (𝓝 p)\ng : ULift.{u, 0} (OnePoint ℕ) → X := ⇑(continuousMapMk...
[ "X : Type w\nY : Type x\ntX : TopologicalSpace X\ntY : TopologicalSpace Y\ninst✝ : SequentialSpace X\ns : Set X\nh : ∀ (S : CompHaus) (f : C(↑S.toTop, X)), IsClosed (⇑f ⁻¹' s)\nu : ℕ → X\np : X\nhu : ∀ (n : ℕ), u n ∈ s\nhup : Tendsto u atTop (𝓝 p)\ng : ULift.{u, 0} (OnePoint ℕ) → X := ⇑(continuousMapMkNat u p hup)...
← Nat.cofinite_eq_atTop,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Control.Traversable.Lemmas
{ "line": 90, "column": 47 }
{ "line": 90, "column": 67 }
{ "line": 90, "column": 67 }
[ { "pp": "t : Type u → Type u\ninst✝⁵ : Traversable t\ninst✝⁴ : LawfulTraversable t\nF G : Type u → Type u\ninst✝³ : Applicative F\ninst✝² : LawfulApplicative F\ninst✝¹ : Applicative G\ninst✝ : LawfulApplicative G\nα : Type u\nx : t (F (G α))\n⊢ traverse Comp.mk x = Comp.mk (traverse id <$> traverse id x)", ...
[ "t : Type u → Type u\ninst✝⁵ : Traversable t\ninst✝⁴ : LawfulTraversable t\nF G : Type u → Type u\ninst✝³ : Applicative F\ninst✝² : LawfulApplicative F\ninst✝¹ : Applicative G\ninst✝ : LawfulApplicative G\nα : Type u\nx : t (F (G α))\n⊢ traverse Comp.mk x = traverse (Comp.mk ∘ map id ∘ id) x" ]
rw [← comp_traverse]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Control.Traversable.Instances
{ "line": 77, "column": 2 }
{ "line": 77, "column": 14 }
{ "line": 77, "column": 15 }
[ { "pp": "α : Type u_1\nxs : List α\n⊢ List.traverse pure xs = pure xs", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Pure.pure", "Monad.toApplicative", "List.rec", "Id", "Applicative.toPure", "List", "List.traverse", "Id.instMonad", "...
[ "case nil\nα : Type u_1\n⊢ List.traverse pure [] = pure []", "case cons\nα : Type u_1\nhead✝ : α\ntail✝ : List α\ntail_ih✝ : List.traverse pure tail✝ = pure tail✝\n⊢ List.traverse pure (head✝ :: tail✝) = pure (head✝ :: tail✝)" ]
induction xs
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
Lean.Parser.Tactic.induction
Mathlib.Control.Fold
{ "line": 140, "column": 18 }
{ "line": 140, "column": 49 }
{ "line": 142, "column": 0 }
[ { "pp": "m : Type u → Type u\ninst✝ : Monad m\nα β : Type u\nf : α → β → β\nx✝¹ x✝ : FreeMonoid α\n⊢ { asHom := ↾flip (List.foldr f) (x✝¹ * x✝).toList } =\n { asHom := ↾flip (List.foldr f) x✝¹.toList } * { asHom := ↾flip (List.foldr f) x✝.toList }", "ppTerm": "?m.25", "assigned": true, "usedConst...
[]
by ext; apply List.foldr_append
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Control.Fold
{ "line": 327, "column": 2 }
{ "line": 328, "column": 29 }
{ "line": 330, "column": 0 }
[ { "pp": "α β : Type u\nt : Type u → Type u\ninst✝¹ : Traversable t\ninst✝ : LawfulTraversable t\nf : α → β → α\nxs : t β\nx : α\n⊢ foldl f x xs = (ConcreteCategory.hom (unop ((Foldl.ofFreeMonoid f) { toList := toList xs })).asHom) x", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Mu...
[]
simp only [foldl, toList_spec, foldMap_hom_free, foldl.ofFreeMonoid_comp_of, Foldl.get, FreeMonoid.ofList_toList]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Control.Functor.Multivariate
{ "line": 210, "column": 4 }
{ "line": 210, "column": 38 }
{ "line": 210, "column": 39 }
[ { "pp": "case h₁\nn : ℕ\nF : TypeVec.{u} (n + 1) → Type u_1\ninst✝¹ : MvFunctor F\ninst✝ : LawfulMvFunctor F\nα : TypeVec.{u} n\nβ : Type u\nrr : β → β → Prop\nx y : F (α ::: β)\nu✝ : F fun i ↦ { p_1 // ofRepeat (α.RelLast' rr i (prod.mk i p_1.1 p_1.2)) }\n⊢ ((fun i t ↦ (↑t).1) <$$> u✝ = x ∧ (fun i t ↦ (↑t).2) ...
[ "case h₁.e_a.e_a.e_a.fz\nn : ℕ\nF : TypeVec.{u} (n + 1) → Type u_1\ninst✝¹ : MvFunctor F\ninst✝ : LawfulMvFunctor F\nα : TypeVec.{u} n\nβ : Type u\nrr : β → β → Prop\nx✝ y : F (α ::: β)\nu✝ : F fun i ↦ { p_1 // ofRepeat (α.RelLast' rr i (prod.mk i p_1.1 p_1.2)) }\nx : (α ::: β) Fin2.fz × (α ::: β) Fin2.fz\nproperty...
congr <;> ext i ⟨x, _⟩ <;> cases i
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Data.Bool.Count
{ "line": 98, "column": 4 }
{ "line": 98, "column": 57 }
{ "line": 99, "column": 2 }
[ { "pp": "case pos\nl : List Bool\nhl : IsChain (fun x1 x2 ↦ x1 ≠ x2) l\nb : Bool\nh2 : Even l.length\n⊢ 2 * count b l = if Even l.length then l.length else if (some b == l.head?) = true then l.length + 1 else l.length - 1", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "List.head?", ...
[]
rw [ite_eq_left h2, hl.two_mul_count_bool_of_even h2]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Bool.Count
{ "line": 98, "column": 4 }
{ "line": 98, "column": 57 }
{ "line": 99, "column": 2 }
[ { "pp": "case pos\nl : List Bool\nhl : IsChain (fun x1 x2 ↦ x1 ≠ x2) l\nb : Bool\nh2 : Even l.length\n⊢ 2 * count b l = if Even l.length then l.length else if (some b == l.head?) = true then l.length + 1 else l.length - 1", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "List.head?", ...
[]
rw [ite_eq_left h2, hl.two_mul_count_bool_of_even h2]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Bool.Count
{ "line": 98, "column": 4 }
{ "line": 98, "column": 57 }
{ "line": 99, "column": 2 }
[ { "pp": "case pos\nl : List Bool\nhl : IsChain (fun x1 x2 ↦ x1 ≠ x2) l\nb : Bool\nh2 : Even l.length\n⊢ 2 * count b l = if Even l.length then l.length else if (some b == l.head?) = true then l.length + 1 else l.length - 1", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "List.head?", ...
[]
rw [ite_eq_left h2, hl.two_mul_count_bool_of_even h2]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Analysis.Topology
{ "line": 185, "column": 2 }
{ "line": 185, "column": 15 }
{ "line": 185, "column": 15 }
[ { "pp": "α : Type u_1\nτ : Type u_4\ninst✝ : TopologicalSpace α\nF : Realizer α\nE : F.σ ≃ τ\ns : τ\n⊢ (F.ofEquiv E).F.f s = F.F.f (E.symm s)", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Equiv.instEquivLike", "id", "Equiv", "Ctop.Realizer.σ", "Ctop.f", ...
[ "α : Type u_1\nτ : Type u_4\ninst✝ : TopologicalSpace α\nF : Realizer α\nE : F.σ ≃ τ\ns : τ\n⊢ { σ := τ, F := Ctop.ofEquiv E F.F, eq := ⋯ }.F.f s = F.F.f (E.symm s)" ]
delta ofEquiv
Lean.Elab.Tactic.evalDelta
Lean.Parser.Tactic.delta
Mathlib.Condensed.Light.Sequence
{ "line": 360, "column": 70 }
{ "line": 360, "column": 85 }
{ "line": 361, "column": 4 }
[ { "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...
[]
simpa using hS'
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Condensed.Light.Sequence
{ "line": 360, "column": 70 }
{ "line": 360, "column": 85 }
{ "line": 361, "column": 4 }
[ { "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...
[]
simpa using hS'
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Condensed.Light.Sequence
{ "line": 360, "column": 70 }
{ "line": 360, "column": 85 }
{ "line": 361, "column": 4 }
[ { "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...
[]
simpa using hS'
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Dyadic.Basic
{ "line": 77, "column": 21 }
{ "line": 77, "column": 46 }
{ "line": 78, "column": 2 }
[ { "pp": "⊢ ∀ (n : ℕ), ↑(n + 1) = ↑n + 1", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "congrArg", "Dyadic.natCast_add", "Dyadic.instOfNat", "Dyadic", "Dyadic.instAdd", "instOfNatNat", "NatCast.natCast", "Nat.cast", "instHAdd", "...
[]
simp [Dyadic.natCast_add]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.Dyadic.Basic
{ "line": 77, "column": 21 }
{ "line": 77, "column": 46 }
{ "line": 78, "column": 2 }
[ { "pp": "⊢ ∀ (n : ℕ), ↑(n + 1) = ↑n + 1", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "congrArg", "Dyadic.natCast_add", "Dyadic.instOfNat", "Dyadic", "Dyadic.instAdd", "instOfNatNat", "NatCast.natCast", "Nat.cast", "instHAdd", "...
[]
simp [Dyadic.natCast_add]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Dyadic.Basic
{ "line": 77, "column": 21 }
{ "line": 77, "column": 46 }
{ "line": 78, "column": 2 }
[ { "pp": "⊢ ∀ (n : ℕ), ↑(n + 1) = ↑n + 1", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "congrArg", "Dyadic.natCast_add", "Dyadic.instOfNat", "Dyadic", "Dyadic.instAdd", "instOfNatNat", "NatCast.natCast", "Nat.cast", "instHAdd", "...
[]
simp [Dyadic.natCast_add]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.ENat.BigOperators
{ "line": 108, "column": 4 }
{ "line": 108, "column": 31 }
{ "line": 110, "column": 0 }
[ { "pp": "case h₁\nα : Type u_1\nι : Type u_2\nf : α → ι → ℕ∞\nhf : ∀ (i j : ι), ∃ k, ∀ (a : α), f a i ≤ f a k ∧ f a j ≤ f a k\na : α\ns : Finset α\nha : a ∉ s\nihs : ∑ a ∈ s, ⨆ i, f a i = ⨆ i, ∑ a ∈ s, f a i\ni j k : ι\nhk : ∀ (a : α), f a i ≤ f a k ∧ f a j ≤ f a k\n⊢ f a i ≤ f a k", "ppTerm": "?h₁", "a...
[]
exacts [(hk a).1, (hk _).2]
Batteries.Tactic._aux_Batteries_Tactic_Init___elabRules_Batteries_Tactic_exacts_1
Batteries.Tactic.exacts
Mathlib.Data.FP.Basic
{ "line": 157, "column": 29 }
{ "line": 157, "column": 73 }
{ "line": 157, "column": 73 }
[ { "pp": "C : FloatCfg\ne : ℤ\nm : ℕ\nv : ValidFinite e m\nm' : ℕ := m.succ\nss : m'.size = m.size\n⊢ ValidFinite e m'", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "Eq.mpr", "FP.emin", "FP.prec", "congrArg", "Int.instMax", "HSub.hSub", "FP.emax",...
[]
by unfold ValidFinite at *; rw [ss]; exact v
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Fin.Tuple.Embedding
{ "line": 109, "column": 8 }
{ "line": 111, "column": 28 }
{ "line": 112, "column": 6 }
[ { "pp": "case neg\nα : Type u_1\nx✝ : ↑{(a, b) | a ≠ b}\na b : α\nh : (a, b) ∈ {(a, b) | a ≠ b}\ni j : Fin 2\nhij : (fun i ↦ if i = 0 then a else b) i = (fun i ↦ if i = 0 then a else b) j\nhi : i = 0\nhj : ¬j = 0\n⊢ i = j", "ppTerm": "?neg✝", "assigned": true, "usedConstants": [ "instNeZeroNat...
[]
· simp only [ite_eq_left hi, eq_one_of_ne_zero j hj, ite_eq_right (Ne.symm Fin.zero_ne_one)] at hij apply (h hij).elim
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Data.List.Sigma
{ "line": 254, "column": 6 }
{ "line": 254, "column": 38 }
{ "line": 254, "column": 38 }
[ { "pp": "α : Type u\nα' : Type u'\nβ : Type v\nf : α → α'\nhf : Function.Injective f\nhd : (_ : α) × β\ntl : List ((_ : α) × β)\nih : tl.NodupKeys → (map (Sigma.map f fun x ↦ id) tl).NodupKeys\nnd : ¬hd.fst ∈ tl.keys ∧ tl.NodupKeys\nh : (Sigma.map f (fun x ↦ id) hd).fst ∈ map (Sigma.fst ∘ Sigma.map f fun x ↦ id...
[]
exact mem_map.mpr ⟨x, hm, hf he⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Data.Multiset.Functor
{ "line": 121, "column": 2 }
{ "line": 121, "column": 54 }
{ "line": 123, "column": 0 }
[ { "pp": "case h\nG : Type u_1 → Type u_1\ninst✝¹ : Applicative G\ninst✝ : CommApplicative G\nα β γ : Type u_1\ng : α → β\nh : β → G γ\na✝ : List α\n⊢ ofList <$> Traversable.traverse h (List.map g a✝) = ofList <$> Traversable.traverse (h ∘ g) a✝", "ppTerm": "?h", "assigned": true, "usedConstants": [ ...
[]
rw [← Traversable.traverse_map h g, List.map_eq_map]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq