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.MeasureTheory.Measure.Stieltjes | {
"line": 761,
"column": 6
} | {
"line": 761,
"column": 20
} | {
"line": 762,
"column": 4
} | [
{
"pp": "case inr\nR : Type u_1\ninst✝⁷ : LinearOrder R\ninst✝⁶ : TopologicalSpace R\nf : StieltjesFunction R\ninst✝⁵ : OrderTopology R\ninst✝⁴ : CompactIccSpace R\ninst✝³ : MeasurableSpace R\ninst✝² : BorelSpace R\ninst✝¹ : SecondCountableTopology R\ninst✝ : DenselyOrdered R\ng : StieltjesFunction R\ny : R\nhf... | [] | simpa using hf | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.MeasureTheory.Measure.Stieltjes | {
"line": 761,
"column": 6
} | {
"line": 761,
"column": 20
} | {
"line": 762,
"column": 4
} | [
{
"pp": "case inr\nR : Type u_1\ninst✝⁷ : LinearOrder R\ninst✝⁶ : TopologicalSpace R\nf : StieltjesFunction R\ninst✝⁵ : OrderTopology R\ninst✝⁴ : CompactIccSpace R\ninst✝³ : MeasurableSpace R\ninst✝² : BorelSpace R\ninst✝¹ : SecondCountableTopology R\ninst✝ : DenselyOrdered R\ng : StieltjesFunction R\ny : R\nhf... | [] | simpa using hf | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.MeasureTheory.Measure.Stieltjes | {
"line": 761,
"column": 6
} | {
"line": 761,
"column": 20
} | {
"line": 762,
"column": 4
} | [
{
"pp": "case inr\nR : Type u_1\ninst✝⁷ : LinearOrder R\ninst✝⁶ : TopologicalSpace R\nf : StieltjesFunction R\ninst✝⁵ : OrderTopology R\ninst✝⁴ : CompactIccSpace R\ninst✝³ : MeasurableSpace R\ninst✝² : BorelSpace R\ninst✝¹ : SecondCountableTopology R\ninst✝ : DenselyOrdered R\ng : StieltjesFunction R\ny : R\nhf... | [] | simpa using hf | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Module.ZLattice.Basic | {
"line": 343,
"column": 6
} | {
"line": 343,
"column": 62
} | {
"line": 343,
"column": 62
} | [
{
"pp": "case intro\nE : Type u_1\nι : Type u_2\ninst✝⁴ : NormedAddCommGroup E\ninst✝³ : NormedSpace ℝ E\nb : Basis ι ℝ E\ninst✝² : MeasurableSpace E\ninst✝¹ : OpensMeasurableSpace E\ninst✝ : Finite ι\nval✝ : Fintype ι\nthis : FiniteDimensional ℝ E\nD : Set (ι → ℝ) := Set.univ.pi fun x ↦ Set.Ico 0 1\n⊢ Measurab... | [
"case intro\nE : Type u_1\nι : Type u_2\ninst✝⁴ : NormedAddCommGroup E\ninst✝³ : NormedSpace ℝ E\nb : Basis ι ℝ E\ninst✝² : MeasurableSpace E\ninst✝¹ : OpensMeasurableSpace E\ninst✝ : Finite ι\nval✝ : Fintype ι\nthis : FiniteDimensional ℝ E\nD : Set (ι → ℝ) := Set.univ.pi fun x ↦ Set.Ico 0 1\n⊢ MeasurableSet (⇑↑b.e... | (_ : fundamentalDomain b = b.equivFun.toLinearMap ⁻¹' D) | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Analysis.BoxIntegral.Partition.Split | {
"line": 186,
"column": 28
} | {
"line": 186,
"column": 76
} | {
"line": 186,
"column": 76
} | [
{
"pp": "ι : Type u_1\nM : Type u_3\ninst✝ : AddCommMonoid M\nI : Box ι\ni : ι\nx : ℝ\nf : Box ι → M\n⊢ ∑ J ∈ {I.splitLower i x, I.splitUpper i x}, Option.elim' 0 f J =\n Option.elim' 0 f (I.splitLower i x) + Option.elim' 0 f (I.splitUpper i x)",
"ppTerm": "?m.39",
"assigned": true,
"usedConstant... | [
"ι : Type u_1\nM : Type u_3\ninst✝ : AddCommMonoid M\nI : Box ι\ni : ι\nx : ℝ\nf : Box ι → M\n⊢ Option.elim' 0 f (I.splitLower i x) + Option.elim' 0 f (I.splitUpper i x) =\n Option.elim' 0 f (I.splitLower i x) + Option.elim' 0 f (I.splitUpper i x)"
] | Finset.sum_pair (I.splitLower_ne_splitUpper i x) | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Analysis.BoxIntegral.Partition.Basic | {
"line": 281,
"column": 67
} | {
"line": 281,
"column": 81
} | {
"line": 283,
"column": 0
} | [
{
"pp": "ι : Type u_1\nI J : Box ι\nπ : Prepartition I\nπi : (J : Box ι) → Prepartition J\n⊢ J ∈ π.biUnion πi ↔ ∃ J' ∈ π, J ∈ πi J'",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"BoxIntegral.Prepartition.biUnion._proof_4",
"BoxIntegral.Prepartition",
"congrArg",
"... | [] | simp [biUnion] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Analysis.BoxIntegral.Partition.Basic | {
"line": 281,
"column": 67
} | {
"line": 281,
"column": 81
} | {
"line": 283,
"column": 0
} | [
{
"pp": "ι : Type u_1\nI J : Box ι\nπ : Prepartition I\nπi : (J : Box ι) → Prepartition J\n⊢ J ∈ π.biUnion πi ↔ ∃ J' ∈ π, J ∈ πi J'",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"BoxIntegral.Prepartition.biUnion._proof_4",
"BoxIntegral.Prepartition",
"congrArg",
"... | [] | simp [biUnion] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Analysis.BoxIntegral.Partition.Basic | {
"line": 281,
"column": 67
} | {
"line": 281,
"column": 81
} | {
"line": 283,
"column": 0
} | [
{
"pp": "ι : Type u_1\nI J : Box ι\nπ : Prepartition I\nπi : (J : Box ι) → Prepartition J\n⊢ J ∈ π.biUnion πi ↔ ∃ J' ∈ π, J ∈ πi J'",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"BoxIntegral.Prepartition.biUnion._proof_4",
"BoxIntegral.Prepartition",
"congrArg",
"... | [] | simp [biUnion] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Module.ZLattice.Basic | {
"line": 415,
"column": 4
} | {
"line": 415,
"column": 26
} | {
"line": 415,
"column": 27
} | [
{
"pp": "E : Type u_1\nι : Type u_2\ninst✝⁵ : NormedAddCommGroup E\ninst✝⁴ : NormedSpace ℝ E\nb : Basis ι ℝ E\ninst✝³ : Fintype ι\ninst✝² : MeasurableSpace E\nμ : Measure E\ninst✝¹ : BorelSpace E\ninst✝ : μ.IsAddHaarMeasure\nthis : FiniteDimensional ℝ E\nx : E\nhx : (∀ (i : ι), 0 ≤ (b.repr x) i ∧ (b.repr x) i ≤... | [
"E : Type u_1\nι : Type u_2\ninst✝⁵ : NormedAddCommGroup E\ninst✝⁴ : NormedSpace ℝ E\nb : Basis ι ℝ E\ninst✝³ : Fintype ι\ninst✝² : MeasurableSpace E\nμ : Measure E\ninst✝¹ : BorelSpace E\ninst✝ : μ.IsAddHaarMeasure\nthis : FiniteDimensional ℝ E\nx : E\nhx : (∀ (i : ι), 0 ≤ (b.repr x) i ∧ (b.repr x) i ≤ 1) ∧ ¬∀ (i ... | mem_fundamentalDomain, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar | {
"line": 704,
"column": 4
} | {
"line": 704,
"column": 25
} | {
"line": 705,
"column": 4
} | [
{
"pp": "case inl\nE : Type u_1\ninst✝⁵ : NormedAddCommGroup E\ninst✝⁴ : NormedSpace ℝ E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\ninst✝¹ : FiniteDimensional ℝ E\nμ : Measure E\ninst✝ : μ.IsAddHaarMeasure\ns : Set E\nx : E\nh : Tendsto (fun r ↦ μ (s ∩ closedBall x r) / μ (closedBall x r)) (𝓝[>] 0) (�... | [
"case inl\nE : Type u_1\ninst✝⁵ : NormedAddCommGroup E\ninst✝⁴ : NormedSpace ℝ E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\ninst✝¹ : FiniteDimensional ℝ E\nμ : Measure E\ninst✝ : μ.IsAddHaarMeasure\ns : Set E\nx : E\nh : Tendsto (fun r ↦ μ (s ∩ closedBall x r) / μ (closedBall x r)) (𝓝[>] 0) (𝓝 0)\nt : Se... | filter_upwards with r | Mathlib.Tactic._aux_Mathlib_Order_Filter_Defs___elabRules_Mathlib_Tactic_filterUpwards_1 | Mathlib.Tactic.filterUpwards |
Mathlib.Analysis.BoxIntegral.Partition.Additive | {
"line": 139,
"column": 2
} | {
"line": 154,
"column": 65
} | {
"line": 156,
"column": 0
} | [
{
"pp": "ι : Type u_1\nM : Type u_2\nn : ℕ\nN : Type u_3\ninst✝² : AddCommMonoid M\ninst✝¹ : AddCommMonoid N\nI₀✝ : WithTop (Box ι)\nI : Box ι\ni : ι\ninst✝ : Finite ι\nf : Box ι → M\nI₀ : WithTop (Box ι)\nhf :\n ∀ (I : Box ι),\n ↑I ≤ I₀ →\n ∀ {i : ι} {x : ℝ},\n x ∈ Set.Ioo (I.lower i) (I.upper ... | [] | refine ⟨f, ?_⟩
replace hf (I : Box ι) (hI : ↑I ≤ I₀) (s) : ∑ J ∈ (splitMany I s).boxes, f J = f I := by
induction s using Finset.induction_on with
| empty => simp
| insert a s _ ihs =>
rw [splitMany_insert, inf_split, ← ihs, biUnion_boxes, sum_biUnion_boxes]
refine Finset.sum_congr rfl fun J' ... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Analysis.BoxIntegral.Partition.Additive | {
"line": 139,
"column": 2
} | {
"line": 154,
"column": 65
} | {
"line": 156,
"column": 0
} | [
{
"pp": "ι : Type u_1\nM : Type u_2\nn : ℕ\nN : Type u_3\ninst✝² : AddCommMonoid M\ninst✝¹ : AddCommMonoid N\nI₀✝ : WithTop (Box ι)\nI : Box ι\ni : ι\ninst✝ : Finite ι\nf : Box ι → M\nI₀ : WithTop (Box ι)\nhf :\n ∀ (I : Box ι),\n ↑I ≤ I₀ →\n ∀ {i : ι} {x : ℝ},\n x ∈ Set.Ioo (I.lower i) (I.upper ... | [] | refine ⟨f, ?_⟩
replace hf (I : Box ι) (hI : ↑I ≤ I₀) (s) : ∑ J ∈ (splitMany I s).boxes, f J = f I := by
induction s using Finset.induction_on with
| empty => simp
| insert a s _ ihs =>
rw [splitMany_insert, inf_split, ← ihs, biUnion_boxes, sum_biUnion_boxes]
refine Finset.sum_congr rfl fun J' ... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Analysis.BoxIntegral.Partition.Measure | {
"line": 86,
"column": 2
} | {
"line": 86,
"column": 38
} | {
"line": 88,
"column": 0
} | [
{
"pp": "ι : Type u_1\ninst✝¹ : Finite ι\nI : Box ι\nπ : Prepartition I\nμ : Measure (ι → ℝ)\ninst✝ : IsLocallyFiniteMeasure μ\n⊢ ∀ b ∈ π.boxes, MeasurableSet ↑b",
"ppTerm": "?m.48",
"assigned": true,
"usedConstants": [
"BoxIntegral.Box.measurableSet_coe",
"Finset",
"Membership.mem... | [] | exact fun J _ => J.measurableSet_coe | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Analysis.BoxIntegral.Partition.Measure | {
"line": 144,
"column": 70
} | {
"line": 146,
"column": 28
} | {
"line": 148,
"column": 0
} | [
{
"pp": "ι : Type u_1\ninst✝² : Fintype ι\nE : Type u_2\ninst✝¹ : NormedAddCommGroup E\ninst✝ : NormedSpace ℝ E\nI : Box ι\nx : E\n⊢ (BoxAdditiveMap.volume I) x = (∏ j, (I.upper j - I.lower j)) • x",
"ppTerm": "?m.27",
"assigned": true,
"usedConstants": [
"instWeaklyLocallyCompactSpaceOfLocall... | [] | by
rw [BoxAdditiveMap.volume, toSMul_apply]
congrm $I.volume_apply • _ | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Analysis.Oscillation | {
"line": 103,
"column": 2
} | {
"line": 103,
"column": 71
} | {
"line": 105,
"column": 0
} | [
{
"pp": "E : Type u\nF : Type v\ninst✝¹ : PseudoEMetricSpace F\ninst✝ : TopologicalSpace E\nf : E → F\nx : E\n⊢ oscillationWithin f univ x = 0 ↔ ContinuousWithinAt f univ x",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants": [
"Set.univ",
"Set.mem_univ",
"OscillationWithin.eq_z... | [] | exact OscillationWithin.eq_zero_iff_continuousWithinAt f (mem_univ x) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar | {
"line": 764,
"column": 4
} | {
"line": 764,
"column": 28
} | {
"line": 765,
"column": 4
} | [
{
"pp": "E : Type u_1\ninst✝⁵ : NormedAddCommGroup E\ninst✝⁴ : NormedSpace ℝ E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\ninst✝¹ : FiniteDimensional ℝ E\nμ : Measure E\ninst✝ : μ.IsAddHaarMeasure\ns : Set E\nhs : MeasurableSet s\nx : E\nh : Tendsto (fun r ↦ μ (s ∩ closedBall x r) / μ (closedBall x r)) ... | [
"E : Type u_1\ninst✝⁵ : NormedAddCommGroup E\ninst✝⁴ : NormedSpace ℝ E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\ninst✝¹ : FiniteDimensional ℝ E\nμ : Measure E\ninst✝ : μ.IsAddHaarMeasure\ns : Set E\nhs : MeasurableSet s\nx : E\nh : Tendsto (fun r ↦ μ (s ∩ closedBall x r) / μ (closedBall x r)) (𝓝[>] 0) (�... | simp_rw [div_eq_mul_inv] | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.Analysis.Oscillation | {
"line": 125,
"column": 8
} | {
"line": 125,
"column": 49
} | {
"line": 125,
"column": 50
} | [
{
"pp": "E : Type u\nF : Type v\ninst✝¹ : PseudoEMetricSpace F\ninst✝ : PseudoEMetricSpace E\nK : Set E\nf : E → F\nD : Set E\nε : ℝ≥0∞\ncomp : IsCompact K\nhK : ∀ x ∈ K, oscillationWithin f D x < ε\nS : ℝ → Set E := fun r ↦ {x | ∃ a > r, ediam (f '' (eball x (ENNReal.ofReal a) ∩ D)) ≤ ε}\nr : ℝ\nx✝¹ : r > 0\nx... | [
"E : Type u\nF : Type v\ninst✝¹ : PseudoEMetricSpace F\ninst✝ : PseudoEMetricSpace E\nK : Set E\nf : E → F\nD : Set E\nε : ℝ≥0∞\ncomp : IsCompact K\nhK : ∀ x ∈ K, oscillationWithin f D x < ε\nS : ℝ → Set E := fun r ↦ {x | ∃ a > r, ediam (f '' (eball x (ENNReal.ofReal a) ∩ D)) ≤ ε}\nr : ℝ\nx✝¹ : r > 0\nx : E\nx✝ : x... | ← ofReal_add (by linarith) (by linarith), | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Prime.Int | {
"line": 27,
"column": 6
} | {
"line": 28,
"column": 96
} | {
"line": 28,
"column": 96
} | [
{
"pp": "p : ℕ\nhp : Prime p\na b : ℤ\nh : ↑p ∣ a * b\n⊢ ↑p ∣ a ∨ ↑p ∣ b",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Dvd.dvd",
"HMul.hMul",
"Int.dvd_natAbs",
"Int.natAbs_mul",
"MulZeroClass.toMul",
"congrArg",
"semigroupDvd",
... | [] | rw [← Int.dvd_natAbs, Int.natCast_dvd_natCast, Int.natAbs_mul, hp.dvd_mul] at h
rwa [← Int.dvd_natAbs, Int.natCast_dvd_natCast, ← Int.dvd_natAbs, Int.natCast_dvd_natCast] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.Nat.Prime.Int | {
"line": 27,
"column": 6
} | {
"line": 28,
"column": 96
} | {
"line": 28,
"column": 96
} | [
{
"pp": "p : ℕ\nhp : Prime p\na b : ℤ\nh : ↑p ∣ a * b\n⊢ ↑p ∣ a ∨ ↑p ∣ b",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Dvd.dvd",
"HMul.hMul",
"Int.dvd_natAbs",
"Int.natAbs_mul",
"MulZeroClass.toMul",
"congrArg",
"semigroupDvd",
... | [] | rw [← Int.dvd_natAbs, Int.natCast_dvd_natCast, Int.natAbs_mul, hp.dvd_mul] at h
rwa [← Int.dvd_natAbs, Int.natCast_dvd_natCast, ← Int.dvd_natAbs, Int.natCast_dvd_natCast] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Analysis.BoxIntegral.Basic | {
"line": 100,
"column": 2
} | {
"line": 106,
"column": 25
} | {
"line": 108,
"column": 0
} | [
{
"pp": "ι : Type u\nE : Type v\nF : Type w\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedSpace ℝ E\ninst✝¹ : NormedAddCommGroup F\ninst✝ : NormedSpace ℝ F\nI : Box ι\nf : (ι → ℝ) → E\nvol : ι →ᵇᵃ[⊤] E →L[ℝ] F\nπ : TaggedPrepartition I\nπi : (J : Box ι) → Prepartition J\nhπi : ∀ J ∈ π, (πi J).IsPartition\nJ : ... | [] | calc
(∑ J' ∈ (πi J).boxes, vol J' (f (π.tag <| π.toPrepartition.biUnionIndex πi J'))) =
∑ J' ∈ (πi J).boxes, vol J' (f (π.tag J)) :=
sum_congr rfl fun J' hJ' => by rw [Prepartition.biUnionIndex_of_mem _ hJ hJ']
_ = vol J (f (π.tag J)) :=
(vol.map ⟨⟨fun g : E →L[ℝ] F => g (f (π.tag J)), rfl⟩,... | Lean.Elab.Tactic._aux_Mathlib_Tactic_Widget_Calc___elabRules_Lean_calcTactic_1 | Lean.calcTactic |
Mathlib.Analysis.BoxIntegral.Basic | {
"line": 341,
"column": 4
} | {
"line": 342,
"column": 76
} | {
"line": 344,
"column": 0
} | [
{
"pp": "case neg\nι : Type u\nE : Type v\nF : Type w\ninst✝⁴ : NormedAddCommGroup E\ninst✝³ : NormedSpace ℝ E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : NormedSpace ℝ F\nI : Box ι\ninst✝ : Fintype ι\nl : IntegrationParams\nf : (ι → ℝ) → E\nvol : ι →ᵇᵃ[⊤] E →L[ℝ] F\nc : ℝ\nhc : c ≠ 0\nhf : ¬Integrable I l f vol\n... | [] | have : ¬Integrable I l (fun x => c • f x) vol := mt (fun h => h.of_smul hc) hf
rw [integral, integral, dite_eq_right hf, dite_eq_right this, smul_zero] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Analysis.BoxIntegral.Basic | {
"line": 341,
"column": 4
} | {
"line": 342,
"column": 76
} | {
"line": 344,
"column": 0
} | [
{
"pp": "case neg\nι : Type u\nE : Type v\nF : Type w\ninst✝⁴ : NormedAddCommGroup E\ninst✝³ : NormedSpace ℝ E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : NormedSpace ℝ F\nI : Box ι\ninst✝ : Fintype ι\nl : IntegrationParams\nf : (ι → ℝ) → E\nvol : ι →ᵇᵃ[⊤] E →L[ℝ] F\nc : ℝ\nhc : c ≠ 0\nhf : ¬Integrable I l f vol\n... | [] | have : ¬Integrable I l (fun x => c • f x) vol := mt (fun h => h.of_smul hc) hf
rw [integral, integral, dite_eq_right hf, dite_eq_right this, smul_zero] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Analysis.BoxIntegral.Basic | {
"line": 418,
"column": 2
} | {
"line": 418,
"column": 19
} | {
"line": 418,
"column": 19
} | [
{
"pp": "ι : Type u\nE : Type v\nF : Type w\ninst✝⁴ : NormedAddCommGroup E\ninst✝³ : NormedSpace ℝ E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : NormedSpace ℝ F\nI : Box ι\ninst✝ : Fintype ι\nl : IntegrationParams\nf : (ι → ℝ) → E\nvol : ι →ᵇᵃ[⊤] E →L[ℝ] F\nh : Integrable I l f vol\nε : ℝ\nc : ℝ≥0\n⊢ l.RCond (h.co... | [
"ι : Type u\nE : Type v\nF : Type w\ninst✝⁴ : NormedAddCommGroup E\ninst✝³ : NormedSpace ℝ E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : NormedSpace ℝ F\nI : Box ι\ninst✝ : Fintype ι\nl : IntegrationParams\nf : (ι → ℝ) → E\nvol : ι →ᵇᵃ[⊤] E →L[ℝ] F\nh : Integrable I l f vol\nε : ℝ\nc : ℝ≥0\n⊢ l.RCond ((if hε : 0 < ε t... | rw [convergenceR] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Analysis.BoxIntegral.Integrability | {
"line": 141,
"column": 2
} | {
"line": 141,
"column": 44
} | {
"line": 141,
"column": 44
} | [
{
"pp": "ι : Type u\nE : Type v\ninst✝³ : Fintype ι\ninst✝² : NormedAddCommGroup E\ninst✝¹ : NormedSpace ℝ E\nl : IntegrationParams\nI : Box ι\nf : (ι → ℝ) → E\nμ : Measure (ι → ℝ)\ninst✝ : IsLocallyFiniteMeasure μ\nhl : l.bRiemann = false\nε : ℝ≥0\nε0 : 0 < ε\nδ : ℕ → ℝ≥0\nδ0 : ∀ (i : ℕ), 0 < δ i\nc✝ : ℝ≥0\nhδ... | [
"ι : Type u\nE : Type v\ninst✝³ : Fintype ι\ninst✝² : NormedAddCommGroup E\ninst✝¹ : NormedSpace ℝ E\nl : IntegrationParams\nI : Box ι\nf : (ι → ℝ) → E\nμ : Measure (ι → ℝ)\ninst✝ : IsLocallyFiniteMeasure μ\nhl : l.bRiemann = false\nε : ℝ≥0\nε0 : 0 < ε\nδ : ℕ → ℝ≥0\nδ0 : ∀ (i : ℕ), 0 < δ i\nc✝ : ℝ≥0\nhδc : HasSum δ... | refine (norm_sum_le_of_le _ this).trans ?_ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Analysis.BoxIntegral.UnitPartition | {
"line": 393,
"column": 17
} | {
"line": 393,
"column": 26
} | {
"line": 393,
"column": 27
} | [
{
"pp": "ι : Type u_1\nn : ℕ\ninst✝¹ : NeZero n\ns : Set (ι → ℝ)\nF : (ι → ℝ) → ℝ\ninst✝ : Fintype ι\nB : Box ι\nhB : hasIntegralVertices B\nhs₀ : s ⊆ ↑B\nthis : Fintype ↑(s ∩ (↑n)⁻¹ • ↑(span ℤ (Set.range ⇑(Pi.basisFun ℝ ι))))\n⊢ ∑ i ∈ (s ∩ (↑n)⁻¹ • ↑(span ℤ (Set.range ⇑(Pi.basisFun ℝ ι)))).toFinset, F i / ↑n ^... | [
"ι : Type u_1\nn : ℕ\ninst✝¹ : NeZero n\ns : Set (ι → ℝ)\nF : (ι → ℝ) → ℝ\ninst✝ : Fintype ι\nB : Box ι\nhB : hasIntegralVertices B\nhs₀ : s ⊆ ↑B\nthis : Fintype ↑(s ∩ (↑n)⁻¹ • ↑(span ℤ (Set.range ⇑(Pi.basisFun ℝ ι))))\n⊢ ∑ i ∈ (s ∩ (↑n)⁻¹ • ↑(span ℤ (Set.range ⇑(Pi.basisFun ℝ ι)))).toFinset, F i / ↑n ^ card ι =\n ... | mul_zero, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Analysis.InnerProductSpace.GramSchmidtOrtho | {
"line": 86,
"column": 6
} | {
"line": 86,
"column": 23
} | {
"line": 87,
"column": 2
} | [
{
"pp": "case inr\n𝕜 : Type u_1\nE : Type u_2\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : InnerProductSpace 𝕜 E\nι : Type u_3\ninst✝¹ : LinearOrder ι\ninst✝ : LocallyFiniteOrderBot ι\nf : ι → E\na b : ι\nh₀ : a ≠ b\nthis : ∀ (a b : ι), a < b → ⟪gramSchmidt 𝕜 f a, gramSchmidt 𝕜 f b⟫_𝕜 = 0\n... | [] | exact this _ _ hb | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Analysis.InnerProductSpace.GramSchmidtOrtho | {
"line": 302,
"column": 2
} | {
"line": 306,
"column": 82
} | {
"line": 308,
"column": 0
} | [
{
"pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : InnerProductSpace 𝕜 E\nι : Type u_3\ninst✝¹ : LinearOrder ι\ninst✝ : LocallyFiniteOrderBot ι\nf : ι → E\nh₀ : LinearIndependent 𝕜 f\n⊢ LinearIndependent 𝕜 (gramSchmidtNormed 𝕜 f)",
"ppTerm": "?m.21",
"a... | [] | unfold gramSchmidtNormed
have (i : ι) : IsUnit (‖gramSchmidt 𝕜 f i‖⁻¹ : 𝕜) :=
isUnit_iff_ne_zero.mpr (by simp [gramSchmidt_ne_zero i h₀])
let w : ι → 𝕜ˣ := fun i ↦ (this i).unit
apply (gramSchmidt_linearIndependent h₀).units_smul (w := fun i ↦ (this i).unit) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Analysis.InnerProductSpace.GramSchmidtOrtho | {
"line": 302,
"column": 2
} | {
"line": 306,
"column": 82
} | {
"line": 308,
"column": 0
} | [
{
"pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : InnerProductSpace 𝕜 E\nι : Type u_3\ninst✝¹ : LinearOrder ι\ninst✝ : LocallyFiniteOrderBot ι\nf : ι → E\nh₀ : LinearIndependent 𝕜 f\n⊢ LinearIndependent 𝕜 (gramSchmidtNormed 𝕜 f)",
"ppTerm": "?m.21",
"a... | [] | unfold gramSchmidtNormed
have (i : ι) : IsUnit (‖gramSchmidt 𝕜 f i‖⁻¹ : 𝕜) :=
isUnit_iff_ne_zero.mpr (by simp [gramSchmidt_ne_zero i h₀])
let w : ι → 𝕜ˣ := fun i ↦ (this i).unit
apply (gramSchmidt_linearIndependent h₀).units_smul (w := fun i ↦ (this i).unit) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Analysis.InnerProductSpace.Orientation | {
"line": 186,
"column": 53
} | {
"line": 193,
"column": 89
} | {
"line": 195,
"column": 0
} | [
{
"pp": "E : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace ℝ E\n_i : Fact (finrank ℝ E = 0)\n⊢ (-positiveOrientation).volumeForm = -AlternatingMap.constLinearEquivOfIsEmpty 1",
"ppTerm": "?m.57",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"AlternatingMap.instAdd... | [] | by
simp_rw [volumeForm, Or.by_cases, positiveOrientation]
apply ite_eq_right
simp only [neg_rayOfNeZero]
rw [ray_eq_iff, SameRay.sameRay_comm]
intro h
simpa using
congr(AlternatingMap.constLinearEquivOfIsEmpty.symm $(eq_zero_of_sameRay_self_neg h)) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Analysis.InnerProductSpace.Orientation | {
"line": 238,
"column": 4
} | {
"line": 239,
"column": 36
} | {
"line": 241,
"column": 0
} | [
{
"pp": "case succ\nE : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace ℝ E\nn✝ : ℕ\n_i : Fact (finrank ℝ E = n✝ + 1)\no : Orientation ℝ E (Fin (n✝ + 1))\nb : OrthonormalBasis (Fin (n✝ + 1)) ℝ E\nv : Fin (n✝ + 1) → E\n⊢ |o.volumeForm v| = |b.toBasis.det v|",
"ppTerm": "?succ",
"assign... | [] | rw [o.volumeForm_robust (b.adjustToOrientation o) (b.orientation_adjustToOrientation o),
b.abs_det_adjustToOrientation] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Analysis.InnerProductSpace.Orientation | {
"line": 238,
"column": 4
} | {
"line": 239,
"column": 36
} | {
"line": 241,
"column": 0
} | [
{
"pp": "case succ\nE : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace ℝ E\nn✝ : ℕ\n_i : Fact (finrank ℝ E = n✝ + 1)\no : Orientation ℝ E (Fin (n✝ + 1))\nb : OrthonormalBasis (Fin (n✝ + 1)) ℝ E\nv : Fin (n✝ + 1) → E\n⊢ |o.volumeForm v| = |b.toBasis.det v|",
"ppTerm": "?succ",
"assign... | [] | rw [o.volumeForm_robust (b.adjustToOrientation o) (b.orientation_adjustToOrientation o),
b.abs_det_adjustToOrientation] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Analysis.InnerProductSpace.Orientation | {
"line": 238,
"column": 4
} | {
"line": 239,
"column": 36
} | {
"line": 241,
"column": 0
} | [
{
"pp": "case succ\nE : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace ℝ E\nn✝ : ℕ\n_i : Fact (finrank ℝ E = n✝ + 1)\no : Orientation ℝ E (Fin (n✝ + 1))\nb : OrthonormalBasis (Fin (n✝ + 1)) ℝ E\nv : Fin (n✝ + 1) → E\n⊢ |o.volumeForm v| = |b.toBasis.det v|",
"ppTerm": "?succ",
"assign... | [] | rw [o.volumeForm_robust (b.adjustToOrientation o) (b.orientation_adjustToOrientation o),
b.abs_det_adjustToOrientation] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Analysis.BoxIntegral.Integrability | {
"line": 332,
"column": 4
} | {
"line": 332,
"column": 74
} | {
"line": 333,
"column": 4
} | [
{
"pp": "case left\nι : Type u\nE : Type v\ninst✝⁴ : Fintype ι\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedSpace ℝ E\ninst✝¹ : CompleteSpace E\nf : (ι → ℝ) → E\nμ : Measure (ι → ℝ)\ninst✝ : IsLocallyFiniteMeasure μ\nI : Box ι\nhb : ∃ C, ∀ x ∈ Box.Icc I, ‖f x‖ ≤ C\nhc : ∀ᵐ (x : ι → ℝ) ∂μ, ContinuousAt f x\nl ... | [
"case left\nι : Type u\nE : Type v\ninst✝⁴ : Fintype ι\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedSpace ℝ E\ninst✝¹ : CompleteSpace E\nf : (ι → ℝ) → E\nμ : Measure (ι → ℝ)\ninst✝ : IsLocallyFiniteMeasure μ\nI : Box ι\nhb : ∃ C, ∀ x ∈ Box.Icc I, ‖f x‖ ≤ C\nhc : ∀ᵐ (x : ι → ℝ) ∂μ, ContinuousAt f x\nl : Integratio... | refine measure_eq_measure_of_null_sdiff s.inter_subset_left ?_ |>.symm | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Analysis.BoxIntegral.Integrability | {
"line": 320,
"column": 77
} | {
"line": 342,
"column": 90
} | {
"line": 344,
"column": 0
} | [
{
"pp": "ι : Type u\nE : Type v\ninst✝⁴ : Fintype ι\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedSpace ℝ E\ninst✝¹ : CompleteSpace E\nf : (ι → ℝ) → E\nμ : Measure (ι → ℝ)\ninst✝ : IsLocallyFiniteMeasure μ\nI : Box ι\nhb : ∃ C, ∀ x ∈ Box.Icc I, ‖f x‖ ≤ C\nhc : ∀ᵐ (x : ι → ℝ) ∂μ, ContinuousAt f x\nl : Integrati... | [] | by
obtain ⟨y, hy⟩ := integrable_of_bounded_and_ae_continuous l hb μ hc
convert hy
refine HasIntegral.unique (IntegrableOn.hasBoxIntegral ?_ ⊥ rfl) (HasIntegral.mono hy bot_le)
constructor
· let v := {x : (ι → ℝ) | ContinuousAt f x}
have : AEStronglyMeasurable f (μ.restrict v) :=
(continuousOn_of_for... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Analysis.Asymptotics.SpecificAsymptotics | {
"line": 76,
"column": 6
} | {
"line": 76,
"column": 51
} | {
"line": 76,
"column": 51
} | [
{
"pp": "𝕜 : Type u_1\ninst✝² : Field 𝕜\ninst✝¹ : LinearOrder 𝕜\ninst✝ : IsStrictOrderedRing 𝕜\np q : ℕ\nhpq : q < p\n⊢ Tendsto (fun x ↦ x ^ p / x ^ q) atTop atTop",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instHDiv",
"congrArg",
"CommSemiring.to... | [
"𝕜 : Type u_1\ninst✝² : Field 𝕜\ninst✝¹ : LinearOrder 𝕜\ninst✝ : IsStrictOrderedRing 𝕜\np q : ℕ\nhpq : q < p\n⊢ Tendsto (fun x ↦ x ^ (↑p - ↑q)) atTop atTop"
] | tendsto_congr' pow_div_pow_eventuallyEq_atTop | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Analysis.Asymptotics.SpecificAsymptotics | {
"line": 82,
"column": 6
} | {
"line": 82,
"column": 51
} | {
"line": 82,
"column": 51
} | [
{
"pp": "𝕜 : Type u_1\ninst✝⁴ : Field 𝕜\ninst✝³ : LinearOrder 𝕜\ninst✝² : IsStrictOrderedRing 𝕜\ninst✝¹ : TopologicalSpace 𝕜\ninst✝ : OrderTopology 𝕜\np q : ℕ\nhpq : p < q\n⊢ Tendsto (fun x ↦ x ^ p / x ^ q) atTop (𝓝 0)",
"ppTerm": "?m.27",
"assigned": true,
"usedConstants": [
"Eq.mpr",
... | [
"𝕜 : Type u_1\ninst✝⁴ : Field 𝕜\ninst✝³ : LinearOrder 𝕜\ninst✝² : IsStrictOrderedRing 𝕜\ninst✝¹ : TopologicalSpace 𝕜\ninst✝ : OrderTopology 𝕜\np q : ℕ\nhpq : p < q\n⊢ Tendsto (fun x ↦ x ^ (↑p - ↑q)) atTop (𝓝 0)"
] | tendsto_congr' pow_div_pow_eventuallyEq_atTop | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Analysis.PSeries | {
"line": 293,
"column": 6
} | {
"line": 294,
"column": 12
} | {
"line": 296,
"column": 2
} | [
{
"pp": "case inl.h_mono\np : ℝ\nhp : 0 ≤ p\n⊢ ∀ ⦃m n : ℕ⦄, 0 < m → m ≤ n → (↑n ^ p)⁻¹ ≤ (↑m ^ p)⁻¹",
"ppTerm": "?inl.h_mono",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Real.instPow",
"Real.partialOrder",
"Real.rpow_pos_of_pos",
"Real",
"Preorder.toLT",
... | [] | intro m n hm hmn
gcongr | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Analysis.PSeries | {
"line": 293,
"column": 6
} | {
"line": 294,
"column": 12
} | {
"line": 296,
"column": 2
} | [
{
"pp": "case inl.h_mono\np : ℝ\nhp : 0 ≤ p\n⊢ ∀ ⦃m n : ℕ⦄, 0 < m → m ≤ n → (↑n ^ p)⁻¹ ≤ (↑m ^ p)⁻¹",
"ppTerm": "?inl.h_mono",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Real.instPow",
"Real.partialOrder",
"Real.rpow_pos_of_pos",
"Real",
"Preorder.toLT",
... | [] | intro m n hm hmn
gcongr | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.MonoidAlgebra.Ideal | {
"line": 80,
"column": 6
} | {
"line": 80,
"column": 79
} | {
"line": 81,
"column": 6
} | [
{
"pp": "k : Type u_1\nA : Type u_2\ninst✝¹ : AddMonoid A\ninst✝ : Semiring k\ns : Set A\nx✝ x y : k[A]\nhy : y ∈ {p | ∀ m ∈ p.coeff.support, ∃ m' ∈ s, ∃ d, m = d + m'}\nm : A\nhm✝¹ : m ∈ (x.coeff.sum fun i n ↦ y.coeff.sum fun i_1 n_1 ↦ (single (i + i_1) (n * n_1)).coeff).support\nxm : A\nhm✝ : m ∈ (y.coeff.sum... | [
"k : Type u_1\nA : Type u_2\ninst✝¹ : AddMonoid A\ninst✝ : Semiring k\ns : Set A\nx✝ x y : k[A]\nhy : y ∈ {p | ∀ m ∈ p.coeff.support, ∃ m' ∈ s, ∃ d, m = d + m'}\nxm ym : A\nhym : ym ∈ y.coeff.support\nhm✝¹ : xm + ym ∈ (x.coeff.sum fun i n ↦ y.coeff.sum fun i_1 n_1 ↦ (single (i + i_1) (n * n_1)).coeff).support\nhm✝ ... | obtain rfl := Finset.mem_singleton.mp <| Finsupp.support_single_subset hm | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.Algebra.MonoidAlgebra.ToDirectSum | {
"line": 178,
"column": 47
} | {
"line": 179,
"column": 45
} | {
"line": 181,
"column": 0
} | [
{
"pp": "ι : Type u_1\nM : Type u_3\ninst✝³ : DecidableEq ι\ninst✝² : AddMonoid ι\ninst✝¹ : Semiring M\ninst✝ : (m : M) → Decidable (m ≠ 0)\nn : ℕ\n⊢ (↑n).toAddMonoidAlgebra = ↑n",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"NonAssocSemiring.toAddCommMonoidWithOne",
"Semirin... | [] | by
ext : 1; exact DFinsupp.toFinsupp_single .. | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.MonoidAlgebra.ToDirectSum | {
"line": 199,
"column": 47
} | {
"line": 200,
"column": 45
} | {
"line": 202,
"column": 0
} | [
{
"pp": "ι : Type u_1\nM : Type u_3\ninst✝³ : DecidableEq ι\ninst✝² : AddMonoid ι\ninst✝¹ : Ring M\ninst✝ : (m : M) → Decidable (m ≠ 0)\nz : ℤ\n⊢ (↑z).toAddMonoidAlgebra = ↑z",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Int.cast",
"DirectSum.ring",
"AddMonoid.toAddZer... | [] | by
ext : 1; exact DFinsupp.toFinsupp_single .. | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.MonoidAlgebra.ToDirectSum | {
"line": 204,
"column": 47
} | {
"line": 205,
"column": 45
} | {
"line": 207,
"column": 0
} | [
{
"pp": "ι : Type u_1\nM : Type u_3\ninst✝³ : DecidableEq ι\ninst✝² : Zero ι\ninst✝¹ : Semiring M\ninst✝ : (m : M) → Decidable (m ≠ 0)\n⊢ toAddMonoidAlgebra 1 = 1",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"NonAssocSemiring.toAddCommMonoidWithOne",
"AddMonoid.toAddZeroClas... | [] | by
ext : 1; exact DFinsupp.toFinsupp_single .. | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Nat.Factorial.DoubleFactorial | {
"line": 63,
"column": 8
} | {
"line": 63,
"column": 16
} | {
"line": 63,
"column": 17
} | [
{
"pp": "n : ℕ\n⊢ (2 * (n + 1))‼ = 2 ^ (n + 1) * (n + 1)!",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"HMul.hMul",
"congrArg",
"Nat.instMonoid",
"Nat.doubleFactorial",
"id",
"instMulNat",
"instO... | [
"n : ℕ\n⊢ (2 * n + 2 * 1)‼ = 2 ^ (n + 1) * (n + 1)!"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.MvPolynomial.Comap | {
"line": 81,
"column": 2
} | {
"line": 81,
"column": 8
} | {
"line": 82,
"column": 2
} | [
{
"pp": "σ : Type u_1\nR : Type u_4\ninst✝ : CommSemiring R\nf : MvPolynomial σ R →ₐ[R] MvPolynomial σ R\nhf : ∀ (φ : MvPolynomial σ R), f φ = φ\nx : σ → R\n⊢ f = AlgHom.id R (MvPolynomial σ R)",
"ppTerm": "?m.130",
"assigned": true,
"usedConstants": [
"Nat.instMulZeroClass",
"AddMonoidA... | [
"σ : Type u_1\nR : Type u_4\ninst✝ : CommSemiring R\nf : MvPolynomial σ R →ₐ[R] MvPolynomial σ R\nhf : ∀ (φ : MvPolynomial σ R), f φ = φ\nx : σ → R\nφ : σ\n⊢ f (X φ) = (AlgHom.id R (MvPolynomial σ R)) (X φ)"
] | ext1 φ | Lean.Elab.Tactic.Ext._aux_Init_Ext___macroRules_Lean_Elab_Tactic_Ext_tacticExt1____1 | Lean.Elab.Tactic.Ext.tacticExt1___ |
Mathlib.Data.Nat.Choose.Multinomial | {
"line": 167,
"column": 6
} | {
"line": 167,
"column": 25
} | {
"line": 167,
"column": 25
} | [
{
"pp": "α : Type u_1\nf : α → ℕ\na b : α\ninst✝ : DecidableEq α\nh : a ≠ b\n⊢ ((f a).succ + (f b).succ).choose (f a).succ =\n ((f a).succ + if b = a then (f a).succ else f b).choose (f a).succ + (f a + (f b).succ).choose (f a)",
"ppTerm": "?m.41",
"assigned": true,
"usedConstants": [
"Eq.m... | [
"α : Type u_1\nf : α → ℕ\na b : α\ninst✝ : DecidableEq α\nh : a ≠ b\n⊢ ((f a).succ + (f b).succ).choose (f a).succ = ((f a).succ + f b).choose (f a).succ + (f a + (f b).succ).choose (f a)"
] | ite_eq_right h.symm | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.MvPolynomial.Division | {
"line": 228,
"column": 56
} | {
"line": 228,
"column": 74
} | {
"line": 228,
"column": 75
} | [
{
"pp": "σ : Type u_1\nR : Type u_2\ninst✝¹ : CommSemiring R\ninst✝ : IsLeftCancelAdd R\ni : σ\np q r : MvPolynomial σ R\nh : p = X i * q + r\nhr : ∀ n ∈ r.support, n i = 0\nn : σ →₀ ℕ\n⊢ q.coeff n = ((X i * q).coeff + r.coeff) (Finsupp.single i 1 + n)",
"ppTerm": "?m.61",
"assigned": true,
"usedCon... | [
"σ : Type u_1\nR : Type u_2\ninst✝¹ : CommSemiring R\ninst✝ : IsLeftCancelAdd R\ni : σ\np q r : MvPolynomial σ R\nh : p = X i * q + r\nhr : ∀ n ∈ r.support, n i = 0\nn : σ →₀ ℕ\n⊢ q.coeff n = (X i * q).coeff (Finsupp.single i 1 + n) + r.coeff (Finsupp.single i 1 + n)"
] | Finsupp.add_apply, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.MvPolynomial.Polynomial | {
"line": 27,
"column": 2
} | {
"line": 32,
"column": 13
} | {
"line": 34,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_2\nσ : Type u_3\ninst✝¹ : CommSemiring R\ninst✝ : CommSemiring S\nx : S\nf : R →+* Polynomial S\ng : σ → Polynomial S\np : MvPolynomial σ R\n⊢ Polynomial.eval x (eval₂ f g p) = eval₂ ((Polynomial.evalRingHom x).comp f) (fun s ↦ Polynomial.eval x (g s)) p",
"ppTerm": "?m.30"... | [] | apply induction_on p
· simp
· intro p q hp hq
simp [hp, hq]
· intro p n hp
simp [hp] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.MvPolynomial.Polynomial | {
"line": 27,
"column": 2
} | {
"line": 32,
"column": 13
} | {
"line": 34,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_2\nσ : Type u_3\ninst✝¹ : CommSemiring R\ninst✝ : CommSemiring S\nx : S\nf : R →+* Polynomial S\ng : σ → Polynomial S\np : MvPolynomial σ R\n⊢ Polynomial.eval x (eval₂ f g p) = eval₂ ((Polynomial.evalRingHom x).comp f) (fun s ↦ Polynomial.eval x (g s)) p",
"ppTerm": "?m.30"... | [] | apply induction_on p
· simp
· intro p q hp hq
simp [hp, hq]
· intro p n hp
simp [hp] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.MvPolynomial.Expand | {
"line": 97,
"column": 4
} | {
"line": 98,
"column": 37
} | {
"line": 100,
"column": 0
} | [
{
"pp": "σ : Type u_1\nR : Type u_3\ninst✝ : CommSemiring R\nn : ℕ\nhn : 0 < n\ng g' : MvPolynomial σ R\nH : (expand n) g = (expand n) g'\nd : σ →₀ ℕ\n⊢ g.coeff d = g'.coeff d",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Finsupp.instFunLike",
"Eq.mpr",
... | [] | rw [← coeff_expand_smul _ (n.ne_zero_iff_zero_lt.mpr hn), H, coeff_expand_smul _
(n.ne_zero_iff_zero_lt.mpr hn)] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Data.Nat.Choose.Multinomial | {
"line": 496,
"column": 4
} | {
"line": 496,
"column": 59
} | {
"line": 497,
"column": 4
} | [
{
"pp": "case succ\nm : Multiset ℕ\nk : ℕ\nhk : (k • m).multinomial = (Nat.multinomial (Finset.range k) fun x ↦ m.sum) * m.multinomial ^ k\n⊢ (m.sum + k • m.sum).choose m.sum * m.multinomial *\n ((Nat.multinomial (Finset.range k) fun x ↦ m.sum) * m.multinomial ^ k) =\n ((m.sum + ∑ i ∈ Finset.range k, m.... | [
"case succ\nm : Multiset ℕ\nk : ℕ\nhk : (k • m).multinomial = (Nat.multinomial (Finset.range k) fun x ↦ m.sum) * m.multinomial ^ k\n⊢ (m.sum + k * m.sum).choose m.sum * m.multinomial *\n ((Nat.multinomial (Finset.range k) fun x ↦ m.sum) * m.multinomial ^ k) =\n ((m.sum + k * m.sum).choose m.sum * Nat.multin... | simp [smul_eq_mul, Finset.sum_const, Finset.card_range] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Order.GameAdd | {
"line": 138,
"column": 55
} | {
"line": 138,
"column": 96
} | {
"line": 138,
"column": 96
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nrα✝ : α → α → Prop\nrβ : β → β → Prop\na : α\nb : β\nrα : α → α → Prop\na₁ b₁ a₂ b₂ : α\n⊢ (Prod.GameAdd rα rα (a₁, b₁) (a₂, b₂) ∨ Prod.GameAdd rα rα (b₁, a₁) (a₂, b₂)) =\n (Prod.GameAdd rα rα (b₁, a₁) (a₂, b₂) ∨ Prod.GameAdd rα rα (a₁, b₁) (a₂, b₂)) ∧\n (Prod.GameAd... | [
"α : Type u_1\nβ : Type u_2\nrα✝ : α → α → Prop\nrβ : β → β → Prop\na : α\nb : β\nrα : α → α → Prop\na₁ b₁ a₂ b₂ : α\n⊢ (Prod.GameAdd rα rα (a₁, b₁) (a₂, b₂) ∨ Prod.GameAdd rα rα (b₁, a₁) (a₂, b₂)) =\n (Prod.GameAdd rα rα (b₁, a₁) (a₂, b₂) ∨ Prod.GameAdd rα rα (a₁, b₁) (a₂, b₂)) ∧\n (Prod.GameAdd rα rα (a₁,... | Prod.gameAdd_swap_swap_mk _ _ a₁ b₂ b₁ a₂ | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Order.GameAdd | {
"line": 142,
"column": 97
} | {
"line": 144,
"column": 5
} | {
"line": 146,
"column": 0
} | [
{
"pp": "α : Type u_1\nrα : α → α → Prop\n⊢ ∀ {x y : α × α}, GameAdd rα s(x.1, x.2) s(y.1, y.2) ↔ Prod.GameAdd rα rα x y ∨ Prod.GameAdd rα rα x.swap y",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"Sym2.mk",
"Prod.GameAdd",
"Iff.rfl",
"Prod.mk",
"Prod.fst",
... | [] | by
rintro ⟨_, _⟩ ⟨_, _⟩
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.MvPolynomial.NoZeroDivisors | {
"line": 58,
"column": 9
} | {
"line": 58,
"column": 43
} | {
"line": 58,
"column": 43
} | [
{
"pp": "R : Type u_1\nσ : Type u_2\nn : σ\ninst✝¹ : CommSemiring R\ninst✝ : NoZeroDivisors R\nι : Type u_3\nf : ι → MvPolynomial σ R\nnontrivial : Nontrivial (MvPolynomial σ R)\na : ι\ns : Finset ι\na_not_mem : a ∉ s\nih : (∀ i ∈ s, f i ≠ 0) → degreeOf n (∏ i ∈ s, f i) = ∑ i ∈ s, degreeOf n (f i)\nha : ¬f a = ... | [] | by rw [prod_ne_zero_iff]; exact hs | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.MvPolynomial.NoZeroDivisors | {
"line": 154,
"column": 2
} | {
"line": 160,
"column": 30
} | {
"line": 162,
"column": 0
} | [
{
"pp": "R : Type u_1\nσ : Type u_2\ninst✝¹ : CommRing R\ninst✝ : NoZeroDivisors R\np : MvPolynomial σ R\nn : σ →₀ ℕ\n⊢ p ∣ (monomial n) 1 ↔ ∃ m u, m ≤ n ∧ IsUnit u ∧ p = (monomial m) u",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [
"Nontrivial",
"Eq.mpr",
"Finsupp.instL... | [] | rcases subsingleton_or_nontrivial R with hR | hR
· suffices ∃ m, m ≤ n by simpa [Subsingleton.elim _ p]
use n
rw [dvd_monomial_iff_exists (one_ne_zero' R)]
apply exists_congr
intro m
simp_rw [isUnit_iff_dvd_one] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.MvPolynomial.NoZeroDivisors | {
"line": 154,
"column": 2
} | {
"line": 160,
"column": 30
} | {
"line": 162,
"column": 0
} | [
{
"pp": "R : Type u_1\nσ : Type u_2\ninst✝¹ : CommRing R\ninst✝ : NoZeroDivisors R\np : MvPolynomial σ R\nn : σ →₀ ℕ\n⊢ p ∣ (monomial n) 1 ↔ ∃ m u, m ≤ n ∧ IsUnit u ∧ p = (monomial m) u",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [
"Nontrivial",
"Eq.mpr",
"Finsupp.instL... | [] | rcases subsingleton_or_nontrivial R with hR | hR
· suffices ∃ m, m ≤ n by simpa [Subsingleton.elim _ p]
use n
rw [dvd_monomial_iff_exists (one_ne_zero' R)]
apply exists_congr
intro m
simp_rw [isUnit_iff_dvd_one] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.MvPolynomial.MonomialOrder | {
"line": 164,
"column": 30
} | {
"line": 164,
"column": 41
} | {
"line": 164,
"column": 41
} | [
{
"pp": "σ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝¹ : CommSemiring R\ninst✝ : Subsingleton R\nf : MvPolynomial σ R\n⊢ m.degree 0 = 0",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.instMulZeroClass",
"AddMonoidAlgebra.semiring",
"congrArg... | [
"σ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝¹ : CommSemiring R\ninst✝ : Subsingleton R\nf : MvPolynomial σ R\n⊢ 0 = 0"
] | degree_zero | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.MvPolynomial.MonomialOrder | {
"line": 362,
"column": 53
} | {
"line": 362,
"column": 71
} | {
"line": 362,
"column": 72
} | [
{
"pp": "case a\nσ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝ : CommSemiring R\nf g : MvPolynomial σ R\nh : m.toSyn (m.degree g) < m.toSyn (m.degree f)\n⊢ (f.coeff + g.coeff) (m.degree f) ≠ 0",
"ppTerm": "?a✝",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr... | [
"case a\nσ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝ : CommSemiring R\nf g : MvPolynomial σ R\nh : m.toSyn (m.degree g) < m.toSyn (m.degree f)\n⊢ f.coeff (m.degree f) + g.coeff (m.degree f) ≠ 0"
] | Finsupp.add_apply, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Factorization.PrimePow | {
"line": 64,
"column": 47
} | {
"line": 64,
"column": 82
} | {
"line": 64,
"column": 82
} | [
{
"pp": "n : ℕ\nhn : 2 ≤ n\n⊢ ¬#n.primeFactors = 1 ↔ n.primeFactors.Nontrivial",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Finset.one_lt_card_iff_nontrivial",
"congrArg",
"id",
"instOfNatNat",
"Iff",
"Nat",
"LT.lt",
"Fins... | [
"n : ℕ\nhn : 2 ≤ n\n⊢ ¬#n.primeFactors = 1 ↔ 1 < #n.primeFactors"
] | ← Finset.one_lt_card_iff_nontrivial | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.MvPolynomial.MonomialOrder | {
"line": 620,
"column": 23
} | {
"line": 620,
"column": 34
} | {
"line": 620,
"column": 34
} | [
{
"pp": "case neg\nσ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝¹ : CommSemiring R\ninst✝ : IsReduced R\nf : MvPolynomial σ R\nn : ℕ\nhf : f = 0\nhn : ¬n = 0\n⊢ m.degree 0 = 0",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.instMulZeroClass",
"AddM... | [
"case neg\nσ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝¹ : CommSemiring R\ninst✝ : IsReduced R\nf : MvPolynomial σ R\nn : ℕ\nhf : f = 0\nhn : ¬n = 0\n⊢ 0 = 0"
] | degree_zero | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Squarefree | {
"line": 308,
"column": 2
} | {
"line": 308,
"column": 52
} | {
"line": 309,
"column": 2
} | [
{
"pp": "n : ℕ\n⊢ ∃ a b, b ^ 2 * a = n ∧ Squarefree a",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"HMul.hMul",
"MulZeroClass.toMul",
"Nat.instMonoid",
"Exists",
"Nat.instUniqueFactorizationMonoid",
"instMulNat",
"instOfNatNat",
"CommMonoi... | [
"n b a : ℕ\nh : b ^ 2 * a = n\nhs : Squarefree a\n⊢ ∃ a b, b ^ 2 * a = n ∧ Squarefree a"
] | obtain ⟨b, a, h, hs⟩ := exists_sq_mul_squarefree n | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.Data.Nat.Squarefree | {
"line": 313,
"column": 2
} | {
"line": 313,
"column": 52
} | {
"line": 314,
"column": 2
} | [
{
"pp": "n : ℕ\nhn : 0 < n\n⊢ ∃ a b, 0 < a ∧ 0 < b ∧ b ^ 2 * a = n ∧ Squarefree a",
"ppTerm": "?m.48",
"assigned": true,
"usedConstants": [
"HMul.hMul",
"MulZeroClass.toMul",
"Nat.instMonoid",
"Exists",
"Nat.instUniqueFactorizationMonoid",
"instMulNat",
"ins... | [
"n : ℕ\nhn : 0 < n\nb a : ℕ\nh : b ^ 2 * a = n\nhs : Squarefree a\n⊢ ∃ a b, 0 < a ∧ 0 < b ∧ b ^ 2 * a = n ∧ Squarefree a"
] | obtain ⟨b, a, h, hs⟩ := exists_sq_mul_squarefree n | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.NumberTheory.ArithmeticFunction.Zeta | {
"line": 201,
"column": 3
} | {
"line": 201,
"column": 19
} | {
"line": 201,
"column": 19
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nf g : ArithmeticFunction R\nhf : f.IsMultiplicative\nhg : g.IsMultiplicative\n⊢ (f.pmul g) 1 = 1",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"ArithmeticFunction.pmul",
"MulOne.toOne",
"HMul.hMul",
"ArithmeticFunctio... | [] | by simp [hf, hg] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.NumberTheory.ArithmeticFunction.Zeta | {
"line": 208,
"column": 3
} | {
"line": 208,
"column": 19
} | {
"line": 208,
"column": 19
} | [
{
"pp": "R : Type u_1\ninst✝ : CommGroupWithZero R\nf g : ArithmeticFunction R\nhf : f.IsMultiplicative\nhg : g.IsMultiplicative\n⊢ (f.pdiv g) 1 = 1",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"GroupWithZero.toMonoidWithZero",
"MulOne.toOne",
"False",
"instHDiv"... | [] | by simp [hf, hg] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.NumberTheory.ArithmeticFunction.Misc | {
"line": 177,
"column": 82
} | {
"line": 178,
"column": 38
} | {
"line": 180,
"column": 0
} | [
{
"pp": "k n : ℕ\n⊢ (σ k) n = ∑ d ∈ n.divisors, (n / d) ^ k",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.instMulZeroClass",
"instHDiv",
"ArithmeticFunction.instFunLikeNat",
"ArithmeticFunction.sigma_apply",
"congrArg",
"Nat.instMo... | [] | by
rw [sigma_apply, ← sum_div_divisors] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.MvPolynomial.MonomialOrder | {
"line": 1188,
"column": 34
} | {
"line": 1190,
"column": 18
} | {
"line": 1192,
"column": 0
} | [
{
"pp": "σ : Type u_1\nm : MonomialOrder σ\nR : Type u_2\ninst✝ : CommRing R\nf : MvPolynomial σ R\n⊢ m.degree (-f) = m.degree f",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MonomialOrder.linearOrderSyn",
"NegZeroClass.toNeg",
"Nat.instMulZeroClass",
... | [] | by
unfold degree
rw [support_neg] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.NumberTheory.ArithmeticFunction.Misc | {
"line": 386,
"column": 4
} | {
"line": 386,
"column": 57
} | {
"line": 387,
"column": 4
} | [
{
"pp": "case cons\nι : Type u_2\nf : ι → ℕ\na : ι\ns : Finset ι\nha : a ∉ s\nih : (↑s).Pairwise (Coprime on f) → ω (∏ i ∈ s, f i) = ∑ i ∈ s, ω (f i)\nh : (↑(cons a s ha)).Pairwise (Coprime on f)\n⊢ ω (∏ i ∈ cons a s ha, f i) = ∑ i ∈ cons a s ha, ω (f i)",
"ppTerm": "?cons",
"assigned": true,
"usedC... | [
"case cons\nι : Type u_2\nf : ι → ℕ\na : ι\ns : Finset ι\nha : a ∉ s\nih : (↑s).Pairwise (Coprime on f) → ω (∏ i ∈ s, f i) = ∑ i ∈ s, ω (f i)\nh : (↑(cons a s ha)).Pairwise (Coprime on f)\n⊢ (↑s).Pairwise (Coprime on f)",
"case cons\nι : Type u_2\nf : ι → ℕ\na : ι\ns : Finset ι\nha : a ∉ s\nih : (↑s).Pairwise (Co... | rw [prod_cons, sum_cons, cardDistinctFactors_mul, ih] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Order.CompleteField | {
"line": 59,
"column": 4
} | {
"line": 59,
"column": 21
} | {
"line": 60,
"column": 4
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\ninst✝² : Field α\ninst✝¹ : ConditionallyCompleteLinearOrder α\ninst✝ : IsStrictOrderedRing α\n⊢ ∀ (x : α), ∃ n, x < ↑n",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"Mathlib.Tactic.Push.not_forall_eq",
"Mathlib.Tactic.Push.no... | [
"α : Type u_1\nβ : Type u_2\nγ : Type u_3\ninst✝² : Field α\ninst✝¹ : ConditionallyCompleteLinearOrder α\ninst✝ : IsStrictOrderedRing α\nx : α\nh : ∀ (n : ℕ), ↑n ≤ x\n⊢ False"
] | by_contra! ⟨x, h⟩ | Mathlib.Tactic.ByContra._aux_Mathlib_Tactic_ByContra___macroRules_Mathlib_Tactic_ByContra_byContra!_1 | Mathlib.Tactic.ByContra.byContra! |
Mathlib.Algebra.Order.CompleteField | {
"line": 243,
"column": 6
} | {
"line": 243,
"column": 16
} | {
"line": 243,
"column": 16
} | [
{
"pp": "case inr\nα : Type u_1\nβ : Type u_2\ninst✝⁶ : Field α\ninst✝⁵ : LinearOrder α\ninst✝⁴ : IsStrictOrderedRing α\ninst✝³ : Field β\ninst✝² : ConditionallyCompleteLinearOrder β\ninst✝¹ : IsStrictOrderedRing β\ninst✝ : Archimedean α\na : α\nha : 0 < a\nb : β\nhba : b < inducedMap α β a * inducedMap α β a\n... | [
"case inr\nα : Type u_1\nβ : Type u_2\ninst✝⁶ : Field α\ninst✝⁵ : LinearOrder α\ninst✝⁴ : IsStrictOrderedRing α\ninst✝³ : Field β\ninst✝² : ConditionallyCompleteLinearOrder β\ninst✝¹ : IsStrictOrderedRing β\ninst✝ : Archimedean α\na : α\nha : 0 < a\nb : β\nhba : b < inducedMap α β a * inducedMap α β a\nhb : 0 ≤ b\n... | ← cast_pow | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.ArithmeticFunction.Defs | {
"line": 538,
"column": 27
} | {
"line": 538,
"column": 88
} | {
"line": 538,
"column": 89
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nf g : ArithmeticFunction R\nhf : f.IsMultiplicative\nhg : g.IsMultiplicative\na1 a2 b1 b2 : ℕ\nha : ((a1, a2), b1, b2).1.1 * ((a1, a2), b1, b2).1.2 ≠ 0\ncop : (((a1, a2), b1, b2).1.1 * ((a1, a2), b1, b2).1.2).Coprime (((a1, a2), b1, b2).2.1 * ((a1, a2), b1, b2).2.2... | [
"R : Type u_1\ninst✝ : CommSemiring R\nf g : ArithmeticFunction R\nhf : f.IsMultiplicative\nhg : g.IsMultiplicative\na1 a2 b1 b2 : ℕ\nha : ((a1, a2), b1, b2).1.1 * ((a1, a2), b1, b2).1.2 ≠ 0\ncop : (((a1, a2), b1, b2).1.1 * ((a1, a2), b1, b2).1.2).Coprime (((a1, a2), b1, b2).2.1 * ((a1, a2), b1, b2).2.2)\nhb : ((a1... | cop.coprime_mul_left.coprime_mul_right_right.symm.gcd_eq_one, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.ArithmeticFunction.Defs | {
"line": 541,
"column": 10
} | {
"line": 541,
"column": 71
} | {
"line": 541,
"column": 72
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nf g : ArithmeticFunction R\nhf : f.IsMultiplicative\nhg : g.IsMultiplicative\na1 a2 b1 b2 : ℕ\nha : ((a1, a2), b1, b2).1.1 * ((a1, a2), b1, b2).1.2 ≠ 0\nhb : ((a1, a2), b1, b2).2.1 * ((a1, a2), b1, b2).2.2 ≠ 0\nc1 c2 d1 d2 : ℕ\ncop : (((c1, c2), d1, d2).1.1 * ((c1,... | [
"R : Type u_1\ninst✝ : CommSemiring R\nf g : ArithmeticFunction R\nhf : f.IsMultiplicative\nhg : g.IsMultiplicative\na1 a2 b1 b2 : ℕ\nha : ((a1, a2), b1, b2).1.1 * ((a1, a2), b1, b2).1.2 ≠ 0\nhb : ((a1, a2), b1, b2).2.1 * ((a1, a2), b1, b2).2.2 ≠ 0\nc1 c2 d1 d2 : ℕ\ncop : (((c1, c2), d1, d2).1.1 * ((c1, c2), d1, d2... | cop.coprime_mul_left.coprime_mul_right_right.symm.gcd_eq_one, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.Archimedean.Class | {
"line": 537,
"column": 2
} | {
"line": 537,
"column": 38
} | {
"line": 539,
"column": 0
} | [
{
"pp": "M : Type u_1\ninst✝⁵ : CommGroup M\ninst✝⁴ : LinearOrder M\ninst✝³ : IsOrderedMonoid M\na b : M\nN : Type u_2\ninst✝² : CommGroup N\ninst✝¹ : LinearOrder N\ninst✝ : IsOrderedMonoid N\nf : M →*o N\nh : mk a = mk b\n⊢ mk (f a) = mk (f b)",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants":... | [] | rw [← orderHom_mk, ← orderHom_mk, h] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Order.Archimedean.Class | {
"line": 537,
"column": 2
} | {
"line": 537,
"column": 38
} | {
"line": 539,
"column": 0
} | [
{
"pp": "M : Type u_1\ninst✝⁵ : CommGroup M\ninst✝⁴ : LinearOrder M\ninst✝³ : IsOrderedMonoid M\na b : M\nN : Type u_2\ninst✝² : CommGroup N\ninst✝¹ : LinearOrder N\ninst✝ : IsOrderedMonoid N\nf : M →*o N\nh : mk a = mk b\n⊢ mk (f a) = mk (f b)",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants":... | [] | rw [← orderHom_mk, ← orderHom_mk, h] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.Archimedean.Class | {
"line": 537,
"column": 2
} | {
"line": 537,
"column": 38
} | {
"line": 539,
"column": 0
} | [
{
"pp": "M : Type u_1\ninst✝⁵ : CommGroup M\ninst✝⁴ : LinearOrder M\ninst✝³ : IsOrderedMonoid M\na b : M\nN : Type u_2\ninst✝² : CommGroup N\ninst✝¹ : LinearOrder N\ninst✝ : IsOrderedMonoid N\nf : M →*o N\nh : mk a = mk b\n⊢ mk (f a) = mk (f b)",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants":... | [] | rw [← orderHom_mk, ← orderHom_mk, h] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.NumberTheory.ArithmeticFunction.Defs | {
"line": 644,
"column": 2
} | {
"line": 648,
"column": 42
} | {
"line": 650,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nι : Type u_2\nf : ι → ArithmeticFunction R\ns : Finset ι\nhf : ∀ i ∈ s, (f i).IsMultiplicative\n⊢ (∏ i ∈ s, f i).IsMultiplicative",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"HMul.hMul",
"F... | [] | induction s using Finset.cons_induction
case empty => simp
case cons a s ha ih =>
rw [Finset.prod_cons]
exact (hf a (by grind)).mul (by grind) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.NumberTheory.ArithmeticFunction.Defs | {
"line": 644,
"column": 2
} | {
"line": 648,
"column": 42
} | {
"line": 650,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nι : Type u_2\nf : ι → ArithmeticFunction R\ns : Finset ι\nhf : ∀ i ∈ s, (f i).IsMultiplicative\n⊢ (∏ i ∈ s, f i).IsMultiplicative",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"HMul.hMul",
"F... | [] | induction s using Finset.cons_induction
case empty => simp
case cons a s ha ih =>
rw [Finset.prod_cons]
exact (hf a (by grind)).mul (by grind) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Order.Group.Ideal | {
"line": 44,
"column": 4
} | {
"line": 44,
"column": 27
} | {
"line": 45,
"column": 4
} | [
{
"pp": "case mp\nM : Type u_1\ninst✝³ : CommMonoid M\ninst✝² : PartialOrder M\ninst✝¹ : WellQuasiOrderedLE M\ninst✝ : CanonicallyOrderedMul M\nI : SemigroupIdeal M\nhpwo : {x | x ∈ I}.IsPWO\nx : M\nhx : x ∈ I\nz : M\nhz : ∃ c, x = c * z\nhz' : Minimal (fun x ↦ x ∈ {x | x ∈ I}) z\n⊢ ∃ y z, Minimal (fun x ↦ x ∈ ... | [
"case mp\nM : Type u_1\ninst✝³ : CommMonoid M\ninst✝² : PartialOrder M\ninst✝¹ : WellQuasiOrderedLE M\ninst✝ : CanonicallyOrderedMul M\nI : SemigroupIdeal M\nhpwo : {x | x ∈ I}.IsPWO\nz : M\nhz' : Minimal (fun x ↦ x ∈ {x | x ∈ I}) z\ny : M\nhx : y * z ∈ I\n⊢ ∃ y_1 z_1, Minimal (fun x ↦ x ∈ I) z_1 ∧ y_1 * z_1 = y * ... | rcases hz with ⟨y, rfl⟩ | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases | Lean.Parser.Tactic.rcases |
Mathlib.Algebra.Order.Group.Int.Sum | {
"line": 54,
"column": 12
} | {
"line": 54,
"column": 14
} | {
"line": 54,
"column": 14
} | [
{
"pp": "case refine_1\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, x ≤ c\nx : ℕ\n⊢ x ∈ range #s → c - ↑x ∈ Ioc (c - ↑(#s)) c",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"Finset",
"Membership.mem",
"Int",
"Finset.range",
"Finset.instSetLike",
"Nat",
... | [
"case refine_1\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, x ≤ c\nx : ℕ\nmx : x ∈ range #s\n⊢ c - ↑x ∈ Ioc (c - ↑(#s)) c"
] | mx | Lean.Elab.Tactic.evalIntro | ident |
Mathlib.Algebra.Order.Group.Int.Sum | {
"line": 55,
"column": 12
} | {
"line": 55,
"column": 14
} | {
"line": 55,
"column": 15
} | [
{
"pp": "case refine_2\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, x ≤ c\nx : ℕ\n⊢ x ∈ ↑(range #s) → ∀ ⦃x₂ : ℕ⦄, x₂ ∈ ↑(range #s) → (fun x ↦ c - ↑x) x = (fun x ↦ c - ↑x) x₂ → x = x₂",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"Finset",
"Membership.mem",
"Int",
"Fins... | [
"case refine_2\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, x ≤ c\nx : ℕ\nmx : x ∈ ↑(range #s)\n⊢ ∀ ⦃x₂ : ℕ⦄, x₂ ∈ ↑(range #s) → (fun x ↦ c - ↑x) x = (fun x ↦ c - ↑x) x₂ → x = x₂"
] | mx | Lean.Elab.Tactic.evalIntro | ident |
Mathlib.Algebra.Order.Group.Int.Sum | {
"line": 56,
"column": 12
} | {
"line": 56,
"column": 14
} | {
"line": 56,
"column": 14
} | [
{
"pp": "case refine_3\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, x ≤ c\nx : ℤ\n⊢ x ∈ ↑(Ioc (c - ↑(#s)) c) → x ∈ (fun x ↦ c - ↑x) '' ↑(range #s)",
"ppTerm": "?refine_3",
"assigned": true,
"usedConstants": [
"Finset",
"HSub.hSub",
"Membership.mem",
"Int.instPreorder",
"Int",
... | [
"case refine_3\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, x ≤ c\nx : ℤ\nmx : x ∈ ↑(Ioc (c - ↑(#s)) c)\n⊢ x ∈ (fun x ↦ c - ↑x) '' ↑(range #s)"
] | mx | Lean.Elab.Tactic.evalIntro | ident |
Mathlib.Algebra.Order.Group.Int.Sum | {
"line": 80,
"column": 12
} | {
"line": 80,
"column": 14
} | {
"line": 80,
"column": 14
} | [
{
"pp": "case refine_1\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, c ≤ x\nx : ℕ\n⊢ x ∈ range #s → c + ↑x ∈ Ico c (c + ↑(#s))",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"Finset",
"Membership.mem",
"Int",
"Finset.range",
"Finset.instSetLike",
"Nat",
... | [
"case refine_1\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, c ≤ x\nx : ℕ\nmx : x ∈ range #s\n⊢ c + ↑x ∈ Ico c (c + ↑(#s))"
] | mx | Lean.Elab.Tactic.evalIntro | ident |
Mathlib.Algebra.Order.Group.Int.Sum | {
"line": 81,
"column": 12
} | {
"line": 81,
"column": 14
} | {
"line": 81,
"column": 15
} | [
{
"pp": "case refine_2\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, c ≤ x\nx : ℕ\n⊢ x ∈ ↑(range #s) → ∀ ⦃x₂ : ℕ⦄, x₂ ∈ ↑(range #s) → (fun x ↦ c + ↑x) x = (fun x ↦ c + ↑x) x₂ → x = x₂",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"Finset",
"Membership.mem",
"Int",
"Fins... | [
"case refine_2\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, c ≤ x\nx : ℕ\nmx : x ∈ ↑(range #s)\n⊢ ∀ ⦃x₂ : ℕ⦄, x₂ ∈ ↑(range #s) → (fun x ↦ c + ↑x) x = (fun x ↦ c + ↑x) x₂ → x = x₂"
] | mx | Lean.Elab.Tactic.evalIntro | ident |
Mathlib.Algebra.Order.Group.Int.Sum | {
"line": 82,
"column": 12
} | {
"line": 82,
"column": 14
} | {
"line": 82,
"column": 14
} | [
{
"pp": "case refine_3\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, c ≤ x\nx : ℤ\n⊢ x ∈ ↑(Ico c (c + ↑(#s))) → x ∈ (fun x ↦ c + ↑x) '' ↑(range #s)",
"ppTerm": "?refine_3",
"assigned": true,
"usedConstants": [
"Finset",
"Membership.mem",
"Finset.Ico",
"Int.instPreorder",
"Int",
... | [
"case refine_3\ns : Finset ℤ\nc : ℤ\nhs : ∀ x ∈ s, c ≤ x\nx : ℤ\nmx : x ∈ ↑(Ico c (c + ↑(#s)))\n⊢ x ∈ (fun x ↦ c + ↑x) '' ↑(range #s)"
] | mx | Lean.Elab.Tactic.evalIntro | ident |
Mathlib.Algebra.Order.GroupWithZero.Bounds | {
"line": 29,
"column": 2
} | {
"line": 29,
"column": 59
} | {
"line": 30,
"column": 2
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\ninst✝³ : Nonempty α\ninst✝² : Preorder β\ninst✝¹ : Zero β\ninst✝ : Preorder γ\nf : α → β\ng : β → γ\nhf : BddAbove (range f)\nhf0 : 0 ≤ f\nhg : MonotoneOn g {x | 0 ≤ x}\n⊢ BddAbove (g '' range f)",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants... | [
"α : Type u_1\nβ : Type u_2\nγ : Type u_3\ninst✝³ : Nonempty α\ninst✝² : Preorder β\ninst✝¹ : Zero β\ninst✝ : Preorder γ\nf : α → β\ng : β → γ\nhf : BddAbove (range f)\nhf0 : 0 ≤ f\nhg : MonotoneOn g {x | 0 ≤ x}\n⊢ (upperBounds (range f) ∩ {x | 0 ≤ x}).Nonempty"
] | apply hg.map_bddAbove (by rintro x ⟨a, rfl⟩; exact hf0 a) | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.Algebra.Order.Module.Archimedean | {
"line": 37,
"column": 51
} | {
"line": 37,
"column": 62
} | {
"line": 37,
"column": 63
} | [
{
"pp": "M : Type u_1\ninst✝⁸ : AddCommGroup M\ninst✝⁷ : LinearOrder M\ninst✝⁶ : IsOrderedAddMonoid M\nK : Type u_2\ninst✝⁵ : Ring K\ninst✝⁴ : LinearOrder K\ninst✝³ : IsOrderedRing K\ninst✝² : Archimedean K\ninst✝¹ : Module K M\ninst✝ : PosSMulMono K M\na : M\nk : K\nh : k ≠ 0\nthis : Nontrivial K\nm : ℕ\nhm : ... | [
"M : Type u_1\ninst✝⁸ : AddCommGroup M\ninst✝⁷ : LinearOrder M\ninst✝⁶ : IsOrderedAddMonoid M\nK : Type u_2\ninst✝⁵ : Ring K\ninst✝⁴ : LinearOrder K\ninst✝³ : IsOrderedRing K\ninst✝² : Archimedean K\ninst✝¹ : Module K M\ninst✝ : PosSMulMono K M\na : M\nk : K\nh : k ≠ 0\nthis : Nontrivial K\nm : ℕ\nhm : 1 ≤ m • |k|\... | smul_assoc, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.Interval.Set.SuccPred | {
"line": 54,
"column": 2
} | {
"line": 54,
"column": 70
} | {
"line": 56,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝³ : LinearOrder α\ninst✝² : One α\ninst✝¹ : Add α\ninst✝ : SuccAddOrder α\na : α\nha : ¬IsMax a\nb : α\n⊢ Icc (a + 1) b = Ioc a b",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Set.Ioc",
"Order.succ",
"Order.succ_eq_add_one",
"congrArg"... | [] | simpa [succ_eq_add_one] using Icc_succ_left_eq_Ioc_of_not_isMax ha b | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.Algebra.Order.Interval.Set.SuccPred | {
"line": 54,
"column": 2
} | {
"line": 54,
"column": 70
} | {
"line": 56,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝³ : LinearOrder α\ninst✝² : One α\ninst✝¹ : Add α\ninst✝ : SuccAddOrder α\na : α\nha : ¬IsMax a\nb : α\n⊢ Icc (a + 1) b = Ioc a b",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Set.Ioc",
"Order.succ",
"Order.succ_eq_add_one",
"congrArg"... | [] | simpa [succ_eq_add_one] using Icc_succ_left_eq_Ioc_of_not_isMax ha b | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.Interval.Set.SuccPred | {
"line": 54,
"column": 2
} | {
"line": 54,
"column": 70
} | {
"line": 56,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝³ : LinearOrder α\ninst✝² : One α\ninst✝¹ : Add α\ninst✝ : SuccAddOrder α\na : α\nha : ¬IsMax a\nb : α\n⊢ Icc (a + 1) b = Ioc a b",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Set.Ioc",
"Order.succ",
"Order.succ_eq_add_one",
"congrArg"... | [] | simpa [succ_eq_add_one] using Icc_succ_left_eq_Ioc_of_not_isMax ha b | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Order.Interval.Basic | {
"line": 490,
"column": 4
} | {
"line": 490,
"column": 48
} | {
"line": 490,
"column": 49
} | [
{
"pp": "ι : Type u_1\nα✝ : Type u_2\ninst✝⁵ : CommGroup α✝\ninst✝⁴ : PartialOrder α✝\ninst✝³ : IsOrderedMonoid α✝\ns✝ t✝ : NonemptyInterval α✝\nα : Type u\ninst✝² : AddCommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedAddMonoid α\ns t : NonemptyInterval α\n⊢ s - t = s + -t",
"ppTerm": "?m.32",
"as... | [
"case refine_1\nι : Type u_1\nα✝ : Type u_2\ninst✝⁵ : CommGroup α✝\ninst✝⁴ : PartialOrder α✝\ninst✝³ : IsOrderedMonoid α✝\ns✝ t✝ : NonemptyInterval α✝\nα : Type u\ninst✝² : AddCommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedAddMonoid α\ns t : NonemptyInterval α\n⊢ (s - t).toProd.1 = (s + -t).toProd.1",
"ca... | refine NonemptyInterval.ext (Prod.ext ?_ ?_) | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Algebra.Order.Interval.Basic | {
"line": 494,
"column": 4
} | {
"line": 494,
"column": 48
} | {
"line": 494,
"column": 49
} | [
{
"pp": "ι : Type u_1\nα✝ : Type u_2\ninst✝⁵ : CommGroup α✝\ninst✝⁴ : PartialOrder α✝\ninst✝³ : IsOrderedMonoid α✝\ns✝ t✝ : NonemptyInterval α✝\nα : Type u\ninst✝² : AddCommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedAddMonoid α\ns t : NonemptyInterval α\n⊢ -(s + t) = -t + -s",
"ppTerm": "?m.69",
... | [
"case refine_1\nι : Type u_1\nα✝ : Type u_2\ninst✝⁵ : CommGroup α✝\ninst✝⁴ : PartialOrder α✝\ninst✝³ : IsOrderedMonoid α✝\ns✝ t✝ : NonemptyInterval α✝\nα : Type u\ninst✝² : AddCommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedAddMonoid α\ns t : NonemptyInterval α\n⊢ (-(s + t)).toProd.1 = (-t + -s).toProd.1",
... | refine NonemptyInterval.ext (Prod.ext ?_ ?_) | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Algebra.Order.Interval.Basic | {
"line": 497,
"column": 4
} | {
"line": 497,
"column": 72
} | {
"line": 498,
"column": 4
} | [
{
"pp": "ι : Type u_1\nα✝ : Type u_2\ninst✝⁵ : CommGroup α✝\ninst✝⁴ : PartialOrder α✝\ninst✝³ : IsOrderedMonoid α✝\ns✝ t✝ : NonemptyInterval α✝\nα : Type u\ninst✝² : AddCommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedAddMonoid α\ns t : NonemptyInterval α\nh : s + t = 0\n⊢ -s = t",
"ppTerm": "?m.88",
... | [
"ι : Type u_1\nα✝ : Type u_2\ninst✝⁵ : CommGroup α✝\ninst✝⁴ : PartialOrder α✝\ninst✝³ : IsOrderedMonoid α✝\ns t : NonemptyInterval α✝\nα : Type u\ninst✝² : AddCommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedAddMonoid α\na b : α\nhab : a + b = 0\nh : pure a + pure b = 0\n⊢ -pure a = pure b"
] | obtain ⟨a, b, rfl, rfl, hab⟩ := NonemptyInterval.add_eq_zero_iff.1 h | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.Algebra.Order.Interval.Basic | {
"line": 505,
"column": 4
} | {
"line": 505,
"column": 48
} | {
"line": 505,
"column": 49
} | [
{
"pp": "ι : Type u_1\nα : Type u_2\ninst✝² : CommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedMonoid α\ns✝ t✝ s t : NonemptyInterval α\n⊢ s / t = s * t⁻¹",
"ppTerm": "?m.27",
"assigned": true,
"usedConstants": [
"instDivNonemptyInterval",
"instHDiv",
"HMul.hMul",
"Part... | [
"case refine_1\nι : Type u_1\nα : Type u_2\ninst✝² : CommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedMonoid α\ns✝ t✝ s t : NonemptyInterval α\n⊢ (s / t).toProd.1 = (s * t⁻¹).toProd.1",
"case refine_2\nι : Type u_1\nα : Type u_2\ninst✝² : CommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedMonoid α\ns✝ t... | refine NonemptyInterval.ext (Prod.ext ?_ ?_) | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Algebra.Order.Interval.Basic | {
"line": 509,
"column": 4
} | {
"line": 509,
"column": 48
} | {
"line": 509,
"column": 49
} | [
{
"pp": "ι : Type u_1\nα : Type u_2\ninst✝² : CommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedMonoid α\ns✝ t✝ s t : NonemptyInterval α\n⊢ (s * t)⁻¹ = t⁻¹ * s⁻¹",
"ppTerm": "?m.64",
"assigned": true,
"usedConstants": [
"HMul.hMul",
"PartialOrder.toPreorder",
"Preorder.toLE",
... | [
"case refine_1\nι : Type u_1\nα : Type u_2\ninst✝² : CommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedMonoid α\ns✝ t✝ s t : NonemptyInterval α\n⊢ (s * t)⁻¹.toProd.1 = (t⁻¹ * s⁻¹).toProd.1",
"case refine_2\nι : Type u_1\nα : Type u_2\ninst✝² : CommGroup α\ninst✝¹ : PartialOrder α\ninst✝ : IsOrderedMonoid α\n... | refine NonemptyInterval.ext (Prod.ext ?_ ?_) | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.RingTheory.HahnSeries.Basic | {
"line": 398,
"column": 36
} | {
"line": 399,
"column": 51
} | {
"line": 401,
"column": 0
} | [
{
"pp": "Γ : Type u_1\nR : Type u_3\ninst✝² : PartialOrder Γ\ninst✝¹ : Zero R\ninst✝ : Zero Γ\nx : R⟦Γ⟧\nhx : x ≠ 0\n⊢ 0 < x.orderTop ↔ 0 < x.order",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"HahnSeries.support",
"Iff.mpr",
"HahnSeries.order",
"Preorder.toLT",
... | [] | by
simp_all [orderTop_of_ne_zero hx, order_of_ne hx] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.HahnSeries.Addition | {
"line": 459,
"column": 4
} | {
"line": 459,
"column": 19
} | {
"line": 461,
"column": 0
} | [
{
"pp": "Γ : Type u_1\nΓ' : Type u_2\nR : Type u_3\nS : Type u_4\nU : Type u_5\nV✝ : Type u_6\nα : Type u_7\ninst✝³ : PartialOrder Γ\nV : Type u_8\ninst✝² : Monoid R\ninst✝¹ : AddMonoid V\ninst✝ : DistribMulAction R V\nx✝³ x✝² : R\nx✝¹ : V⟦Γ⟧\nx✝ : Γ\n⊢ ((x✝³ * x✝²) • x✝¹).coeff x✝ = (x✝³ • x✝² • x✝¹).coeff x✝"... | [] | simp [mul_smul] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder | {
"line": 79,
"column": 6
} | {
"line": 79,
"column": 49
} | {
"line": 79,
"column": 50
} | [
{
"pp": "case isFalse\nM : Type u_1\nG : Type u_2\ninst✝⁷ : AddCancelCommMonoid M\ninst✝⁶ : LinearOrder M\ninst✝⁵ : IsOrderedAddMonoid M\ninst✝⁴ : LocallyFiniteOrder M\ninst✝³ : AddCommGroup G\ninst✝² : LinearOrder G\ninst✝¹ : IsOrderedAddMonoid G\ninst✝ : LocallyFiniteOrder G\na b : G\nthis :\n ∀ (a b : G),\n... | [
"case e'_2\nM : Type u_1\nG : Type u_2\ninst✝⁷ : AddCancelCommMonoid M\ninst✝⁶ : LinearOrder M\ninst✝⁵ : IsOrderedAddMonoid M\ninst✝⁴ : LocallyFiniteOrder M\ninst✝³ : AddCommGroup G\ninst✝² : LinearOrder G\ninst✝¹ : IsOrderedAddMonoid G\ninst✝ : LocallyFiniteOrder G\na b : G\nthis :\n ∀ (a b : G),\n a ≤ b →\n ... | convert this b a (le_of_not_ge hab) using 1 | Mathlib.Tactic._aux_Mathlib_Tactic_Convert___elabRules_Mathlib_Tactic_convert_1 | Mathlib.Tactic.convert |
Mathlib.RingTheory.HahnSeries.Lex | {
"line": 394,
"column": 4
} | {
"line": 394,
"column": 87
} | {
"line": 395,
"column": 4
} | [
{
"pp": "Γ : Type u_1\nR : Type u_2\ninst✝³ : LinearOrder Γ\ninst✝² : PartialOrder R\nΓ' : Type u_3\ninst✝¹ : LinearOrder Γ'\nf : Γ ↪o Γ'\ninst✝ : Zero R\na b : Lex R⟦Γ⟧\n⊢ (∃ i,\n (∀ j < i,\n (ofLex ({ toFun := fun a ↦ toLex (embDomain f (ofLex a)), inj' := ⋯ } a)).coeff j =\n (o... | [
"Γ : Type u_1\nR : Type u_2\ninst✝³ : LinearOrder Γ\ninst✝² : PartialOrder R\nΓ' : Type u_3\ninst✝¹ : LinearOrder Γ'\nf : Γ ↪o Γ'\ninst✝ : Zero R\na b : Lex R⟦Γ⟧\n⊢ (∃ i,\n (∀ j < i, (embDomain f (ofLex a)).coeff j = (embDomain f (ofLex b)).coeff j) ∧\n (embDomain f (ofLex a)).coeff i < (embDomain f... | simp only [Function.Embedding.coeFn_mk, ofLex_toLex, EmbeddingLike.apply_eq_iff_eq] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 294,
"column": 49
} | {
"line": 296,
"column": 21
} | {
"line": 299,
"column": 2
} | [
{
"pp": "K : Type u_1\ninst✝¹¹ : DivisionRing K\ninst✝¹⁰ : LinearOrder K\ninst✝⁹ : IsOrderedRing K\ninst✝⁸ : Archimedean K\nM : Type u_2\ninst✝⁷ : AddCommGroup M\ninst✝⁶ : LinearOrder M\ninst✝⁵ : IsOrderedAddMonoid M\ninst✝⁴ : Module K M\ninst✝³ : IsOrderedModule K M\nR : Type u_3\ninst✝² : AddCommGroup R\ninst... | [] | by
apply (seed.strictMono_coeff (f.support.min' hsupport))
simpa using! this | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Order.Ring.IsNonarchimedean | {
"line": 226,
"column": 23
} | {
"line": 226,
"column": 53
} | {
"line": 226,
"column": 53
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nR : Type u_3\ninst✝² : LinearOrder R\nf : α → R\ng : β → α\ninst✝¹ : AddCommMonoid α\nhna : IsNonarchimedean f\ninst✝ : Nonempty β\nf_zero_le : ∀ (x : α), f 0 ≤ f x\nb : β := Classical.choice ⋯\n⊢ f (∅.sum g) ≤ f (g b)",
"ppTerm": "?m.55",
"assigned": true,
"used... | [] | by simpa using f_zero_le (g b) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Order.Ring.IsNonarchimedean | {
"line": 258,
"column": 2
} | {
"line": 265,
"column": 15
} | {
"line": 267,
"column": 0
} | [
{
"pp": "α : Type u_1\nR : Type u_3\na b : α\ninst✝² : LinearOrder R\nf : α → R\nn : ℕ\ninst✝¹ : Mul R\ninst✝ : CommSemiring α\nf_mul : ∀ (x y : α), f (x * y) ≤ f x * f y\nhna : IsNonarchimedean f\n⊢ ∃ m < n + 1, f ((a + b) ^ n) ≤ f (a ^ m) * f (b ^ (n - m))",
"ppTerm": "?m.53",
"assigned": true,
"u... | [] | obtain ⟨m, hm_lt, hM⟩ := hna.finset_image_add_of_nonempty
(fun m => a ^ m * b ^ (n - m) * ↑(n.choose m)) (s := Finset.range (n + 1)) (by simp)
simp only [Finset.mem_range] at hm_lt
refine ⟨m, hm_lt, ?_⟩
simp only [← add_pow] at hM
rw [mul_comm] at hM
exact le_trans hM <| le_trans (hna.nmul_le_of_pos _ (Na... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.Ring.IsNonarchimedean | {
"line": 258,
"column": 2
} | {
"line": 265,
"column": 15
} | {
"line": 267,
"column": 0
} | [
{
"pp": "α : Type u_1\nR : Type u_3\na b : α\ninst✝² : LinearOrder R\nf : α → R\nn : ℕ\ninst✝¹ : Mul R\ninst✝ : CommSemiring α\nf_mul : ∀ (x y : α), f (x * y) ≤ f x * f y\nhna : IsNonarchimedean f\n⊢ ∃ m < n + 1, f ((a + b) ^ n) ≤ f (a ^ m) * f (b ^ (n - m))",
"ppTerm": "?m.53",
"assigned": true,
"u... | [] | obtain ⟨m, hm_lt, hM⟩ := hna.finset_image_add_of_nonempty
(fun m => a ^ m * b ^ (n - m) * ↑(n.choose m)) (s := Finset.range (n + 1)) (by simp)
simp only [Finset.mem_range] at hm_lt
refine ⟨m, hm_lt, ?_⟩
simp only [← add_pow] at hM
rw [mul_comm] at hM
exact le_trans hM <| le_trans (hna.nmul_le_of_pos _ (Na... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.