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.Topology.EMetricSpace.PairReduction
{ "line": 140, "column": 2 }
{ "line": 149, "column": 23 }
{ "line": 151, "column": 0 }
[ { "pp": "T : Type u_1\ninst✝¹ : TopologicalSpace T\ninst✝ : WeakPseudoEMetricSpace T\na c : ℝ≥0∞\nV : Finset T\nt : T\nha : 1 < a\nht : t ∈ V\n⊢ a ^ (logSizeRadius t V a c - 1) ≤ ↑(#({x ∈ V | edist t x ≤ (↑(logSizeRadius t V a c) - 1) * c}))", "ppTerm": "?m.45", "assigned": true, "usedConstants": [ ...
[]
by_cases h_one : logSizeRadius t V a c = 1 · simp only [h_one, tsub_self, pow_zero, Nat.cast_one, zero_mul, nonpos_iff_eq_zero, Nat.one_le_cast, Finset.one_le_card] exact ⟨t, by simpa⟩ rw [logSizeRadius, dite_eq_left ha] at h_one ⊢ have : Nat.find (exists_radius_le t V ha c) - 1 < Nat.find (exists_radiu...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Topology.EMetricSpace.PairReduction
{ "line": 140, "column": 2 }
{ "line": 149, "column": 23 }
{ "line": 151, "column": 0 }
[ { "pp": "T : Type u_1\ninst✝¹ : TopologicalSpace T\ninst✝ : WeakPseudoEMetricSpace T\na c : ℝ≥0∞\nV : Finset T\nt : T\nha : 1 < a\nht : t ∈ V\n⊢ a ^ (logSizeRadius t V a c - 1) ≤ ↑(#({x ∈ V | edist t x ≤ (↑(logSizeRadius t V a c) - 1) * c}))", "ppTerm": "?m.45", "assigned": true, "usedConstants": [ ...
[]
by_cases h_one : logSizeRadius t V a c = 1 · simp only [h_one, tsub_self, pow_zero, Nat.cast_one, zero_mul, nonpos_iff_eq_zero, Nat.one_le_cast, Finset.one_le_card] exact ⟨t, by simpa⟩ rw [logSizeRadius, dite_eq_left ha] at h_one ⊢ have : Nat.find (exists_radius_le t V ha c) - 1 < Nat.find (exists_radiu...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.Instances.CantorSet
{ "line": 215, "column": 4 }
{ "line": 216, "column": 9 }
{ "line": 217, "column": 2 }
[ { "pp": "x : ℝ\nhx : x ∈ cantorSet\n⊢ ∃ y ∈ cantorSet, y / 3 = x ∨ (2 + y) / 3 = x", "ppTerm": "?m.35", "assigned": true, "usedConstants": [ "Set.instMax", "_private.Mathlib.Topology.Instances.CantorSet.0.cantorStep_mem_cantorSet._proof_1_2", "Real", "instHDiv", "congrA...
[]
rw [cantorSet_eq_union_halves] at hx grind
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Topology.Instances.CantorSet
{ "line": 215, "column": 4 }
{ "line": 216, "column": 9 }
{ "line": 217, "column": 2 }
[ { "pp": "x : ℝ\nhx : x ∈ cantorSet\n⊢ ∃ y ∈ cantorSet, y / 3 = x ∨ (2 + y) / 3 = x", "ppTerm": "?m.35", "assigned": true, "usedConstants": [ "Set.instMax", "_private.Mathlib.Topology.Instances.CantorSet.0.cantorStep_mem_cantorSet._proof_1_2", "Real", "instHDiv", "congrA...
[]
rw [cantorSet_eq_union_halves] at hx grind
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.Instances.CantorSet
{ "line": 331, "column": 15 }
{ "line": 342, "column": 44 }
{ "line": 344, "column": 0 }
[ { "pp": "⊢ Function.RightInverse (fun y ↦ ⟨ofDigits fun i ↦ bif y i then 2 else 0, ⋯⟩) fun x ↦\n match (motive := ↑cantorSet → ℕ → Bool) x with\n | ⟨x, h⟩ => (cantorToBinary x).get", "ppTerm": "?m.52", "assigned": true, "usedConstants": [ "cond", "Eq.mpr", "Real", "cant...
[]
by intro y simp only [Fin.isValue] set x := @ofDigits 3 (fun i ↦ cond (y i) 2 0) have := ofDigits_cantorToTernary (ofDigits_bool_to_fin_three_mem_cantorSet y) apply ofDigits_zero_two_sequence_unique at this rotate_left · exact fun n ↦ cantorToTernary_ne_one · grind ext n apply co...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Topology.List
{ "line": 89, "column": 4 }
{ "line": 90, "column": 42 }
{ "line": 91, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝ : TopologicalSpace α\nβ : Type u_3\nf : List α → β\nb : Filter β\na : α\nl : List α\n⊢ 𝓝 (a :: l) = Filter.map (fun p ↦ p.1 :: p.2) (𝓝 a ×ˢ 𝓝 l)", "ppTerm": "?m.42", "assigned": true, "usedConstants": [ "Filter.prod_eq", "Eq.mpr", "nhds_cons", ...
[ "α : Type u_1\ninst✝ : TopologicalSpace α\nβ : Type u_3\nf : List α → β\nb : Filter β\na : α\nl : List α\n⊢ cons <$> 𝓝 a <*> 𝓝 l = (fun p ↦ p.1 :: p.2) <$> (Prod.mk <$> 𝓝 a <*> 𝓝 l)" ]
simp only [nhds_cons, Filter.prod_eq, (Filter.map_def _ _).symm, (Filter.seq_eq_filter_seq _ _).symm]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Topology.Homotopy.HomotopyGroup
{ "line": 422, "column": 74 }
{ "line": 422, "column": 93 }
{ "line": 422, "column": 93 }
[ { "pp": "N : Type u_1\nX : Type u_2\ninst✝¹ : TopologicalSpace X\nx : X\ninst✝ : DecidableEq N\ni j : N\nh : i ≠ j\na b c d : ↑(Ω^ N X x)\ny✝ : N → ↑I\n⊢ (if ↑(y✝ i) ≤ 1 / 2 then\n if ↑(if j = i then Set.projIcc 0 1 transAt._proof_3 (2 * ↑(y✝ i)) else y✝ j) ≤ 1 / 2 then\n a\n (Function.upda...
[ "N : Type u_1\nX : Type u_2\ninst✝¹ : TopologicalSpace X\nx : X\ninst✝ : DecidableEq N\ni j : N\nh : i ≠ j\na b c d : ↑(Ω^ N X x)\ny✝ : N → ↑I\n⊢ (if ↑(y✝ i) ≤ 1 / 2 then\n if ↑(y✝ j) ≤ 1 / 2 then\n a\n (Function.update (Function.update y✝ i (Set.projIcc 0 1 transAt._proof_3 (2 * ↑(y✝ i)))) j\n...
ite_eq_right h.symm
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Topology.MetricSpace.Closeds
{ "line": 105, "column": 6 }
{ "line": 105, "column": 41 }
{ "line": 106, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝ : EMetricSpace α\nx : α\ns : Closeds α\ny : α\nt : Closeds α\n⊢ infEDist y ↑t + edist x y + hausdorffEDist ↑t ↑s = infEDist y ↑t + (edist x y + hausdorffEDist ↑s ↑t)", "ppTerm": "?m.92", "assigned": true, "usedConstants": [ "Eq.mpr", "ENNReal.instAdd", ...
[]
rw [add_assoc, hausdorffEDist_comm]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Topology.MetricSpace.Closeds
{ "line": 105, "column": 6 }
{ "line": 105, "column": 41 }
{ "line": 106, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝ : EMetricSpace α\nx : α\ns : Closeds α\ny : α\nt : Closeds α\n⊢ infEDist y ↑t + edist x y + hausdorffEDist ↑t ↑s = infEDist y ↑t + (edist x y + hausdorffEDist ↑s ↑t)", "ppTerm": "?m.92", "assigned": true, "usedConstants": [ "Eq.mpr", "ENNReal.instAdd", ...
[]
rw [add_assoc, hausdorffEDist_comm]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Topology.MetricSpace.Closeds
{ "line": 105, "column": 6 }
{ "line": 105, "column": 41 }
{ "line": 106, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝ : EMetricSpace α\nx : α\ns : Closeds α\ny : α\nt : Closeds α\n⊢ infEDist y ↑t + edist x y + hausdorffEDist ↑t ↑s = infEDist y ↑t + (edist x y + hausdorffEDist ↑s ↑t)", "ppTerm": "?m.92", "assigned": true, "usedConstants": [ "Eq.mpr", "ENNReal.instAdd", ...
[]
rw [add_assoc, hausdorffEDist_comm]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.NatEmbedding
{ "line": 32, "column": 31 }
{ "line": 40, "column": 16 }
{ "line": 41, "column": 2 }
[ { "pp": "X : Type u_1\ninst✝² : TopologicalSpace X\ninst✝¹ : T2Space X\ninst✝ : Infinite X\nthis : ∃ U, (∀ (n : ℕ), (U n).Nonempty) ∧ (∀ (n : ℕ), IsOpen[inst✝²] (U n)) ∧ Pairwise (Disjoint on U)\n⊢ ∃ U, (∀ (n : ℕ), (U n).Infinite) ∧ (∀ (n : ℕ), IsOpen[inst✝²] (U n)) ∧ Pairwise (Disjoint on U)", "ppTerm": "?...
[]
by rcases this with ⟨U, hne, ho, hd⟩ refine ⟨fun n ↦ ⋃ m, U (.pair n m), ?_, fun _ ↦ isOpen_iUnion fun _ ↦ ho _, ?_⟩ · refine fun n ↦ infinite_iUnion fun i j hij ↦ ?_ suffices n.pair i = n.pair j by simpa apply hd.eq simpa [hij, onFun] using (hne _).ne_empty · refine fun n n' hne ↦ dis...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Topology.Order.Hom.Esakia
{ "line": 245, "column": 37 }
{ "line": 246, "column": 71 }
{ "line": 246, "column": 71 }
[ { "pp": "F : Type u_1\nα : Type u_2\nβ : Type u_3\nγ : Type u_4\nδ : Type u_5\ninst✝⁷ : TopologicalSpace α\ninst✝⁶ : Preorder α\ninst✝⁵ : TopologicalSpace β\ninst✝⁴ : Preorder β\ninst✝³ : TopologicalSpace γ\ninst✝² : Preorder γ\ninst✝¹ : TopologicalSpace δ\ninst✝ : Preorder δ\nf : EsakiaHom α β\nf' : α → β\nh :...
[]
by simpa only [h.symm, toFun_eq_coe] using! f.exists_map_eq_of_map_le'
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Topology.MetricSpace.GromovHausdorff
{ "line": 398, "column": 21 }
{ "line": 398, "column": 74 }
{ "line": 398, "column": 74 }
[ { "pp": "x : GHSpace\ny : NonemptyCompacts ↥(lp (fun n ↦ ℝ) ∞)\nhy : ⟦y⟧ = x\n⊢ 0 ∈ lowerBounds ((fun p ↦ hausdorffDist ↑p.1 ↑p.2) '' {a | ⟦a⟧ = x} ×ˢ {b | ⟦b⟧ = x})", "ppTerm": "?m.56", "assigned": true, "usedConstants": [ "GromovHausdorff.IsometryRel.setoid._proof_1", "Set.instSProd", ...
[]
rintro b ⟨⟨u, v⟩, -, rfl⟩; exact hausdorffDist_nonneg
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Topology.MetricSpace.GromovHausdorff
{ "line": 398, "column": 21 }
{ "line": 398, "column": 74 }
{ "line": 398, "column": 74 }
[ { "pp": "x : GHSpace\ny : NonemptyCompacts ↥(lp (fun n ↦ ℝ) ∞)\nhy : ⟦y⟧ = x\n⊢ 0 ∈ lowerBounds ((fun p ↦ hausdorffDist ↑p.1 ↑p.2) '' {a | ⟦a⟧ = x} ×ˢ {b | ⟦b⟧ = x})", "ppTerm": "?m.56", "assigned": true, "usedConstants": [ "GromovHausdorff.IsometryRel.setoid._proof_1", "Set.instSProd", ...
[]
rintro b ⟨⟨u, v⟩, -, rfl⟩; exact hausdorffDist_nonneg
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.MetricSpace.GromovHausdorff
{ "line": 404, "column": 8 }
{ "line": 404, "column": 61 }
{ "line": 405, "column": 2 }
[ { "pp": "case h₂\nx : GHSpace\ny : NonemptyCompacts ↥(lp (fun n ↦ ℝ) ∞)\nhy : ⟦y⟧ = x\n⊢ ∀ b ∈ (fun p ↦ hausdorffDist ↑p.1 ↑p.2) '' {a | ⟦a⟧ = x} ×ˢ {b | ⟦b⟧ = x}, 0 ≤ b", "ppTerm": "?h₂", "assigned": true, "usedConstants": [ "GromovHausdorff.IsometryRel.setoid._proof_1", "Set.instSProd"...
[]
rintro b ⟨⟨u, v⟩, -, rfl⟩; exact hausdorffDist_nonneg
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Topology.MetricSpace.GromovHausdorff
{ "line": 404, "column": 8 }
{ "line": 404, "column": 61 }
{ "line": 405, "column": 2 }
[ { "pp": "case h₂\nx : GHSpace\ny : NonemptyCompacts ↥(lp (fun n ↦ ℝ) ∞)\nhy : ⟦y⟧ = x\n⊢ ∀ b ∈ (fun p ↦ hausdorffDist ↑p.1 ↑p.2) '' {a | ⟦a⟧ = x} ×ˢ {b | ⟦b⟧ = x}, 0 ≤ b", "ppTerm": "?h₂", "assigned": true, "usedConstants": [ "GromovHausdorff.IsometryRel.setoid._proof_1", "Set.instSProd"...
[]
rintro b ⟨⟨u, v⟩, -, rfl⟩; exact hausdorffDist_nonneg
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.Separation.NotNormal
{ "line": 40, "column": 2 }
{ "line": 46, "column": 81 }
{ "line": 47, "column": 2 }
[ { "pp": "X : Type u\ninst✝² : TopologicalSpace X\ninst✝¹ : NormalSpace X\ns d : Set X\nhs : IsClosed s\ninst✝ : DiscreteTopology ↑s\nhd : Dense d\nh_closed : ∀ t ∈ 𝒫 s, IsClosed t\nU V : ↑(𝒫 s) → Set X\nhU : ∀ (t : ↑(𝒫 s)), IsOpen (U t)\nhV : ∀ (t : ↑(𝒫 s)), IsOpen (V t)\nhUs : ∀ (t : ↑(𝒫 s)), ↑t ⊆ U t\nhV...
[ "X : Type u\ninst✝² : TopologicalSpace X\ninst✝¹ : NormalSpace X\ns d : Set X\nhs : IsClosed s\ninst✝ : DiscreteTopology ↑s\nhd : Dense d\nh_closed : ∀ t ∈ 𝒫 s, IsClosed t\nU V : ↑(𝒫 s) → Set X\nhU : ∀ (t : ↑(𝒫 s)), IsOpen (U t)\nhV : ∀ (t : ↑(𝒫 s)), IsOpen (V t)\nhUs : ∀ (t : ↑(𝒫 s)), ↑t ⊆ U t\nhVs : ∀ (t : ↑...
have hUd {t₁ t₂} (h : U t₁ ∩ d = U t₂ ∩ d) : t₁.1 ⊆ t₂.1 := by by_contra ht rw [← sdiff_nonempty] at ht have hUVd := hd.inter_open_nonempty _ ((hU t₁).inter (hV t₂)) <| ht.mono <| subset_inter (sdiff_subset.trans (hUs t₁)) ((sdiff_subset_sdiff_left t₁.2).trans (hVs t₂)) rw [inter_right_comm, h] at...
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Topology.MetricSpace.GromovHausdorff
{ "line": 648, "column": 4 }
{ "line": 648, "column": 49 }
{ "line": 649, "column": 4 }
[ { "pp": "δ : ℝ\nδpos : δ > 0\nε : ℝ := 2 / 5 * δ\nεpos : 0 < ε\ns : (p : GHSpace) → Set p.Rep\nhs : ∀ (p : GHSpace), (s p).Finite ∧ univ ⊆ ⋃ x ∈ s p, ball x ε\nN : GHSpace → ℕ := fun p ↦ Nat.card ↑(s p)\nE : (p : GHSpace) → ↑(s p) ≃ Fin (Nat.card ↑(s p)) := fun p ↦ Finite.equivFin ↑(s p)\nF : GHSpace → (n : ℕ) ...
[ "case refine_1\nδ : ℝ\nδpos : δ > 0\nε : ℝ := 2 / 5 * δ\nεpos : 0 < ε\ns : (p : GHSpace) → Set p.Rep\nhs : ∀ (p : GHSpace), (s p).Finite ∧ univ ⊆ ⋃ x ∈ s p, ball x ε\nN : GHSpace → ℕ := fun p ↦ Nat.card ↑(s p)\nE : (p : GHSpace) → ↑(s p) ≃ Fin (Nat.card ↑(s p)) := fun p ↦ Finite.equivFin ↑(s p)\nF : GHSpace → (n : ...
refine ghDist_le_of_approx_subsets Φ ?_ ?_ ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Topology.Separation.PerfectlyNormal
{ "line": 34, "column": 4 }
{ "line": 69, "column": 36 }
{ "line": 70, "column": 2 }
[ { "pp": "X : Type u_1\ninst✝ : TopologicalSpace X\nh : PerfectlyNormalSpace X\ns : Set X\nhs : IsClosed[inst✝] s\n⊢ ∃ f, s = ⇑f ⁻¹' {0} ∧ ∀ (x : X), f x ∈ Icc 0 1", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Continuous.comp'", "Set.ext", "Real.instIsOrderedRing", ...
[]
obtain ⟨U, ho, hu⟩ := isGδ_iff_eq_iInter_nat.1 hs.isGδ have (n : ℕ) : Disjoint s (U n)ᶜ := by apply LE.le.disjoint_compl_right grw [hu, iInter_subset] -- for each `n`, construct a continuous function `f n` that separates `s` from `(U n)ᶜ` choose f hfs hfu hfr using fun n => exists_continuo...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Topology.Separation.PerfectlyNormal
{ "line": 34, "column": 4 }
{ "line": 69, "column": 36 }
{ "line": 70, "column": 2 }
[ { "pp": "X : Type u_1\ninst✝ : TopologicalSpace X\nh : PerfectlyNormalSpace X\ns : Set X\nhs : IsClosed[inst✝] s\n⊢ ∃ f, s = ⇑f ⁻¹' {0} ∧ ∀ (x : X), f x ∈ Icc 0 1", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Continuous.comp'", "Set.ext", "Real.instIsOrderedRing", ...
[]
obtain ⟨U, ho, hu⟩ := isGδ_iff_eq_iInter_nat.1 hs.isGδ have (n : ℕ) : Disjoint s (U n)ᶜ := by apply LE.le.disjoint_compl_right grw [hu, iInter_subset] -- for each `n`, construct a continuous function `f n` that separates `s` from `(U n)ᶜ` choose f hfs hfu hfr using fun n => exists_continuo...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.MetricSpace.GromovHausdorff
{ "line": 788, "column": 4 }
{ "line": 788, "column": 49 }
{ "line": 789, "column": 4 }
[ { "pp": "t : Set GHSpace\nC : ℝ\nu : ℕ → ℝ\nK : ℕ → ℕ\nulim : Tendsto u atTop (𝓝 0)\nhdiam : ∀ p ∈ t, diam univ ≤ C\nhcov : ∀ p ∈ t, ∀ (n : ℕ), ∃ s, #↑s ≤ ↑(K n) ∧ univ ⊆ ⋃ x ∈ s, ball x (u n)\nδ : ℝ\nδpos : δ > 0\nε : ℝ := 1 / 5 * δ\nεpos : 0 < ε\nn : ℕ\nhn : ∀ n_1 ≥ n, dist (u n_1) 0 < ε\nu_le_ε : u n ≤ ε\ns...
[ "case refine_1\nt : Set GHSpace\nC : ℝ\nu : ℕ → ℝ\nK : ℕ → ℕ\nulim : Tendsto u atTop (𝓝 0)\nhdiam : ∀ p ∈ t, diam univ ≤ C\nhcov : ∀ p ∈ t, ∀ (n : ℕ), ∃ s, #↑s ≤ ↑(K n) ∧ univ ⊆ ⋃ x ∈ s, ball x (u n)\nδ : ℝ\nδpos : δ > 0\nε : ℝ := 1 / 5 * δ\nεpos : 0 < ε\nn : ℕ\nhn : ∀ n_1 ≥ n, dist (u n_1) 0 < ε\nu_le_ε : u n ≤ ε...
refine ghDist_le_of_approx_subsets Φ ?_ ?_ ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Topology.Sheaves.Alexandrov
{ "line": 50, "column": 35 }
{ "line": 54, "column": 18 }
{ "line": 56, "column": 0 }
[ { "pp": "X : Type v\ninst✝² : TopologicalSpace X\ninst✝¹ : Preorder X\ninst✝ : Topology.IsUpperSet X\nx : X\nU : Opens X\n⊢ principalOpen x ≤ U ↔ x ∈ U", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "TopologicalSpace.Opens.instPartialOrder", "congrArg", "Topology.IsUpper...
[]
by refine ⟨fun h => h <| self_mem_principalOpen _, fun hx y hy => ?_⟩ have := U.isOpen rw [IsUpperSet.isOpen_iff_isUpperSet] at this exact this hy hx
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Topology.Sheaves.Skyscraper
{ "line": 64, "column": 38 }
{ "line": 64, "column": 64 }
{ "line": 64, "column": 64 }
[ { "pp": "X : TopCat\np₀ : ↑X\ninst✝² : (U : Opens ↑X) → Decidable (p₀ ∈ U)\nC : Type v\ninst✝¹ : Category.{w, v} C\ninst✝ : HasTerminal C\nA : C\nU V : (Opens ↑X)ᵒᵖ\ni : U ⟶ V\nh : p₀ ∈ unop V\n⊢ p₀ ∈ unop U", "ppTerm": "?m.112", "assigned": true, "usedConstants": [ "CategoryTheory.CategoryStr...
[]
by simpa using i.unop.le h
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Topology.Sheaves.Alexandrov
{ "line": 157, "column": 4 }
{ "line": 158, "column": 45 }
{ "line": 159, "column": 4 }
[ { "pp": "X✝ : Type v\ninst✝⁶ : TopologicalSpace X✝\ninst✝⁵ : Preorder X✝\ninst✝⁴ : Topology.IsUpperSet X✝\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasLimits C\nF✝ : X✝ ⥤ C\nX : TopCat\ninst✝¹ : Preorder ↑X\ninst✝ : Topology.IsUpperSet ↑X\nF : ↑X ⥤ C\nα : Type v\nUs : α → Opens ↑X\nS : Cone ((ObjectProp...
[ "X✝ : Type v\ninst✝⁶ : TopologicalSpace X✝\ninst✝⁵ : Preorder X✝\ninst✝⁴ : Topology.IsUpperSet X✝\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasLimits C\nF✝ : X✝ ⥤ C\nX : TopCat\ninst✝¹ : Preorder ↑X\ninst✝ : Topology.IsUpperSet ↑X\nF : ↑X ⥤ C\nα : Type v\nUs : α → Opens ↑X\nS : Cone ((ObjectProperty.ι fun V...
simp only [lowerCone_pt, comp_obj, limit.lift_π, lowerCone_π_app, const_obj_obj, projSup_obj, op_obj, pointwiseRightKanExtension_obj]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Topology.Sheaves.Alexandrov
{ "line": 171, "column": 2 }
{ "line": 171, "column": 9 }
{ "line": 171, "column": 10 }
[ { "pp": "C : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasLimits C\nX : TopCat\ninst✝¹ : Preorder ↑X\ninst✝ : Topology.IsUpperSet ↑X\nF : ↑X ⥤ C\n⊢ IsSheafOpensLeCover (principalsKanExtension F)", "ppTerm": "?m.25", "assigned": true, "usedConstants": [], "usedFVars": [], "usedGoals": [ ...
[ "C : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasLimits C\nX : TopCat\ninst✝¹ : Preorder ↑X\ninst✝ : Topology.IsUpperSet ↑X\nF : ↑X ⥤ C\nι : Type v\n⊢ ∀ (U : ι → Opens ↑X), Nonempty (IsLimit ((principalsKanExtension F).mapCone (opensLeCoverCocone U).op))" ]
intro ι
Lean.Elab.Tactic.evalIntro
null
Mathlib.Topology.Sheaves.Alexandrov
{ "line": 197, "column": 2 }
{ "line": 197, "column": 27 }
{ "line": 198, "column": 2 }
[ { "pp": "X : Type v\ninst✝⁵ : TopologicalSpace X\ninst✝⁴ : Preorder X\ninst✝³ : Topology.IsUpperSet X\nC : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : HasLimits C\nF : X ⥤ C\nP : (Opens X)ᵒᵖ ⥤ C\nη : principals X ⋙ P ⟶ F\ninst✝ : P.IsRightKanExtension η\nγ : principals X ⋙ principalsKanExtension F ⟶ F := (prin...
[ "X : Type v\ninst✝⁵ : TopologicalSpace X\ninst✝⁴ : Preorder X\ninst✝³ : Topology.IsUpperSet X\nC : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : HasLimits C\nF : X ⥤ C\nP : (Opens X)ᵒᵖ ⥤ C\nη : principals X ⋙ P ⟶ F\ninst✝ : P.IsRightKanExtension η\nγ : principals X ⋙ principalsKanExtension F ⟶ F := (principals X).po...
rw [isSheaf_iso_iff this]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Topology.Sheaves.Skyscraper
{ "line": 387, "column": 6 }
{ "line": 388, "column": 9 }
{ "line": 389, "column": 4 }
[ { "pp": "case pos\nX : TopCat\np₀ : ↑X\ninst✝³ : (U : Opens ↑X) → Decidable (p₀ ∈ U)\nC : Type v\ninst✝² : Category.{u, v} C\nA : C\ninst✝¹ : HasTerminal C\ninst✝ : HasColimits C\nY : C\nU✝ : Opens ↑X\nh : p₀ ∈ U✝\n⊢ ((skyscraperPresheaf p₀ Y).germ U✝ p₀ ⋯ ≫ eqToHom ⋯) ≫\n eqToHom ⋯ ≫\n (colimit.iso...
[]
simp [Presheaf.germ] rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Topology.Sheaves.Skyscraper
{ "line": 387, "column": 6 }
{ "line": 388, "column": 9 }
{ "line": 389, "column": 4 }
[ { "pp": "case pos\nX : TopCat\np₀ : ↑X\ninst✝³ : (U : Opens ↑X) → Decidable (p₀ ∈ U)\nC : Type v\ninst✝² : Category.{u, v} C\nA : C\ninst✝¹ : HasTerminal C\ninst✝ : HasColimits C\nY : C\nU✝ : Opens ↑X\nh : p₀ ∈ U✝\n⊢ ((skyscraperPresheaf p₀ Y).germ U✝ p₀ ⋯ ≫ eqToHom ⋯) ≫\n eqToHom ⋯ ≫\n (colimit.iso...
[]
simp [Presheaf.germ] rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.Sheaves.Flasque
{ "line": 165, "column": 10 }
{ "line": 167, "column": 15 }
{ "line": 168, "column": 10 }
[ { "pp": "X : TopCat\nU : Opens ↑X\nS : ShortComplex (Sheaf AddCommGrpCat X)\nhS : S.ShortExact\ninst✝ : S.X₁.IsFlasque\ns : ↑(S.X₃.obj.obj (op U))\nt : Under S.g s\nht : ∀ (a : Under S.g s), Nonempty (a ⟶ t) → Nonempty (t ⟶ a)\ntle : unop (StructuredArrow.right t).obj ≤ U\ntcomp :\n (s |_ unop (StructuredArrow...
[ "X : TopCat\nU : Opens ↑X\nS : ShortComplex (Sheaf AddCommGrpCat X)\nhS : S.ShortExact\ninst✝ : S.X₁.IsFlasque\ns : ↑(S.X₃.obj.obj (op U))\nt : Under S.g s\nht : ∀ (a : Under S.g s), Nonempty (a ⟶ t) → Nonempty (t ⟶ a)\ntle : unop (StructuredArrow.right t).obj ≤ U\ntcomp :\n (s |_ unop (StructuredArrow.right t).ob...
have : (S.f.hom.app (op W) ≫ S.g.hom.app (op W)) = 0 := by rw [← NatTrans.comp_app, ← ObjectProperty.FullSubcategory.comp_hom, S.zero] rfl
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Topology.MetricSpace.GromovHausdorffRealized
{ "line": 527, "column": 2 }
{ "line": 529, "column": 33 }
{ "line": 530, "column": 2 }
[ { "pp": "case refine_1\nX : Type u\nY : Type v\ninst✝⁵ : MetricSpace X\ninst✝⁴ : CompactSpace X\ninst✝³ : Nonempty X\ninst✝² : MetricSpace Y\ninst✝¹ : CompactSpace Y\ninst✝ : Nonempty Y\nf : Cb X Y\nh : f ∈ candidatesB X Y\nr : ℝ\nhr : HD (optimalGHDist X Y) < r\nA : ∀ x ∈ range (optimalGHInjl X Y), ∃ y ∈ range...
[ "case refine_2\nX : Type u\nY : Type v\ninst✝⁵ : MetricSpace X\ninst✝⁴ : CompactSpace X\ninst✝³ : Nonempty X\ninst✝² : MetricSpace Y\ninst✝¹ : CompactSpace Y\ninst✝ : Nonempty Y\nf : Cb X Y\nh : f ∈ candidatesB X Y\nr : ℝ\nhr : HD (optimalGHDist X Y) < r\nA : ∀ x ∈ range (optimalGHInjl X Y), ∃ y ∈ range (optimalGHI...
· inhabit X rcases A _ (mem_range_self default) with ⟨y, -, hy⟩ exact le_trans dist_nonneg hy
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Topology.Sion
{ "line": 250, "column": 2 }
{ "line": 252, "column": 44 }
{ "line": 253, "column": 2 }
[ { "pp": "E : Type u_1\nF : Type u_2\nβ : Type u_3\ninst✝¹¹ : LinearOrder β\nX : Set E\nY : Set F\nf : E → F → β\ninst✝¹⁰ : TopologicalSpace E\ninst✝⁹ : AddCommGroup E\ninst✝⁸ : Module ℝ E\ninst✝⁷ : IsTopologicalAddGroup E\ninst✝⁶ : ContinuousSMul ℝ E\nne_X : X.Nonempty\nkX : IsCompact X\nhfy : ∀ y ∈ Y, LowerSem...
[ "E : Type u_1\nF : Type u_2\nβ : Type u_3\ninst✝¹¹ : LinearOrder β\nX : Set E\nY : Set F\nf : E → F → β\ninst✝¹⁰ : TopologicalSpace E\ninst✝⁹ : AddCommGroup E\ninst✝⁸ : Module ℝ E\ninst✝⁷ : IsTopologicalAddGroup E\ninst✝⁶ : ContinuousSMul ℝ E\nne_X : X.Nonempty\nkX : IsCompact X\nhfy : ∀ y ∈ Y, LowerSemicontinuousO...
have mem_J1_iff (z : segment ℝ (y1 : F) y2) : z ∈ J1 ↔ sublevelLeft X f t z ⊆ sublevelLeft X f t' y1 := by simp [J1, setOfPred_sublevelLeft_subset]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Topology.Spectral.ConstructibleTopology
{ "line": 198, "column": 4 }
{ "line": 198, "column": 48 }
{ "line": 199, "column": 4 }
[ { "pp": "case pos\nX : Type u_1\ninst✝⁴ : TopologicalSpace X\ninst✝³ : CompactSpace X\ninst✝² : QuasiSober X\ninst✝¹ : PrespectralSpace X\ninst✝ : QuasiSeparatedSpace X\n𝔅 : Set (Set X) := constructibleTopologySubbasis X\n𝒮 : Set (Set (Set X)) := {P | P ⊆ 𝔅 ∧ (∀ Q ⊆ P, Q.Finite → (⋂₀ Q).Nonempty) ∧ ⋂₀ P = ∅}...
[ "case neg\nX : Type u_1\ninst✝⁴ : TopologicalSpace X\ninst✝³ : CompactSpace X\ninst✝² : QuasiSober X\ninst✝¹ : PrespectralSpace X\ninst✝ : QuasiSeparatedSpace X\n𝔅 : Set (Set X) := constructibleTopologySubbasis X\n𝒮 : Set (Set (Set X)) := {P | P ⊆ 𝔅 ∧ (∀ Q ⊆ P, Q.Finite → (⋂₀ Q).Nonempty) ∧ ⋂₀ P = ∅}\ns : Set (S...
· exact Set.sInter_subset_of_mem hiB' hη.mem
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Topology.UniformSpace.Dini
{ "line": 81, "column": 6 }
{ "line": 81, "column": 68 }
{ "line": 81, "column": 68 }
[ { "pp": "ι : Type u_1\nα : Type u_2\nG : Type u_3\ninst✝⁵ : Preorder ι\ninst✝⁴ : TopologicalSpace α\ninst✝³ : NormedAddCommGroup G\ninst✝² : Lattice G\ninst✝¹ : HasSolidNorm G\ninst✝ : IsOrderedAddMonoid G\nF : ι → α → G\nf : α → G\ns : Set α\nhF_cont : ∀ (i : ι), ContinuousOn (F i) s\nhF_mono : ∀ x ∈ s, Monoto...
[ "ι : Type u_1\nα : Type u_2\nG : Type u_3\ninst✝⁵ : Preorder ι\ninst✝⁴ : TopologicalSpace α\ninst✝³ : NormedAddCommGroup G\ninst✝² : Lattice G\ninst✝¹ : HasSolidNorm G\ninst✝ : IsOrderedAddMonoid G\nF : ι → α → G\nf : α → G\ns : Set α\nhF_cont : ∀ (i : ι), ContinuousOn (F i) s\nhF_mono : ∀ x ∈ s, Monotone fun x_1 ↦...
tendstoLocallyUniformlyOn_iff_tendstoLocallyUniformly_comp_coe
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Topology.UniformSpace.OfCompactT2
{ "line": 91, "column": 8 }
{ "line": 91, "column": 17 }
{ "line": 93, "column": 4 }
[ { "pp": "case refine_2.refl\nγ : Type u_1\ninst✝² : TopologicalSpace γ\ninst✝¹ : CompactSpace γ\ninst✝ : R1Space γ\n𝓝Δ : Filter (γ × γ) := 𝓝ˢ (diagonal γ)\nF : Filter (γ × γ) := 𝓝Δ.lift' fun s ↦ s ○ s\nV : Set (γ × γ)\nV_in : V ∈ 𝓝Δ\nH : ¬F ⊓ 𝓟 Vᶜ = ⊥\nthis : (F ⊓ 𝓟 Vᶜ).NeBot\nx y : γ\nhxy : ClusterPt (x,...
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Topology.UniformSpace.OfCompactT2
{ "line": 101, "column": 4 }
{ "line": 101, "column": 13 }
{ "line": 102, "column": 2 }
[ { "pp": "γ : Type u_1\ninst✝² : TopologicalSpace γ\ninst✝¹ : CompactSpace γ\ninst✝ : R1Space γ\n𝓝Δ : Filter (γ × γ) := 𝓝ˢ (diagonal γ)\nF : Filter (γ × γ) := 𝓝Δ.lift' fun s ↦ s ○ s\nV : Set (γ × γ)\nV_in : V ∈ 𝓝Δ\nH : ¬F ⊓ 𝓟 Vᶜ = ⊥\nthis✝ : (F ⊓ 𝓟 Vᶜ).NeBot\nx y : γ\nhxy : ClusterPt (x, y) (F ⊓ 𝓟 Vᶜ)\ncl...
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Topology.Sion
{ "line": 470, "column": 2 }
{ "line": 470, "column": 18 }
{ "line": 471, "column": 2 }
[ { "pp": "E : Type u_1\nF : Type u_2\nβ : Type u_3\ninst✝¹¹ : CompleteLinearOrder β\ninst✝¹⁰ : DenselyOrdered β\nX : Set E\nY : Set F\nf : E → F → β\ninst✝⁹ : TopologicalSpace E\ninst✝⁸ : AddCommGroup E\ninst✝⁷ : Module ℝ E\ninst✝⁶ : IsTopologicalAddGroup E\ninst✝⁵ : ContinuousSMul ℝ E\nne_X : X.Nonempty\ncX : C...
[ "case right\nE : Type u_1\nF : Type u_2\nβ : Type u_3\ninst✝¹¹ : CompleteLinearOrder β\ninst✝¹⁰ : DenselyOrdered β\nX : Set E\nY : Set F\nf : E → F → β\ninst✝⁹ : TopologicalSpace E\ninst✝⁸ : AddCommGroup E\ninst✝⁷ : Module ℝ E\ninst✝⁶ : IsTopologicalAddGroup E\ninst✝⁵ : ContinuousSMul ℝ E\nne_X : X.Nonempty\ncX : C...
use a, ha, b, hb
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.Topology.Sion
{ "line": 511, "column": 4 }
{ "line": 511, "column": 75 }
{ "line": 512, "column": 2 }
[ { "pp": "E : Type u_1\nF : Type u_2\nβ : Type u_3\ninst✝¹⁶ : LinearOrder β\nX : Set E\nY : Set F\nf : E → F → β\ninst✝¹⁵ : TopologicalSpace E\ninst✝¹⁴ : AddCommGroup E\ninst✝¹³ : Module ℝ E\ninst✝¹² : IsTopologicalAddGroup E\ninst✝¹¹ : ContinuousSMul ℝ E\nne_X : X.Nonempty\ncX : Convex ℝ X\nkX : IsCompact X\nhf...
[]
convert! Continuous.comp_upperSemicontinuousOn hι (hfx x hx) ι.monotone
Mathlib.Tactic._aux_Mathlib_Tactic_Convert___macroRules_Mathlib_Tactic_convert!_1
Mathlib.Tactic.convert!
Mathlib.Topology.Sion
{ "line": 520, "column": 2 }
{ "line": 520, "column": 18 }
{ "line": 521, "column": 2 }
[ { "pp": "E : Type u_1\nF : Type u_2\nβ : Type u_3\ninst✝¹⁶ : LinearOrder β\nX : Set E\nY : Set F\nf : E → F → β\ninst✝¹⁵ : TopologicalSpace E\ninst✝¹⁴ : AddCommGroup E\ninst✝¹³ : Module ℝ E\ninst✝¹² : IsTopologicalAddGroup E\ninst✝¹¹ : ContinuousSMul ℝ E\nne_X : X.Nonempty\ncX : Convex ℝ X\nkX : IsCompact X\nhf...
[ "case right\nE : Type u_1\nF : Type u_2\nβ : Type u_3\ninst✝¹⁶ : LinearOrder β\nX : Set E\nY : Set F\nf : E → F → β\ninst✝¹⁵ : TopologicalSpace E\ninst✝¹⁴ : AddCommGroup E\ninst✝¹³ : Module ℝ E\ninst✝¹² : IsTopologicalAddGroup E\ninst✝¹¹ : ContinuousSMul ℝ E\nne_X : X.Nonempty\ncX : Convex ℝ X\nkX : IsCompact X\nhf...
use a, ha, b, hb
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.Basic.Logic.Basic
{ "line": 34, "column": 71 }
{ "line": 34, "column": 85 }
{ "line": 34, "column": 85 }
[ { "pp": "α : Sort u_1\na b : α\n⊢ (a = b) = (b = a)", "ppTerm": "?m.4", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "id", "eq_comm", "propext", "Eq" ], "usedFVars": [ "α", "a", "b" ], "usedGoals": [ { ...
[ "α : Sort u_1\na b : α\n⊢ (b = a) = (b = a)" ]
@eq_comm _ a b
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Logic.Function.Basic
{ "line": 617, "column": 2 }
{ "line": 617, "column": 64 }
{ "line": 618, "column": 2 }
[ { "pp": "α : Sort u\nβ : Sort v\nγ : Sort w\ninst✝ : Nonempty α\ng : β → γ\n⊢ (Surjective fun x ↦ g ∘ x) ↔ Surjective g", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Function.Surjective.comp_left", "Nonempty.elim", "Function.comp", "Exists", "Iff.intro", ...
[ "α : Sort u\nβ : Sort v\nγ : Sort w\ninst✝ : Nonempty α\ng : β → γ\nh : Surjective fun x ↦ g ∘ x\nc : γ\na : α\n⊢ ∃ a, g a = c" ]
refine ⟨fun h c ↦ Nonempty.elim ‹_› fun a ↦ ?_, (·.comp_left)⟩
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Order.Basic
{ "line": 985, "column": 4 }
{ "line": 990, "column": 58 }
{ "line": 990, "column": 58 }
[ { "pp": "ι : Type u_1\nα : Type u_2\nβ : Type u_3\nπ : ι → Type u_4\ninst✝³ : Preorder α\ninst✝² : Preorder β\ninst✝¹ : DenselyOrdered α\ninst✝ : DenselyOrdered β\na b : α × β\n⊢ a < b → ∃ a_2, a < a_2 ∧ a_2 < b", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder...
[]
simp_rw [Prod.lt_iff] rintro (⟨h₁, h₂⟩ | ⟨h₁, h₂⟩) · obtain ⟨c, ha, hb⟩ := exists_between h₁ exact ⟨(c, _), Or.inl ⟨ha, h₂⟩, Or.inl ⟨hb, le_rfl⟩⟩ · obtain ⟨c, ha, hb⟩ := exists_between h₂ exact ⟨(_, c), Or.inr ⟨h₁, ha⟩, Or.inr ⟨le_rfl, hb⟩⟩
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Basic
{ "line": 985, "column": 4 }
{ "line": 990, "column": 58 }
{ "line": 990, "column": 58 }
[ { "pp": "ι : Type u_1\nα : Type u_2\nβ : Type u_3\nπ : ι → Type u_4\ninst✝³ : Preorder α\ninst✝² : Preorder β\ninst✝¹ : DenselyOrdered α\ninst✝ : DenselyOrdered β\na b : α × β\n⊢ a < b → ∃ a_2, a < a_2 ∧ a_2 < b", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder...
[]
simp_rw [Prod.lt_iff] rintro (⟨h₁, h₂⟩ | ⟨h₁, h₂⟩) · obtain ⟨c, ha, hb⟩ := exists_between h₁ exact ⟨(c, _), Or.inl ⟨ha, h₂⟩, Or.inl ⟨hb, le_rfl⟩⟩ · obtain ⟨c, ha, hb⟩ := exists_between h₂ exact ⟨(_, c), Or.inr ⟨h₁, ha⟩, Or.inr ⟨le_rfl, hb⟩⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.Monotone.Basic
{ "line": 476, "column": 2 }
{ "line": 476, "column": 32 }
{ "line": 477, "column": 2 }
[ { "pp": "α : Type u\nβ : Type v\ninst✝¹ : LinearOrder α\ninst✝ : LinearOrder β\nf : α → β\n⊢ ¬Monotone f ∧ ¬Antitone f ↔ ∃ a b c, a ≤ b ∧ b ≤ c ∧ (f a < f b ∧ f c < f b ∨ f b < f a ∧ f b < f c)", "ppTerm": "?m.35", "assigned": true, "usedConstants": [ "Preorder.toLT", "PartialOrder.toPre...
[ "α : Type u\nβ : Type v\ninst✝¹ : LinearOrder α\ninst✝ : LinearOrder β\nf : α → β\n⊢ ((¬∀ ⦃a b : α⦄, a ≤ b → f a ≤ f b) ∧ ¬∀ ⦃a b : α⦄, a ≤ b → f b ≤ f a) ↔\n ∃ a b c, a ≤ b ∧ b ≤ c ∧ (f a < f b ∧ f c < f b ∨ f b < f a ∧ f b < f c)" ]
simp only [Monotone, Antitone]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.Set.Basic
{ "line": 938, "column": 24 }
{ "line": 938, "column": 36 }
{ "line": 938, "column": 37 }
[ { "pp": "α : Type u\ns : Set α\np q : α → Prop\n⊢ (∀ (x : α), x ∈ {x | x ∈ s ∧ p x} ↔ x ∈ {x | x ∈ s ∧ q x}) ↔ ∀ (x : α), x ∈ s → (p x ↔ q x)", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.ofPred", "Set.mem_sep_iff._simp_1", "Member...
[ "α : Type u\ns : Set α\np q : α → Prop\n⊢ (∀ (x : α), x ∈ s ∧ p x ↔ x ∈ s ∧ q x) ↔ ∀ (x : α), x ∈ s → (p x ↔ q x)" ]
mem_sep_iff,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Data.Set.Basic
{ "line": 954, "column": 24 }
{ "line": 954, "column": 36 }
{ "line": 954, "column": 37 }
[ { "pp": "α : Type u\ns : Set α\np : α → Prop\n⊢ (∀ (x : α), x ∈ {x | x ∈ s ∧ p x} ↔ x ∈ s) ↔ ∀ (x : α), x ∈ s → p x", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.ofPred", "Set.mem_sep_iff._simp_1", "Membership.mem", "id", ...
[ "α : Type u\ns : Set α\np : α → Prop\n⊢ (∀ (x : α), x ∈ s ∧ p x ↔ x ∈ s) ↔ ∀ (x : α), x ∈ s → p x" ]
mem_sep_iff,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Data.Set.Basic
{ "line": 958, "column": 24 }
{ "line": 958, "column": 36 }
{ "line": 958, "column": 37 }
[ { "pp": "α : Type u\ns : Set α\np : α → Prop\n⊢ (∀ (x : α), x ∈ {x | x ∈ s ∧ p x} ↔ x ∈ ∅) ↔ ∀ (x : α), x ∈ s → ¬p x", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.ofPred", "Set.mem_sep_iff._simp_1", "Membership.mem", "id", ...
[ "α : Type u\ns : Set α\np : α → Prop\n⊢ (∀ (x : α), x ∈ s ∧ p x ↔ x ∈ ∅) ↔ ∀ (x : α), x ∈ s → ¬p x" ]
mem_sep_iff,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Data.Set.Subsingleton
{ "line": 131, "column": 2 }
{ "line": 131, "column": 25 }
{ "line": 132, "column": 2 }
[ { "pp": "α : Type u\na : α\ns✝ t : Set α\ninst✝ : Subsingleton α\ns : Set α\n⊢ Subsingleton ↑s", "ppTerm": "?m.1", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.Elem", "id", "Set.Subsingleton", "propext", "Set.subsingleton_coe", "Subs...
[ "α : Type u\na : α\ns✝ t : Set α\ninst✝ : Subsingleton α\ns : Set α\n⊢ s.Subsingleton" ]
rw [s.subsingleton_coe]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Order.GaloisConnection.Defs
{ "line": 122, "column": 4 }
{ "line": 122, "column": 16 }
{ "line": 123, "column": 4 }
[ { "pp": "case mp\nα : Type u\nβ : Type v\ninst✝¹ : PartialOrder α\ninst✝ : Preorder β\nl : α → β\nu : β → α\ngc : GaloisConnection l u\nz : α\ny : β\n⊢ u y = z → ∀ (x : α), x ≤ z ↔ l x ≤ y", "ppTerm": "?mp", "assigned": true, "usedConstants": [ "PartialOrder.toPreorder", "Preorder.toLE",...
[ "case mp\nα : Type u\nβ : Type v\ninst✝¹ : PartialOrder α\ninst✝ : Preorder β\nl : α → β\nu : β → α\ngc : GaloisConnection l u\ny : β\nx : α\n⊢ x ≤ u y ↔ l x ≤ y" ]
rintro rfl x
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRIntro
Lean.Parser.Tactic.rintro
Mathlib.Data.Set.Insert
{ "line": 251, "column": 2 }
{ "line": 251, "column": 43 }
{ "line": 253, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set α\na : α\n⊢ s ∩ {a} = ∅ ↔ ¬a ∈ s", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.singleton_inter_eq_empty", "Iff.rfl", "Membership.mem", "Set.instSingletonSet", "id", "Set.inter_comm",...
[]
rw [inter_comm, singleton_inter_eq_empty]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Set.Insert
{ "line": 251, "column": 2 }
{ "line": 251, "column": 43 }
{ "line": 253, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set α\na : α\n⊢ s ∩ {a} = ∅ ↔ ¬a ∈ s", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.singleton_inter_eq_empty", "Iff.rfl", "Membership.mem", "Set.instSingletonSet", "id", "Set.inter_comm",...
[]
rw [inter_comm, singleton_inter_eq_empty]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Set.Insert
{ "line": 251, "column": 2 }
{ "line": 251, "column": 43 }
{ "line": 253, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set α\na : α\n⊢ s ∩ {a} = ∅ ↔ ¬a ∈ s", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.singleton_inter_eq_empty", "Iff.rfl", "Membership.mem", "Set.instSingletonSet", "id", "Set.inter_comm",...
[]
rw [inter_comm, singleton_inter_eq_empty]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Option.Basic
{ "line": 108, "column": 62 }
{ "line": 108, "column": 88 }
{ "line": 110, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\nδ : Type u_4\nf₁ : α → β\nf₂ : α → γ\ng₁ : β → δ\ng₂ : γ → δ\nh : g₁ ∘ f₁ = g₂ ∘ f₂\na : α\n⊢ Option.map g₁ (Option.map f₁ (some a)) = Option.map g₂ (Option.map f₂ (some a))", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
rw [map_map, h, ← map_map]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Option.Basic
{ "line": 108, "column": 62 }
{ "line": 108, "column": 88 }
{ "line": 110, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\nδ : Type u_4\nf₁ : α → β\nf₂ : α → γ\ng₁ : β → δ\ng₂ : γ → δ\nh : g₁ ∘ f₁ = g₂ ∘ f₂\na : α\n⊢ Option.map g₁ (Option.map f₁ (some a)) = Option.map g₂ (Option.map f₂ (some a))", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
rw [map_map, h, ← map_map]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Option.Basic
{ "line": 108, "column": 62 }
{ "line": 108, "column": 88 }
{ "line": 110, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\nδ : Type u_4\nf₁ : α → β\nf₂ : α → γ\ng₁ : β → δ\ng₂ : γ → δ\nh : g₁ ∘ f₁ = g₂ ∘ f₂\na : α\n⊢ Option.map g₁ (Option.map f₁ (some a)) = Option.map g₂ (Option.map f₂ (some a))", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
rw [map_map, h, ← map_map]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.Heyting.Basic
{ "line": 581, "column": 2 }
{ "line": 581, "column": 62 }
{ "line": 583, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝ : HeytingAlgebra α\na b : α\n⊢ a ≤ bᶜ ↔ b ≤ aᶜ", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Compl.compl", "Iff.rfl", "PartialOrder.toPreorder", "Preorder.toLE", "Disjoint", "SemilatticeInf...
[]
rw [le_compl_iff_disjoint_right, le_compl_iff_disjoint_left]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Order.Heyting.Basic
{ "line": 581, "column": 2 }
{ "line": 581, "column": 62 }
{ "line": 583, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝ : HeytingAlgebra α\na b : α\n⊢ a ≤ bᶜ ↔ b ≤ aᶜ", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Compl.compl", "Iff.rfl", "PartialOrder.toPreorder", "Preorder.toLE", "Disjoint", "SemilatticeInf...
[]
rw [le_compl_iff_disjoint_right, le_compl_iff_disjoint_left]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Heyting.Basic
{ "line": 581, "column": 2 }
{ "line": 581, "column": 62 }
{ "line": 583, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝ : HeytingAlgebra α\na b : α\n⊢ a ≤ bᶜ ↔ b ≤ aᶜ", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Compl.compl", "Iff.rfl", "PartialOrder.toPreorder", "Preorder.toLE", "Disjoint", "SemilatticeInf...
[]
rw [le_compl_iff_disjoint_right, le_compl_iff_disjoint_left]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.BooleanAlgebra.Set
{ "line": 510, "column": 6 }
{ "line": 510, "column": 34 }
{ "line": 510, "column": 34 }
[ { "pp": "α : Type u_1\nx : α\ns : Set α\n⊢ s ⊆ insert x (s \\ {x})", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.sdiff_singleton_subset_iff", "Set.instSingletonSet", "id", "Insert.insert", "LE.le", "SDiff.sdiff", ...
[ "α : Type u_1\nx : α\ns : Set α\n⊢ s \\ {x} ⊆ s \\ {x}" ]
← sdiff_singleton_subset_iff
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.BooleanAlgebra.Set
{ "line": 632, "column": 42 }
{ "line": 632, "column": 59 }
{ "line": 632, "column": 60 }
[ { "pp": "α : Type u_1\nt s s' : Set α\n⊢ s ∩ t ∩ t ∪ s' \\ t ∩ t = s ∩ t", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.instMax", "Set.sdiff_inter_self", "congrArg", "id", "SDiff.sdiff", "Max.max", "Set.instEmptyCollection", ...
[ "α : Type u_1\nt s s' : Set α\n⊢ s ∩ t ∩ t ∪ ∅ = s ∩ t" ]
sdiff_inter_self,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.BooleanAlgebra.Basic
{ "line": 300, "column": 59 }
{ "line": 300, "column": 94 }
{ "line": 302, "column": 0 }
[ { "pp": "α : Type u\nx y z : α\ninst✝ : GeneralizedBooleanAlgebra α\n⊢ (x \\ y) \\ z = x \\ y ⊓ x \\ z", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemilatticeSup", "congrArg", "sdiff_sup", "SemilatticeSup.toMax", "id", "Sem...
[]
by rw [sdiff_sdiff_left, sdiff_sup]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.BooleanAlgebra.Basic
{ "line": 331, "column": 10 }
{ "line": 331, "column": 100 }
{ "line": 332, "column": 6 }
[ { "pp": "α : Type u\nx y z : α\ninst✝ : GeneralizedBooleanAlgebra α\n⊢ x ⊓ y ⊓ z ⊔ x \\ z ⊓ y \\ z = (x ⊓ y ⊓ (z ⊔ x) ⊔ x \\ z) ⊓ (x ⊓ y ⊓ z ⊔ y \\ z)", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemilatticeSup", "congrArg", "SemilatticeSup.t...
[]
rw [sup_inf_left, sup_inf_right, sup_sdiff_self_right, inf_sup_right, inf_sdiff_sup_right]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Order.BooleanAlgebra.Basic
{ "line": 331, "column": 10 }
{ "line": 331, "column": 100 }
{ "line": 332, "column": 6 }
[ { "pp": "α : Type u\nx y z : α\ninst✝ : GeneralizedBooleanAlgebra α\n⊢ x ⊓ y ⊓ z ⊔ x \\ z ⊓ y \\ z = (x ⊓ y ⊓ (z ⊔ x) ⊔ x \\ z) ⊓ (x ⊓ y ⊓ z ⊔ y \\ z)", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemilatticeSup", "congrArg", "SemilatticeSup.t...
[]
rw [sup_inf_left, sup_inf_right, sup_sdiff_self_right, inf_sup_right, inf_sdiff_sup_right]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.BooleanAlgebra.Basic
{ "line": 331, "column": 10 }
{ "line": 331, "column": 100 }
{ "line": 332, "column": 6 }
[ { "pp": "α : Type u\nx y z : α\ninst✝ : GeneralizedBooleanAlgebra α\n⊢ x ⊓ y ⊓ z ⊔ x \\ z ⊓ y \\ z = (x ⊓ y ⊓ (z ⊔ x) ⊔ x \\ z) ⊓ (x ⊓ y ⊓ z ⊔ y \\ z)", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemilatticeSup", "congrArg", "SemilatticeSup.t...
[]
rw [sup_inf_left, sup_inf_right, sup_sdiff_self_right, inf_sup_right, inf_sdiff_sup_right]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.SymmDiff
{ "line": 158, "column": 6 }
{ "line": 158, "column": 20 }
{ "line": 158, "column": 20 }
[ { "pp": "α : Type u_2\ninst✝ : GeneralizedCoheytingAlgebra α\na b : α\n⊢ a ∆ b \\ (a ⊓ b) = a ∆ b", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemilatticeSup", "congrArg", "SemilatticeSup.toMax", "id", "SemilatticeInf.toMin", ...
[ "α : Type u_2\ninst✝ : GeneralizedCoheytingAlgebra α\na b : α\n⊢ a \\ (b ⊔ a ⊓ b) ⊔ b \\ (a ⊔ a ⊓ b) = a ∆ b" ]
symmDiff_sdiff
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.SymmDiff
{ "line": 310, "column": 53 }
{ "line": 310, "column": 67 }
{ "line": 310, "column": 67 }
[ { "pp": "α : Type u_2\ninst✝ : GeneralizedBooleanAlgebra α\na b c : α\n⊢ a ∆ b \\ c ⊔ (c \\ (a ⊔ b) ⊔ c ⊓ a ⊓ b) = a \\ (b ⊔ c) ⊔ b \\ (a ⊔ c) ⊔ (c \\ (a ⊔ b) ⊔ c ⊓ a ⊓ b)", "ppTerm": "?m.121", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemilatticeSup", "congrArg", ...
[ "α : Type u_2\ninst✝ : GeneralizedBooleanAlgebra α\na b c : α\n⊢ a \\ (b ⊔ c) ⊔ b \\ (a ⊔ c) ⊔ (c \\ (a ⊔ b) ⊔ c ⊓ a ⊓ b) = a \\ (b ⊔ c) ⊔ b \\ (a ⊔ c) ⊔ (c \\ (a ⊔ b) ⊔ c ⊓ a ⊓ b)" ]
symmDiff_sdiff
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.SymmDiff
{ "line": 318, "column": 53 }
{ "line": 318, "column": 67 }
{ "line": 318, "column": 67 }
[ { "pp": "α : Type u_2\ninst✝ : GeneralizedBooleanAlgebra α\na b c : α\n⊢ a \\ (b ⊔ c) ⊔ a ⊓ b ⊓ c ⊔ b ∆ c \\ a = a \\ (b ⊔ c) ⊔ a ⊓ b ⊓ c ⊔ (b \\ (c ⊔ a) ⊔ c \\ (b ⊔ a))", "ppTerm": "?m.121", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemilatticeSup", "congrArg", ...
[ "α : Type u_2\ninst✝ : GeneralizedBooleanAlgebra α\na b c : α\n⊢ a \\ (b ⊔ c) ⊔ a ⊓ b ⊓ c ⊔ (b \\ (c ⊔ a) ⊔ c \\ (b ⊔ a)) = a \\ (b ⊔ c) ⊔ a ⊓ b ⊓ c ⊔ (b \\ (c ⊔ a) ⊔ c \\ (b ⊔ a))" ]
symmDiff_sdiff
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Logic.Equiv.Basic
{ "line": 279, "column": 67 }
{ "line": 281, "column": 5 }
{ "line": 284, "column": 0 }
[ { "pp": "α : Sort u_1\np : α → Prop\nh : ∀ (a : α), p a ↔ p ((Equiv.refl α) a)\n⊢ (Equiv.refl α).subtypeEquiv h = Equiv.refl { a // p a }", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Equiv.instEquivLike", "Equiv.subtypeEquiv", "Subtype", "Equiv.Perm", "Eq....
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Set.Image
{ "line": 449, "column": 2 }
{ "line": 450, "column": 48 }
{ "line": 451, "column": 2 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nf : α → β\n⊢ Surjective (preimage f) ↔ Injective f", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.ofPred", "Function.comp", "Membership.mem", "id", "Function.Surjective.of_comp_iff'", ...
[ "α : Type u_1\nβ : Type u_2\nf : α → β\n⊢ Surjective ((fun s x ↦ x ∈ s) ∘ preimage f ∘ ofPred) ↔ Injective f" ]
rw [← Surjective.of_comp_iff _ Set.ofPred_bijective.surjective, ← Surjective.of_comp_iff' Set.mem_bijective]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Set.Image
{ "line": 461, "column": 39 }
{ "line": 461, "column": 86 }
{ "line": 463, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nf : α → β\ns : Set α\nt : Set β\n⊢ f '' (f ⁻¹' t ∩ s) = t ∩ f '' s", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "congrArg", "Set.image_inter_preimage", "Set.inter_comm", "Set.preimage", "True", "eq_self", "of...
[]
by simp only [inter_comm, image_inter_preimage]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Set.Piecewise
{ "line": 46, "column": 78 }
{ "line": 52, "column": 40 }
{ "line": 54, "column": 0 }
[ { "pp": "α : Type u_1\nδ : α → Sort u_6\ns : Set α\nf g : (i : α) → δ i\ninst✝² : (j : α) → Decidable (j ∈ s)\ninst✝¹ : DecidableEq α\nj : α\ninst✝ : (i : α) → Decidable (i ∈ insert j s)\n⊢ (insert j s).piecewise f g = update (s.piecewise f g) j (f j)", "ppTerm": "?m.27", "assigned": true, "usedCons...
[]
by simp +unfoldPartialApp only [piecewise, mem_insert_iff] ext i by_cases h : i = j · rw [h] simp · by_cases h' : i ∈ s <;> simp [h, h']
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Set.Function
{ "line": 386, "column": 35 }
{ "line": 387, "column": 87 }
{ "line": 390, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\ns s₁ s₂ : Set α\nf : α → β\nh : InjOn f s\nh₁ : s₁ ⊆ s\nh₂ : s₂ ⊆ s\n⊢ f '' s₁ ⊂ f '' s₂ ↔ s₁ ⊂ s₂", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder.toLT", "congrArg", "PartialOrder.toPreorder", "Semilatti...
[]
by simp_rw [ssubset_def, h.image_subset_image_iff h₁ h₂, h.image_subset_image_iff h₂ h₁]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Set.Prod
{ "line": 313, "column": 2 }
{ "line": 315, "column": 27 }
{ "line": 317, "column": 0 }
[ { "pp": "case inr.refine_3\nα : Type u_1\nβ : Type u_2\ns s₁ : Set α\nt t₁ : Set β\nh : (s ×ˢ t).Nonempty\nst : s.Nonempty ∧ t.Nonempty\n⊢ s ⊆ s₁ ∧ t ⊆ t₁ ∨ s = ∅ ∨ t = ∅ → s ×ˢ t ⊆ s₁ ×ˢ t₁", "ppTerm": "?inr.refine_3", "assigned": true, "usedConstants": [ "False", "eq_false", "con...
[]
· intro H simp only [st.1.ne_empty, st.2.ne_empty, or_false] at H exact prod_mono H.1 H.2
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Data.Set.Image
{ "line": 1330, "column": 35 }
{ "line": 1330, "column": 82 }
{ "line": 1332, "column": 0 }
[ { "pp": "α : Type u\nβ : Type v\nf : α → β\nhf : Bijective f\ns : Set β\nt : Set α\n⊢ f ⁻¹' s = t ↔ s = f '' t", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Iff.rfl", "id", "Set.image_eq_image", "Iff", "And.right", "S...
[]
rw [← image_eq_image hf.1, hf.2.image_preimage]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Set.Image
{ "line": 1330, "column": 35 }
{ "line": 1330, "column": 82 }
{ "line": 1332, "column": 0 }
[ { "pp": "α : Type u\nβ : Type v\nf : α → β\nhf : Bijective f\ns : Set β\nt : Set α\n⊢ f ⁻¹' s = t ↔ s = f '' t", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Iff.rfl", "id", "Set.image_eq_image", "Iff", "And.right", "S...
[]
rw [← image_eq_image hf.1, hf.2.image_preimage]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Set.Image
{ "line": 1330, "column": 35 }
{ "line": 1330, "column": 82 }
{ "line": 1332, "column": 0 }
[ { "pp": "α : Type u\nβ : Type v\nf : α → β\nhf : Bijective f\ns : Set β\nt : Set α\n⊢ f ⁻¹' s = t ↔ s = f '' t", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Iff.rfl", "id", "Set.image_eq_image", "Iff", "And.right", "S...
[]
rw [← image_eq_image hf.1, hf.2.image_preimage]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Set.Image
{ "line": 1333, "column": 35 }
{ "line": 1333, "column": 82 }
{ "line": 1335, "column": 0 }
[ { "pp": "α : Type u\nβ : Type v\nf : α → β\nhf : Bijective f\ns : Set α\nt : Set β\n⊢ s = f ⁻¹' t ↔ f '' s = t", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Iff.rfl", "id", "Set.image_eq_image", "Iff", "And.right", "S...
[]
rw [← image_eq_image hf.1, hf.2.image_preimage]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Set.Image
{ "line": 1333, "column": 35 }
{ "line": 1333, "column": 82 }
{ "line": 1335, "column": 0 }
[ { "pp": "α : Type u\nβ : Type v\nf : α → β\nhf : Bijective f\ns : Set α\nt : Set β\n⊢ s = f ⁻¹' t ↔ f '' s = t", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Iff.rfl", "id", "Set.image_eq_image", "Iff", "And.right", "S...
[]
rw [← image_eq_image hf.1, hf.2.image_preimage]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Set.Image
{ "line": 1333, "column": 35 }
{ "line": 1333, "column": 82 }
{ "line": 1335, "column": 0 }
[ { "pp": "α : Type u\nβ : Type v\nf : α → β\nhf : Bijective f\ns : Set α\nt : Set β\n⊢ s = f ⁻¹' t ↔ f '' s = t", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Iff.rfl", "id", "Set.image_eq_image", "Iff", "And.right", "S...
[]
rw [← image_eq_image hf.1, hf.2.image_preimage]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Group.Hom.Defs
{ "line": 489, "column": 18 }
{ "line": 489, "column": 58 }
{ "line": 490, "column": 2 }
[ { "pp": "G : Type u_7\nH : Type u_8\nF : Type u_9\ninst✝³ : FunLike F G H\ninst✝² : DivInvMonoid G\ninst✝¹ : DivInvMonoid H\ninst✝ : MonoidHomClass F G H\nf : F\nhf : ∀ (x : G), f x⁻¹ = (f x)⁻¹\na : G\nn : ℕ\n⊢ f (a ^ ↑n) = f a ^ ↑n", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "zp...
[]
rw [zpow_natCast, map_pow, zpow_natCast]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Algebra.Group.Hom.Defs
{ "line": 489, "column": 18 }
{ "line": 489, "column": 58 }
{ "line": 490, "column": 2 }
[ { "pp": "G : Type u_7\nH : Type u_8\nF : Type u_9\ninst✝³ : FunLike F G H\ninst✝² : DivInvMonoid G\ninst✝¹ : DivInvMonoid H\ninst✝ : MonoidHomClass F G H\nf : F\nhf : ∀ (x : G), f x⁻¹ = (f x)⁻¹\na : G\nn : ℕ\n⊢ f (a ^ ↑n) = f a ^ ↑n", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "zp...
[]
rw [zpow_natCast, map_pow, zpow_natCast]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Group.Hom.Defs
{ "line": 489, "column": 18 }
{ "line": 489, "column": 58 }
{ "line": 490, "column": 2 }
[ { "pp": "G : Type u_7\nH : Type u_8\nF : Type u_9\ninst✝³ : FunLike F G H\ninst✝² : DivInvMonoid G\ninst✝¹ : DivInvMonoid H\ninst✝ : MonoidHomClass F G H\nf : F\nhf : ∀ (x : G), f x⁻¹ = (f x)⁻¹\na : G\nn : ℕ\n⊢ f (a ^ ↑n) = f a ^ ↑n", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "zp...
[]
rw [zpow_natCast, map_pow, zpow_natCast]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Group.Units.Defs
{ "line": 451, "column": 62 }
{ "line": 451, "column": 67 }
{ "line": 451, "column": 68 }
[ { "pp": "M : Type u_1\ninst✝ : Monoid M\na : M\nu : Mˣ\nx✝ : IsUnit (a * ↑u)\nv : Mˣ\nhv : ↑v = a * ↑u\n⊢ ↑(v * u⁻¹) = a * ↑u * ↑u⁻¹", "ppTerm": "?m.63", "assigned": true, "usedConstants": [ "Units.val", "Eq.mpr", "HMul.hMul", "Monoid.toMulOneClass", "congrArg", "...
[ "M : Type u_1\ninst✝ : Monoid M\na : M\nu : Mˣ\nx✝ : IsUnit (a * ↑u)\nv : Mˣ\nhv : ↑v = a * ↑u\n⊢ ↑(v * u⁻¹) = ↑v * ↑u⁻¹" ]
← hv,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Group.Units.Defs
{ "line": 462, "column": 64 }
{ "line": 462, "column": 69 }
{ "line": 462, "column": 70 }
[ { "pp": "M : Type u_2\ninst✝ : Monoid M\nu : Mˣ\na : M\nx✝ : IsUnit (↑u * a)\nv : Mˣ\nhv : ↑v = ↑u * a\n⊢ ↑(u⁻¹ * v) = ↑u⁻¹ * (↑u * a)", "ppTerm": "?m.64", "assigned": true, "usedConstants": [ "Units.val", "Eq.mpr", "HMul.hMul", "Monoid.toMulOneClass", "congrArg", ...
[ "M : Type u_2\ninst✝ : Monoid M\nu : Mˣ\na : M\nx✝ : IsUnit (↑u * a)\nv : Mˣ\nhv : ↑v = ↑u * a\n⊢ ↑(u⁻¹ * v) = ↑u⁻¹ * ↑v" ]
← hv,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Group.Units.Defs
{ "line": 613, "column": 82 }
{ "line": 614, "column": 39 }
{ "line": 616, "column": 0 }
[ { "pp": "α : Type u\ninst✝ : DivisionCommMonoid α\na : α\nh : IsUnit a\nb : α\n⊢ a / (a * b) = b⁻¹", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Eq.mpr", "DivInvMonoid.toInv", "instHDiv", "HMul.hMul", "DivisionCommMonoid.toDivisionMonoid", "CommMonoid...
[]
by rw [mul_comm, h.div_mul_cancel_right]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.GroupWithZero.Basic
{ "line": 451, "column": 60 }
{ "line": 452, "column": 42 }
{ "line": 454, "column": 0 }
[ { "pp": "G₀ : Type u_2\ninst✝ : GroupWithZero G₀\na : G₀\nh : a ≠ 0\n⊢ 1 / a ≠ 0", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Eq.mpr", "GroupWithZero.toMonoidWithZero", "DivInvMonoid.toInv", "instHDiv", "GroupWithZero.toDivisionMonoid", "InvOneClass....
[]
by simpa only [one_div] using inv_ne_zero h
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Group.Int.Defs
{ "line": 49, "column": 21 }
{ "line": 50, "column": 92 }
{ "line": 51, "column": 2 }
[ { "pp": "m : ℕ\nn : ℤ\n⊢ ↑m.succ • n = ↑m • n + n", "ppTerm": "?m.57", "assigned": true, "usedConstants": [ "instHSMul", "HMul.hMul", "congrArg", "ZSMul.mk", "Int.one_mul", "Int", "Int.add_comm", "Nat.cast", "Int.instMul", "ZSMul.toSMul", ...
[]
by simp only [HSMul.hSMul, SMul.smul, natCast_succ, Int.add_mul, Int.add_comm, Int.one_mul]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Int.Basic
{ "line": 45, "column": 90 }
{ "line": 45, "column": 98 }
{ "line": 46, "column": 2 }
[ { "pp": "case refine_1\nm n✝ : ℤ\nP : ℤ → Sort u_1\nlt : (n : ℤ) → n < m → P n\nge : (n : ℤ) → n ≥ m → ((k : ℤ) → k < n → P k) → P n\nn : ℤ\nx✝¹ : n ≥ m\nhn : m ≤ n\nx✝ : ∀ (k : ℤ), k < m → ∀ (hn : m ≤ k), Int.strongRec lt ge k = ge k hn fun k_1 x ↦ Int.strongRec lt ge k_1\n⊢ (Int.inductionOn' (motive := fun x ...
[ "case refine_1\nm n✝ : ℤ\nP : ℤ → Sort u_1\nlt : (n : ℤ) → n < m → P n\nge : (n : ℤ) → n ≥ m → ((k : ℤ) → k < n → P k) → P n\nn : ℤ\nx✝¹ : n ≥ m\nhn : m ≤ n\nx✝ : ∀ (k : ℤ), k < m → ∀ (hn : m ≤ k), Int.strongRec lt ge k = ge k hn fun k_1 x ↦ Int.strongRec lt ge k_1\nl : ℤ\nhl : l < m\n⊢ Int.inductionOn' (motive := ...
ext l hl
_private.Lean.Elab.Tactic.Ext.0.Lean.Elab.Tactic.Ext.evalExt
Lean.Elab.Tactic.Ext.ext
Mathlib.Data.Int.Basic
{ "line": 45, "column": 90 }
{ "line": 45, "column": 98 }
{ "line": 46, "column": 2 }
[ { "pp": "case refine_2\nm n✝ : ℤ\nP : ℤ → Sort u_1\nlt : (n : ℤ) → n < m → P n\nge : (n : ℤ) → n ≥ m → ((k : ℤ) → k < n → P k) → P n\nn : ℤ\nx✝ : n ≥ m\nhn : m ≤ n\nk : ℤ\nhmk : m ≤ k\nih' :\n (∀ (k_1 : ℤ), k_1 < k → ∀ (hn : m ≤ k_1), Int.strongRec lt ge k_1 = ge k_1 hn fun k x ↦ Int.strongRec lt ge k) →\n ...
[ "case refine_2\nm n✝ : ℤ\nP : ℤ → Sort u_1\nlt : (n : ℤ) → n < m → P n\nge : (n : ℤ) → n ≥ m → ((k : ℤ) → k < n → P k) → P n\nn : ℤ\nx✝ : n ≥ m\nhn : m ≤ n\nk : ℤ\nhmk : m ≤ k\nih' :\n (∀ (k_1 : ℤ), k_1 < k → ∀ (hn : m ≤ k_1), Int.strongRec lt ge k_1 = ge k_1 hn fun k x ↦ Int.strongRec lt ge k) →\n (Int.inducti...
ext l hl
_private.Lean.Elab.Tactic.Ext.0.Lean.Elab.Tactic.Ext.evalExt
Lean.Elab.Tactic.Ext.ext
Mathlib.Data.Int.Basic
{ "line": 45, "column": 90 }
{ "line": 45, "column": 98 }
{ "line": 46, "column": 2 }
[ { "pp": "case refine_3\nm n✝ : ℤ\nP : ℤ → Sort u_1\nlt : (n : ℤ) → n < m → P n\nge : (n : ℤ) → n ≥ m → ((k : ℤ) → k < n → P k) → P n\nn : ℤ\nx✝¹ : n ≥ m\nhn : m ≤ n\nk : ℤ\nhkm : k ≤ m\nih' :\n (∀ (k_1 : ℤ), k_1 < k → ∀ (hn : m ≤ k_1), Int.strongRec lt ge k_1 = ge k_1 hn fun k x ↦ Int.strongRec lt ge k) →\n ...
[ "case refine_3\nm n✝ : ℤ\nP : ℤ → Sort u_1\nlt : (n : ℤ) → n < m → P n\nge : (n : ℤ) → n ≥ m → ((k : ℤ) → k < n → P k) → P n\nn : ℤ\nx✝¹ : n ≥ m\nhn : m ≤ n\nk : ℤ\nhkm : k ≤ m\nih' :\n (∀ (k_1 : ℤ), k_1 < k → ∀ (hn : m ≤ k_1), Int.strongRec lt ge k_1 = ge k_1 hn fun k x ↦ Int.strongRec lt ge k) →\n (Int.induct...
ext l hl
_private.Lean.Elab.Tactic.Ext.0.Lean.Elab.Tactic.Ext.evalExt
Lean.Elab.Tactic.Ext.ext
Mathlib.Algebra.Ring.Int.Defs
{ "line": 60, "column": 2 }
{ "line": 62, "column": 37 }
{ "line": 63, "column": 2 }
[ { "pp": "case inl\nα : Type u_1\ninst✝ : NonAssocRing α\nm : ℕ\n⊢ ∀ (n : ℤ), ↑(↑m * n) = ↑↑m * ↑n", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "add_mul", "AddGroup.toSubtractionMonoid", "Int.cast", "Int.cast_natCast", "Nat.recAux", "HMul.hMul", "...
[ "case inr\nα : Type u_1\ninst✝ : NonAssocRing α\nm : ℕ\n⊢ ∀ (n : ℤ), ↑(-↑m * n) = ↑(-↑m) * ↑n" ]
· induction m with | zero => simp | succ m ih => simp_all [add_mul]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Algebra.Ring.Int.Defs
{ "line": 63, "column": 2 }
{ "line": 65, "column": 37 }
{ "line": 67, "column": 0 }
[ { "pp": "case inr\nα : Type u_1\ninst✝ : NonAssocRing α\nm : ℕ\n⊢ ∀ (n : ℤ), ↑(-↑m * n) = ↑(-↑m) * ↑n", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "neg_add_rev", "Int.instAddCommGroup", "add_mul", "AddGroup.toSubtractionMonoid", "Int.cast_neg", "Int.ca...
[]
· induction m with | zero => simp | succ m ih => simp_all [add_mul]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Data.Int.Basic
{ "line": 50, "column": 8 }
{ "line": 50, "column": 33 }
{ "line": 50, "column": 34 }
[ { "pp": "case refine_3\nm n✝ : ℤ\nP : ℤ → Sort u_1\nlt : (n : ℤ) → n < m → P n\nge : (n : ℤ) → n ≥ m → ((k : ℤ) → k < n → P k) → P n\nn : ℤ\nx✝¹ : n ≥ m\nhn : m ≤ n\nk : ℤ\nhkm : k ≤ m\nih' :\n (∀ (k_1 : ℤ), k_1 < k → ∀ (hn : m ≤ k_1), Int.strongRec lt ge k_1 = ge k_1 hn fun k x ↦ Int.strongRec lt ge k) →\n ...
[ "case refine_3\nm n✝ : ℤ\nP : ℤ → Sort u_1\nlt : (n : ℤ) → n < m → P n\nge : (n : ℤ) → n ≥ m → ((k : ℤ) → k < n → P k) → P n\nn : ℤ\nx✝¹ : n ≥ m\nhn : m ≤ n\nk : ℤ\nhkm : k ≤ m\nih' :\n (∀ (k_1 : ℤ), k_1 < k → ∀ (hn : m ≤ k_1), Int.strongRec lt ge k_1 = ge k_1 hn fun k x ↦ Int.strongRec lt ge k) →\n (Int.induct...
inductionOn'_sub_one hkm,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Ring.Basic
{ "line": 279, "column": 51 }
{ "line": 279, "column": 63 }
{ "line": 281, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝¹ : DivisionMonoid R\ninst✝ : HasDistribNeg R\na b : R\n⊢ -(b / a) = -b / a", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Eq.mpr", "neg_div", "instHDiv", "Monoid.toMulOneClass", "congrArg", "id", "MulOne.toMul", ...
[]
rw [neg_div]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Algebra.Ring.Basic
{ "line": 279, "column": 51 }
{ "line": 279, "column": 63 }
{ "line": 281, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝¹ : DivisionMonoid R\ninst✝ : HasDistribNeg R\na b : R\n⊢ -(b / a) = -b / a", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Eq.mpr", "neg_div", "instHDiv", "Monoid.toMulOneClass", "congrArg", "id", "MulOne.toMul", ...
[]
rw [neg_div]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Ring.Basic
{ "line": 279, "column": 51 }
{ "line": 279, "column": 63 }
{ "line": 281, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝¹ : DivisionMonoid R\ninst✝ : HasDistribNeg R\na b : R\n⊢ -(b / a) = -b / a", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Eq.mpr", "neg_div", "instHDiv", "Monoid.toMulOneClass", "congrArg", "id", "MulOne.toMul", ...
[]
rw [neg_div]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Ring.Hom.Defs
{ "line": 256, "column": 64 }
{ "line": 258, "column": 5 }
{ "line": 260, "column": 0 }
[ { "pp": "α : Type u_2\nβ : Type u_3\nγ : Type u_4\ninst✝² : NonUnitalNonAssocSemiring α\ninst✝¹ : NonUnitalNonAssocSemiring β\ninst✝ : NonUnitalNonAssocSemiring γ\nf : α →ₙ+* β\n⊢ comp 0 f = 0", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "NonUnitalRingHom.ext", "NonUnitalRin...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Ring.Hom.Defs
{ "line": 674, "column": 68 }
{ "line": 676, "column": 5 }
{ "line": 678, "column": 0 }
[ { "pp": "α : Type u_2\nβ : Type u_3\ninst✝² : CommRing α\ninst✝¹ : IsDomain α\ninst✝ : CommRing β\nf : β →+ α\nh : ∀ (x : β), f (x * x) = f x * f x\nh_two : 2 ≠ 0\nh_one : f 1 = 1\n⊢ ↑(f.mkRingHomOfMulSelfOfTwoNeZero h h_two h_one) = f", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ ...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Basic.Nontrivial.Basic
{ "line": 31, "column": 88 }
{ "line": 33, "column": 48 }
{ "line": 35, "column": 0 }
[ { "pp": "α : Type u_3\ninst✝¹ : Nontrivial α\ninst✝ : LinearOrder α\n⊢ ∃ x y, x < y", "ppTerm": "?m.5", "assigned": true, "usedConstants": [ "lt_or_gt_of_ne", "Preorder.toLT", "PartialOrder.toPreorder", "Exists", "Ne", "Or.casesOn", "Exists.casesOn", "...
[]
by rcases exists_pair_ne α with ⟨x, y, hxy⟩ cases lt_or_gt_of_ne hxy <;> exact ⟨_, _, ‹_›⟩
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.GroupWithZero.Units.Basic
{ "line": 49, "column": 12 }
{ "line": 49, "column": 56 }
{ "line": 49, "column": 56 }
[ { "pp": "M₀ : Type u_2\ninst✝ : MonoidWithZero M₀\nu : M₀ˣ\na : M₀\nh : ↑u * a = 0\n⊢ a = 0", "ppTerm": "?m.17", "assigned": true, "usedConstants": [ "Units.val", "HMul.hMul", "MulZeroClass.toMul", "congrArg", "mul_eq_zero_of_right", "Units", "Eq.mp", ...
[]
by simpa using mul_eq_zero_of_right (↑u⁻¹) h
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.GroupWithZero.Units.Basic
{ "line": 168, "column": 4 }
{ "line": 168, "column": 42 }
{ "line": 169, "column": 2 }
[ { "pp": "case inl\nM₀ : Type u_2\ninst✝ : MonoidWithZero M₀\na b : M₀\nh : IsUnit a ∨ IsUnit b\nha : IsUnit a\nhb : ¬IsUnit b\nthis : ¬IsUnit (a * b)\n⊢ (a * b)⁻¹ʳ = b⁻¹ʳ * a⁻¹ʳ", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "False", "HMul.hMul", "eq_false", "MulZer...
[]
simp [Ring.inverse_non_unit, hb, this]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp