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.Portmanteau | {
"line": 731,
"column": 4
} | {
"line": 731,
"column": 56
} | {
"line": 733,
"column": 0
} | [
{
"pp": "γ : Type u_1\nΩ : Type u_2\nmΩ : MeasurableSpace Ω\ninst✝² : PseudoEMetricSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\nF : Filter γ\ninst✝ : F.IsCountablyGenerated\nμs : γ → ProbabilityMeasure Ω\nμ : ProbabilityMeasure Ω\nhne : F.NeBot\nh :\n ∀ (f : Ω → ℝ),\n (∃ C, ∀ (x y : Ω), dist (f x) (f y) ≤ C) →... | [] | exact isCoboundedUnder_le_of_le F (x := 0) (by simp) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.MeasureTheory.Measure.LevyProkhorovMetric | {
"line": 525,
"column": 2
} | {
"line": 529,
"column": 25
} | {
"line": 530,
"column": 2
} | [
{
"pp": "case neg\nΩ : Type u_1\ninst✝² : PseudoMetricSpace Ω\ninst✝¹ : MeasurableSpace Ω\ninst✝ : OpensMeasurableSpace Ω\nP : ProbabilityMeasure Ω\nG : Set Ω\nG_open : IsOpen[PseudoMetricSpace.toUniformSpace.toTopologicalSpace] G\nε : ℝ≥0∞\nε_pos : 0 < ε\neasy : ε ≤ ↑P G\nε_top : ¬ε = ∞\n⊢ {Q | ↑P G < ↑Q G + ε... | [
"case neg\nΩ : Type u_1\ninst✝² : PseudoMetricSpace Ω\ninst✝¹ : MeasurableSpace Ω\ninst✝ : OpensMeasurableSpace Ω\nP : ProbabilityMeasure Ω\nG : Set Ω\nG_open : IsOpen[PseudoMetricSpace.toUniformSpace.toTopologicalSpace] G\nε : ℝ≥0∞\nε_pos : 0 < ε\neasy : ε ≤ ↑P G\nε_top : ¬ε = ∞\naux : ↑P G - ε < liminf (fun Q ↦ ↑... | have aux : P.toMeasure G - ε < liminf (fun Q ↦ Q.toMeasure G) (𝓝 P) := by
apply lt_of_lt_of_le (ENNReal.sub_lt_self (by finiteness) _ _)
<| ProbabilityMeasure.le_liminf_measure_open_of_tendsto tendsto_id G_open
· exact (lt_of_lt_of_le ε_pos easy).ne.symm
· exact ε_pos.ne.symm | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.MeasureTheory.Integral.RieszMarkovKakutani.Real | {
"line": 444,
"column": 7
} | {
"line": 447,
"column": 18
} | {
"line": 449,
"column": 0
} | [] | [] | rieszMeasure Λ univ
_ ≤ ENNReal.ofReal (Λ o) :=
rieszMeasure_le_of_eq_one _ (fun x ↦ zero_le_one) isCompact_univ (fun x hx ↦ rfl)
_ < ⊤ := by simp | Lean.Elab.Tactic._aux_Mathlib_Tactic_Widget_Calc___elabRules_Lean_calcTactic_1 | Lean.calcSteps |
Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym | {
"line": 119,
"column": 4
} | {
"line": 128,
"column": 57
} | {
"line": 130,
"column": 0
} | [
{
"pp": "case refine_2\nα : Type u_1\nm : MeasurableSpace α\nμ : Measure α\nf : α → ℝ≥0∞\nν : Measure α\ninst✝¹ : SigmaFinite μ\ninst✝ : SigmaFinite ν\nhμν : μ ≪ ν\nhf : AEMeasurable f ν\n⊢ μ.withDensity f = 0 + ν.withDensity fun x ↦ f x * μ.rnDeriv ν x",
"ppTerm": "?refine_2",
"assigned": true,
"us... | [] | ext1 s hs
rw [zero_add, withDensity_apply _ hs, withDensity_apply _ hs]
conv_lhs => rw [← Measure.withDensity_rnDeriv_eq _ _ hμν]
rw [setLIntegral_withDensity_eq_setLIntegral_mul_non_measurable₀ _ _ _ hs]
· congr with x
rw [mul_comm]
simp only [Pi.mul_apply]
· refine ae_restrict_of_ae ?_... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym | {
"line": 119,
"column": 4
} | {
"line": 128,
"column": 57
} | {
"line": 130,
"column": 0
} | [
{
"pp": "case refine_2\nα : Type u_1\nm : MeasurableSpace α\nμ : Measure α\nf : α → ℝ≥0∞\nν : Measure α\ninst✝¹ : SigmaFinite μ\ninst✝ : SigmaFinite ν\nhμν : μ ≪ ν\nhf : AEMeasurable f ν\n⊢ μ.withDensity f = 0 + ν.withDensity fun x ↦ f x * μ.rnDeriv ν x",
"ppTerm": "?refine_2",
"assigned": true,
"us... | [] | ext1 s hs
rw [zero_add, withDensity_apply _ hs, withDensity_apply _ hs]
conv_lhs => rw [← Measure.withDensity_rnDeriv_eq _ _ hμν]
rw [setLIntegral_withDensity_eq_setLIntegral_mul_non_measurable₀ _ _ _ hs]
· congr with x
rw [mul_comm]
simp only [Pi.mul_apply]
· refine ae_restrict_of_ae ?_... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.MeasureTheory.Measure.Prokhorov | {
"line": 406,
"column": 6
} | {
"line": 406,
"column": 50
} | {
"line": 407,
"column": 6
} | [
{
"pp": "E : Type u_1\ninst✝³ : MeasurableSpace E\ninst✝² : TopologicalSpace E\ninst✝¹ : T2Space E\ninst✝ : BorelSpace E\nu : ℕ → ℝ≥0\nK : ℕ → Set E\nC : ℝ≥0\nhu : Tendsto u atTop (𝓝 0)\nhK : ∀ (n : ℕ), IsCompact (K n)\nh : NormalSpace E ∨ Monotone K\nI :\n ∀ (μ : FiniteMeasure E) (n : ℕ),\n ∑ i ∈ Finset.r... | [
"E : Type u_1\ninst✝³ : MeasurableSpace E\ninst✝² : TopologicalSpace E\ninst✝¹ : T2Space E\ninst✝ : BorelSpace E\nu : ℕ → ℝ≥0\nK : ℕ → Set E\nC : ℝ≥0\nhu : Tendsto u atTop (𝓝 0)\nhK : ∀ (n : ℕ), IsCompact (K n)\nh : NormalSpace E ∨ Monotone K\nI :\n ∀ (μ : FiniteMeasure E) (n : ℕ),\n ∑ i ∈ Finset.range (n + 1)... | convert measure_empty (μ := (ρ : Measure E)) | Mathlib.Tactic._aux_Mathlib_Tactic_Convert___elabRules_Mathlib_Tactic_convert_1 | Mathlib.Tactic.convert |
Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym | {
"line": 274,
"column": 2
} | {
"line": 284,
"column": 25
} | {
"line": 286,
"column": 0
} | [
{
"pp": "α : Type u_1\nm : MeasurableSpace α\nμ ν : Measure α\ninst✝² : μ.HaveLebesgueDecomposition ν\ninst✝¹ : ν.HaveLebesgueDecomposition μ\ninst✝ : SigmaFinite μ\nhμν : μ ≪ ν\nhνμ : ν ≪ μ\n⊢ (μ.rnDeriv ν)⁻¹ =ᵐ[μ] ν.rnDeriv μ",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"Measure... | [] | suffices μ.withDensity (μ.rnDeriv ν)⁻¹ = μ.withDensity (ν.rnDeriv μ) by
calc (μ.rnDeriv ν)⁻¹ =ᵐ[μ] (μ.withDensity (μ.rnDeriv ν)⁻¹).rnDeriv μ :=
(rnDeriv_withDensity _ (measurable_rnDeriv _ _).inv).symm
_ = (μ.withDensity (ν.rnDeriv μ)).rnDeriv μ := by rw [this]
_ =ᵐ[μ] ν.rnDeriv μ := rnDeriv_withD... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym | {
"line": 274,
"column": 2
} | {
"line": 284,
"column": 25
} | {
"line": 286,
"column": 0
} | [
{
"pp": "α : Type u_1\nm : MeasurableSpace α\nμ ν : Measure α\ninst✝² : μ.HaveLebesgueDecomposition ν\ninst✝¹ : ν.HaveLebesgueDecomposition μ\ninst✝ : SigmaFinite μ\nhμν : μ ≪ ν\nhνμ : ν ≪ μ\n⊢ (μ.rnDeriv ν)⁻¹ =ᵐ[μ] ν.rnDeriv μ",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"Measure... | [] | suffices μ.withDensity (μ.rnDeriv ν)⁻¹ = μ.withDensity (ν.rnDeriv μ) by
calc (μ.rnDeriv ν)⁻¹ =ᵐ[μ] (μ.withDensity (μ.rnDeriv ν)⁻¹).rnDeriv μ :=
(rnDeriv_withDensity _ (measurable_rnDeriv _ _).inv).symm
_ = (μ.withDensity (ν.rnDeriv μ)).rnDeriv μ := by rw [this]
_ =ᵐ[μ] ν.rnDeriv μ := rnDeriv_withD... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.MeasureTheory.Measure.Prokhorov | {
"line": 473,
"column": 44
} | {
"line": 473,
"column": 56
} | {
"line": 474,
"column": 4
} | [
{
"pp": "E : Type u_1\ninst✝³ : MeasurableSpace E\ninst✝² : TopologicalSpace E\ninst✝¹ : T2Space E\ninst✝ : BorelSpace E\nu : ℕ → ℝ≥0\nK : ℕ → Set E\nC : ℝ≥0\nhu : Tendsto u atTop (𝓝 0)\nhK : ∀ (n : ℕ), IsCompact (K n)\nI :\n ∀ (μ : FiniteMeasure E) (n : ℕ),\n ∑ i ∈ Finset.range (n + 1), μ.restrict (disjoi... | [
"E : Type u_1\ninst✝³ : MeasurableSpace E\ninst✝² : TopologicalSpace E\ninst✝¹ : T2Space E\ninst✝ : BorelSpace E\nu : ℕ → ℝ≥0\nK : ℕ → Set E\nC : ℝ≥0\nhu : Tendsto u atTop (𝓝 0)\nhK : ∀ (n : ℕ), IsCompact (K n)\nI :\n ∀ (μ : FiniteMeasure E) (n : ℕ),\n ∑ i ∈ Finset.range (n + 1), μ.restrict (disjointed K i) = ... | (hm : n ≤ m) | Lean.Elab.Tactic.evalIntro | Lean.Parser.Term.typeAscription |
Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym | {
"line": 441,
"column": 2
} | {
"line": 441,
"column": 9
} | {
"line": 443,
"column": 0
} | [
{
"pp": "α : Type u_1\nm : MeasurableSpace α\nμ ν : Measure α\ninst✝¹ : SigmaFinite μ\ninst✝ : SigmaFinite ν\nhν_ac : μ ≪ ν + μ\na : α\nh1 : (ν + μ).rnDeriv μ a = (ν.rnDeriv μ + μ.rnDeriv μ) a\nh2 : μ.rnDeriv μ a = 1\nh3 : μ.rnDeriv (ν + μ) a = (ν.rnDeriv μ a + 1)⁻¹\n⊢ μ.rnDeriv (ν + μ) a = (ν.rnDeriv μ a + 1)⁻... | [] | rw [h3] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym | {
"line": 463,
"column": 13
} | {
"line": 463,
"column": 16
} | {
"line": 463,
"column": 17
} | [
{
"pp": "α : Type u_1\nm : MeasurableSpace α\nμ ν : Measure α\ninst✝¹ : SigmaFinite μ\ninst✝ : SigmaFinite ν\na : α\n⊢ ν.rnDeriv (μ + ν) a = (μ.rnDeriv ν a + 1)⁻¹ →\n μ.rnDeriv (μ + ν) a = μ.rnDeriv ν a / (μ.rnDeriv ν a + 1) →\n μ.rnDeriv ν a < ∞ → μ.rnDeriv ν a = μ.rnDeriv (μ + ν) a / ν.rnDeriv (μ + ν)... | [
"α : Type u_1\nm : MeasurableSpace α\nμ ν : Measure α\ninst✝¹ : SigmaFinite μ\ninst✝ : SigmaFinite ν\na : α\nha1 : ν.rnDeriv (μ + ν) a = (μ.rnDeriv ν a + 1)⁻¹\n⊢ μ.rnDeriv (μ + ν) a = μ.rnDeriv ν a / (μ.rnDeriv ν a + 1) →\n μ.rnDeriv ν a < ∞ → μ.rnDeriv ν a = μ.rnDeriv (μ + ν) a / ν.rnDeriv (μ + ν) a"
] | ha1 | Lean.Elab.Tactic.evalIntro | ident |
Mathlib.Dynamics.OmegaLimit | {
"line": 283,
"column": 4
} | {
"line": 283,
"column": 97
} | {
"line": 284,
"column": 2
} | [
{
"pp": "case h.left\nτ : Type u_1\nα : Type u_2\nβ : Type u_3\ninst✝¹ : TopologicalSpace β\nf : Filter τ\nϕ : τ → α → β\ns : Set α\ninst✝ : f.NeBot\nc : Set β\nhc₁ : IsCompact c\nhs : s.Nonempty\nv : Set τ\nhv₁ : v ∈ f\nhv₂ : closure[inst✝¹] (image2 ϕ v s) ⊆ c\nu₁ : Set τ\nhu₁ : u₁ ∈ f.sets\nu₂ : Set τ\nhu₂ : ... | [] | all_goals exact closure_mono (image2_subset (inter_subset_inter_left _ (by simp)) Subset.rfl) | Lean.Elab.Tactic.evalAllGoals | Lean.Parser.Tactic.allGoals |
Mathlib.Dynamics.TopologicalEntropy.NetEntropy | {
"line": 108,
"column": 2
} | {
"line": 108,
"column": 34
} | {
"line": 110,
"column": 0
} | [
{
"pp": "X : Type u_1\nT : X → X\nU : SetRel X X\nn : ℕ\nF : Set X\ns : Finset X\nh : IsDynNetIn T F U n ↑s\n⊢ ↑s.card ≤ netMaxcard T F U n",
"ppTerm": "?m.6",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"le_refl",
"instCompleteLinearOrderENat",
"ENat.instNatCast",
"... | [] | grw [netMaxcard, ← le_iSup₂ s h] | Mathlib.Tactic.GRewrite._aux_Mathlib_Tactic_GRewrite_Elab___macroRules_Mathlib_Tactic_GRewrite_grwSeq_1 | Mathlib.Tactic.GRewrite.grwSeq |
Mathlib.Dynamics.TopologicalEntropy.NetEntropy | {
"line": 108,
"column": 2
} | {
"line": 108,
"column": 34
} | {
"line": 110,
"column": 0
} | [
{
"pp": "X : Type u_1\nT : X → X\nU : SetRel X X\nn : ℕ\nF : Set X\ns : Finset X\nh : IsDynNetIn T F U n ↑s\n⊢ ↑s.card ≤ netMaxcard T F U n",
"ppTerm": "?m.6",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"le_refl",
"instCompleteLinearOrderENat",
"ENat.instNatCast",
"... | [] | grw [netMaxcard, ← le_iSup₂ s h] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Dynamics.TopologicalEntropy.NetEntropy | {
"line": 108,
"column": 2
} | {
"line": 108,
"column": 34
} | {
"line": 110,
"column": 0
} | [
{
"pp": "X : Type u_1\nT : X → X\nU : SetRel X X\nn : ℕ\nF : Set X\ns : Finset X\nh : IsDynNetIn T F U n ↑s\n⊢ ↑s.card ≤ netMaxcard T F U n",
"ppTerm": "?m.6",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"le_refl",
"instCompleteLinearOrderENat",
"ENat.instNatCast",
"... | [] | grw [netMaxcard, ← le_iSup₂ s h] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Dynamics.TopologicalEntropy.NetEntropy | {
"line": 123,
"column": 4
} | {
"line": 123,
"column": 16
} | {
"line": 124,
"column": 4
} | [
{
"pp": "case mp\nX : Type u_1\nT : X → X\nF : Set X\nU : SetRel X X\nn : ℕ\nh : netMaxcard T F U n < ⊤\nk : ℕ\nk_max : ↑k = netMaxcard T F U n\n⊢ ∃ s, IsDynNetIn T F U n ↑s ∧ ↑s.card = netMaxcard T F U n",
"ppTerm": "?mp",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"ENat.instNatCast... | [
"case mp\nX : Type u_1\nT : X → X\nF : Set X\nU : SetRel X X\nn : ℕ\nh : netMaxcard T F U n < ⊤\nk : ℕ\nk_max : ↑k = netMaxcard T F U n\n⊢ ∃ s, IsDynNetIn T F U n ↑s ∧ ↑s.card = ↑k"
] | rw [← k_max] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Dynamics.TopologicalEntropy.NetEntropy | {
"line": 144,
"column": 4
} | {
"line": 144,
"column": 44
} | {
"line": 145,
"column": 4
} | [
{
"pp": "case mp\nX : Type u_1\nT : X → X\nF : Set X\nU : SetRel X X\nn : ℕ\nh : netMaxcard T F U n < ⊤\nk : ℕ\nk_max : ↑k = sSup (WithTop.some '' Finset.card '' {s | IsDynNetIn T F U n ↑s})\nthis : netMaxcard T F U n = sSup (WithTop.some '' Finset.card '' {s | IsDynNetIn T F U n ↑s})\nh_bdda : BddAbove (Finset... | [
"case mp\nX : Type u_1\nT : X → X\nF : Set X\nU : SetRel X X\nn : ℕ\nh : netMaxcard T F U n < ⊤\nk : ℕ\nk_max : ↑k = ↑(sSup (Finset.card '' {s | IsDynNetIn T F U n ↑s}))\nthis : netMaxcard T F U n = sSup (WithTop.some '' Finset.card '' {s | IsDynNetIn T F U n ↑s})\nh_bdda : BddAbove (Finset.card '' {s | IsDynNetIn ... | rw [← WithTop.coe_sSup' h_bdda] at k_max | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Dynamics.TopologicalEntropy.CoverEntropy | {
"line": 182,
"column": 2
} | {
"line": 184,
"column": 77
} | {
"line": 186,
"column": 0
} | [
{
"pp": "case inr.inr.refine_2\nX : Type u_1\nT : X → X\nU : SetRel X X\nF : Set X\nm : ℕ\nF_inv : MapsTo T F F\ninst✝ : U.IsSymm\nn : ℕ\ns : Finset X\nh : IsDynCoverOf T F U m ↑s\nx✝ : Nonempty X\ns_nemp : (↑s).Nonempty\nx : X\nx_F : x ∈ F\nm_pos : m > 0\ndyncover : (Fin n → ↥s) → X\nh_dyncover :\n ∀ (t : Fin... | [] | · rw [toFinset_card]
apply (Fintype.card_range_le dyncover).trans
simp only [Fintype.card_fun, Fintype.card_coe, Fintype.card_fin, le_refl] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Dynamics.TopologicalEntropy.NetEntropy | {
"line": 163,
"column": 40
} | {
"line": 163,
"column": 56
} | {
"line": 163,
"column": 56
} | [
{
"pp": "X : Type u_1\nT : X → X\nF : Set X\nU : SetRel X X\nn : ℕ\nh : F = ∅\n⊢ netMaxcard T ∅ U n = 0",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Dynamics.netMaxcard_empty",
"id",
"instZeroENat",
"ENat",
"Set.instEmptyC... | [
"X : Type u_1\nT : X → X\nF : Set X\nU : SetRel X X\nn : ℕ\nh : F = ∅\n⊢ 0 = 0"
] | netMaxcard_empty | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Dynamics.TopologicalEntropy.CoverEntropy | {
"line": 283,
"column": 8
} | {
"line": 283,
"column": 17
} | {
"line": 283,
"column": 18
} | [
{
"pp": "case inr.inl\nX : Type u_1\nT : X → X\nU : SetRel X X\nF : Set X\nF_inv : MapsTo T F F\ninst✝ : U.IsSymm\nm : ℕ\nF_nonempty : F.Nonempty\n⊢ coverMincard T F (U ○ U) (m * 0) ≤ coverMincard T F U m ^ 0",
"ppTerm": "?inr.inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.ins... | [
"case inr.inl\nX : Type u_1\nT : X → X\nU : SetRel X X\nF : Set X\nF_inv : MapsTo T F F\ninst✝ : U.IsSymm\nm : ℕ\nF_nonempty : F.Nonempty\n⊢ coverMincard T F (U ○ U) 0 ≤ coverMincard T F U m ^ 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.MeasureTheory.Measure.Prokhorov | {
"line": 541,
"column": 75
} | {
"line": 541,
"column": 93
} | {
"line": 541,
"column": 93
} | [
{
"pp": "E : Type u_1\ninst✝³ : MeasurableSpace E\ninst✝² : TopologicalSpace E\ninst✝¹ : T2Space E\ninst✝ : BorelSpace E\nu : ℕ → ℝ≥0\nK : ℕ → Set E\nhu : Tendsto u atTop (𝓝 0)\nhK : ∀ (n : ℕ), IsCompact (K n)\nh : NormalSpace E ∨ Monotone K\nμ : FiniteMeasure E\nhμ : μ.mass = 1\nh'μ : ∀ (n : ℕ), μ (K n)ᶜ ≤ u ... | [] | by simpa using! hμ | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.MeasureTheory.Measure.Prokhorov | {
"line": 561,
"column": 21
} | {
"line": 561,
"column": 34
} | {
"line": 561,
"column": 34
} | [
{
"pp": "E : Type u_1\ninst✝³ : MeasurableSpace E\ninst✝² : TopologicalSpace E\ninst✝¹ : T2Space E\ninst✝ : BorelSpace E\nS : Set (ProbabilityMeasure E)\nhS : IsTightMeasureSet {x | ∃ μ ∈ S, ↑μ = x}\nu : ℕ → ℝ≥0\nu_pos : ∀ (n : ℕ), 0 < u n\nu_lim : Tendsto u atTop (𝓝 0)\nn : ℕ\n⊢ 0 < u n",
"ppTerm": "?m.10... | [] | exact u_pos n | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Dynamics.TopologicalEntropy.Subset | {
"line": 136,
"column": 53
} | {
"line": 140,
"column": 48
} | {
"line": 142,
"column": 0
} | [
{
"pp": "X : Type u_1\nT : X → X\nF : Set X\ninst✝ : UniformSpace X\nh : Continuous T\n⊢ coverEntropy T (closure F) = coverEntropy T F",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Filter.instMembership",
"iSup₂_le",
"SetRel",
"iSup",
"subset_closure",
... | [] | by
refine (iSup₂_le fun U U_uni ↦ ?_).antisymm (coverEntropy_monotone T subset_closure)
obtain ⟨V, V_uni, V_U⟩ := comp_mem_uniformity_sets U_uni
exact le_iSup₂_of_le V V_uni ((coverEntropyEntourage_antitone T (closure F) V_U).trans
(coverEntropyEntourage_closure h F V V_uni)) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.MeasureTheory.Measure.Prokhorov | {
"line": 662,
"column": 2
} | {
"line": 662,
"column": 38
} | {
"line": 663,
"column": 2
} | [
{
"pp": "case inr\n𝓧 : Type u_1\nm𝓧 : MeasurableSpace 𝓧\ninst✝³ : PseudoMetricSpace 𝓧\ninst✝² : OpensMeasurableSpace 𝓧\ninst✝¹ : SecondCountableTopology 𝓧\nS : Set (ProbabilityMeasure 𝓧)\ninst✝ : CompleteSpace 𝓧\nhcomp : IsCompact (closure[ProbabilityMeasure.instTopologicalSpace] S)\nhnonempty : Nonempt... | [
"case inr\n𝓧 : Type u_1\nm𝓧 : MeasurableSpace 𝓧\ninst✝³ : PseudoMetricSpace 𝓧\ninst✝² : OpensMeasurableSpace 𝓧\ninst✝¹ : SecondCountableTopology 𝓧\nS : Set (ProbabilityMeasure 𝓧)\ninst✝ : CompleteSpace 𝓧\nhcomp : IsCompact (closure[ProbabilityMeasure.instTopologicalSpace] S)\nhnonempty : Nonempty 𝓧\nD : ℕ ... | obtain ⟨D, hD⟩ := exists_dense_seq 𝓧 | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.ModelTheory.Encoding | {
"line": 84,
"column": 6
} | {
"line": 86,
"column": 95
} | {
"line": 87,
"column": 4
} | [
{
"pp": "L : Language\nα : Type u'\nl✝ : List (L.Term α)\nn : ℕ\nf : L.Functions n\nts : Fin n → L.Term α\nih : ∀ (a : Fin n) (l : List (α ⊕ (i : ℕ) × L.Functions i)), listDecode ((ts a).listEncode ++ l) = ts a :: listDecode l\nl : List (α ⊕ (i : ℕ) × L.Functions i)\n⊢ listDecode (flatMap (fun i ↦ (ts i).listEn... | [] | induction finRange n with
| nil => rfl
| cons i l' l'ih => rw [flatMap_cons, List.append_assoc, ih, map_cons, l'ih, cons_append] | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | Lean.Parser.Tactic.induction |
Mathlib.ModelTheory.Substructures | {
"line": 387,
"column": 77
} | {
"line": 387,
"column": 87
} | {
"line": 387,
"column": 87
} | [
{
"pp": "L : Language\nM : Type w\ninst✝ : L.Structure M\nι : Sort u_3\nS : ι → L.Substructure M\n⊢ ⨆ i, S i = ⨆ i, (closure L).toFun ↑(S i)",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"ChainCompletePartialOrder.instOfCompleteLattice",
"congrArg",
"iSup",
"Parti... | [] | closure_eq | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.ModelTheory.Definability | {
"line": 466,
"column": 2
} | {
"line": 466,
"column": 46
} | {
"line": 468,
"column": 0
} | [
{
"pp": "M : Type u_1\nL : Language\ninst✝ : L.Structure M\nα : Type u_2\nf : (α → M) → M\n⊢ DefinableFun L ∅ f ↔ ∃ φ, tupleGraph f = ofPred φ.Realize",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"congrArg",
"Set.ofPred",
"Exists",
"iff_self",
"Iff",
... | [] | simp [DefinableFun, Set.empty_definable_iff] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.ModelTheory.Definability | {
"line": 466,
"column": 2
} | {
"line": 466,
"column": 46
} | {
"line": 468,
"column": 0
} | [
{
"pp": "M : Type u_1\nL : Language\ninst✝ : L.Structure M\nα : Type u_2\nf : (α → M) → M\n⊢ DefinableFun L ∅ f ↔ ∃ φ, tupleGraph f = ofPred φ.Realize",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"congrArg",
"Set.ofPred",
"Exists",
"iff_self",
"Iff",
... | [] | simp [DefinableFun, Set.empty_definable_iff] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.ModelTheory.Definability | {
"line": 466,
"column": 2
} | {
"line": 466,
"column": 46
} | {
"line": 468,
"column": 0
} | [
{
"pp": "M : Type u_1\nL : Language\ninst✝ : L.Structure M\nα : Type u_2\nf : (α → M) → M\n⊢ DefinableFun L ∅ f ↔ ∃ φ, tupleGraph f = ofPred φ.Realize",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"congrArg",
"Set.ofPred",
"Exists",
"iff_self",
"Iff",
... | [] | simp [DefinableFun, Set.empty_definable_iff] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.ModelTheory.Semantics | {
"line": 559,
"column": 2
} | {
"line": 559,
"column": 49
} | {
"line": 560,
"column": 2
} | [
{
"pp": "L : Language\nM : Type w\ninst✝ : L.Structure M\nα : Type u'\nv : α → M\nR : L.Relations 1\nt : L.Term α\n⊢ (R.formula₁ t).Realize v ↔ RelMap R ![Term.realize v t]",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"FirstOrder.Language.Formula.realize_rel",
... | [
"L : Language\nM : Type w\ninst✝ : L.Structure M\nα : Type u'\nv : α → M\nR : L.Relations 1\nt : L.Term α\n⊢ (RelMap R fun i ↦ Term.realize v (![t] i)) = RelMap R ![Term.realize v t]"
] | rw [Relations.formula₁, realize_rel, iff_eq_eq] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.ModelTheory.ElementaryMaps | {
"line": 185,
"column": 24
} | {
"line": 185,
"column": 53
} | {
"line": 187,
"column": 0
} | [
{
"pp": "L : Language\nM : Type u_1\nN : Type u_2\nP : Type u_3\nQ : Type u_4\ninst✝³ : L.Structure M\ninst✝² : L.Structure N\ninst✝¹ : L.Structure P\ninst✝ : L.Structure Q\nhnp : N ↪ₑ[L] P\nhmn : M ↪ₑ[L] N\nn : ℕ\nφ : L.Formula (Fin n)\nx : Fin n → M\n⊢ φ.Realize ((⇑hnp ∘ ⇑hmn) ∘ x) ↔ φ.Realize x",
"ppTerm... | [] | by simp [Function.comp_assoc] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.ModelTheory.Encoding | {
"line": 281,
"column": 21
} | {
"line": 285,
"column": 7
} | {
"line": 287,
"column": 0
} | [
{
"pp": "L : Language\nα : Type u'\nφ : (n : ℕ) × L.BoundedFormula α n\n⊢ (listDecode φ.snd.listEncode)[0]? = some φ",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"List.instGetElem?NatLtLength",
"Option.some",
"FirstOrder.Language.Term"... | [] | by
have h := listDecode_encode_list [φ]
rw [flatMap_singleton] at h
rw [h]
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.ModelTheory.Semantics | {
"line": 885,
"column": 4
} | {
"line": 885,
"column": 33
} | {
"line": 886,
"column": 4
} | [
{
"pp": "case all\nL : Language\nM : Type w\ninst✝ : L.Structure M\nα : Type u'\nn n✝ : ℕ\nf✝ : L.BoundedFormula α (n✝ + 1)\nih3 : ∀ (v : α ⊕ Fin (n✝ + 1) → M), f✝.toFormula.Realize v ↔ f✝.Realize (v ∘ Sum.inl) (v ∘ Sum.inr)\nv : α ⊕ Fin n✝ → M\na : M\nh :\n f✝.toFormula.Realize (Sum.elim (v ∘ Sum.inl) (snoc (... | [
"case all\nL : Language\nM : Type w\ninst✝ : L.Structure M\nα : Type u'\nn n✝ : ℕ\nf✝ : L.BoundedFormula α (n✝ + 1)\nih3 : ∀ (v : α ⊕ Fin (n✝ + 1) → M), f✝.toFormula.Realize v ↔ f✝.Realize (v ∘ Sum.inl) (v ∘ Sum.inr)\nv : α ⊕ Fin n✝ → M\na : M\nh :\n f✝.toFormula.Realize (Sum.elim (v ∘ Sum.inl) (snoc (v ∘ Sum.inr)... | simp only [Function.comp_def] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.ModelTheory.Ultraproducts | {
"line": 149,
"column": 2
} | {
"line": 149,
"column": 73
} | {
"line": 150,
"column": 2
} | [
{
"pp": "α : Type u_1\nM : α → Type u_2\nu : Ultrafilter α\nL : Language\ninst✝¹ : (a : α) → L.Structure (M a)\ninst✝ : ∀ (a : α), Nonempty (M a)\nβ : Type u_3\nφ : L.Formula β\nx : β → (a : α) → M a\n⊢ (φ.Realize fun i ↦ Quotient.mk' (x i)) ↔ ∀ᶠ (a : α) in ↑u, φ.Realize fun i ↦ x i a",
"ppTerm": "?m.15",
... | [
"α : Type u_1\nM : α → Type u_2\nu : Ultrafilter α\nL : Language\ninst✝¹ : (a : α) → L.Structure (M a)\ninst✝ : ∀ (a : α), Nonempty (M a)\nβ : Type u_3\nφ : L.Formula β\nx : β → (a : α) → M a\n⊢ BoundedFormula.Realize φ (fun i ↦ Quotient.mk' (x i)) default =\n BoundedFormula.Realize φ (fun i ↦ Quotient.mk' (x i)... | simp_rw [Formula.Realize, ← boundedFormula_realize_cast φ x, iff_eq_eq] | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.ModelTheory.Satisfiability | {
"line": 181,
"column": 6
} | {
"line": 181,
"column": 45
} | {
"line": 181,
"column": 45
} | [
{
"pp": "L : Language\nι : Type u_1\nT : ι → L.Theory\nh : ∀ (s : Finset ι), IsSatisfiable (⋃ i ∈ s, T i)\n⊢ IsSatisfiable (⋃ i, T i)",
"ppTerm": "?m.39",
"assigned": true,
"usedConstants": [
"FirstOrder.Language.Theory.isSatisfiable_iff_isFinitelySatisfiable",
"Eq.mpr",
"FirstOrde... | [
"L : Language\nι : Type u_1\nT : ι → L.Theory\nh : ∀ (s : Finset ι), IsSatisfiable (⋃ i ∈ s, T i)\n⊢ IsFinitelySatisfiable (⋃ i, T i)"
] | isSatisfiable_iff_isFinitelySatisfiable | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.SetTheory.Cardinal.Divisibility | {
"line": 80,
"column": 4
} | {
"line": 80,
"column": 44
} | {
"line": 81,
"column": 4
} | [
{
"pp": "n : ℕ\nh✝ : ∀ (a b : ℕ), n ∣ a * b → n ∣ a ∨ n ∣ b\nb c : Cardinal.{u_1}\nhbc : ↑n ∣ b * c\nh' : ℵ₀ ≤ b * c\nhb : b ≠ 0\nhc : c ≠ 0\nhℵ₀ : ℵ₀ ≤ b ∨ ℵ₀ ≤ c\nh : ↑n = 0\n⊢ False",
"ppTerm": "?m.173",
"assigned": true,
"usedConstants": [
"Dvd.dvd",
"HMul.hMul",
"Cardinal",
... | [
"n : ℕ\nh✝ : ∀ (a b : ℕ), n ∣ a * b → n ∣ a ∨ n ∣ b\nb c : Cardinal.{u_1}\nhbc : b = 0 ∨ c = 0\nh' : ℵ₀ ≤ b * c\nhb : b ≠ 0\nhc : c ≠ 0\nhℵ₀ : ℵ₀ ≤ b ∨ ℵ₀ ≤ c\nh : ↑n = 0\n⊢ False"
] | rw [h, zero_dvd_iff, mul_eq_zero] at hbc | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.FieldTheory.AxGrothendieck | {
"line": 208,
"column": 2
} | {
"line": 208,
"column": 27
} | {
"line": 209,
"column": 2
} | [
{
"pp": "K : Type u_1\nι : Type u_2\ninst✝³ : Field K\ninst✝² : IsAlgClosed K\ninst✝¹ : Finite ι\ninst✝ : CompatibleRing K\nc : Set K\nS : Set (ι → K)\nhS : ∃ A0, ↑A0 ⊆ c ∧ (↑A0).Definable ring S\nps : ι → MvPolynomial ι K\nthis : Fintype ι := Fintype.ofFinite ι\np : ℕ := ringChar K\n⊢ Set.MapsTo (fun v i ↦ (ev... | [
"K : Type u_1\nι : Type u_2\ninst✝³ : Field K\ninst✝² : IsAlgClosed K\ninst✝¹ : Finite ι\ninst✝ : CompatibleRing K\nc✝ : Set K\nS : Set (ι → K)\nps : ι → MvPolynomial ι K\nthis : Fintype ι := Fintype.ofFinite ι\np : ℕ := ringChar K\nc : Finset K\nleft✝ : ↑c ⊆ c✝\nhS : (↑c).Definable ring S\n⊢ Set.MapsTo (fun v i ↦ ... | rcases hS with ⟨c, _, hS⟩ | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases | Lean.Parser.Tactic.rcases |
Mathlib.FieldTheory.Finite.Polynomial | {
"line": 77,
"column": 2
} | {
"line": 84,
"column": 20
} | {
"line": 86,
"column": 0
} | [
{
"pp": "K : Type u_1\nσ : Type u_2\ninst✝² : Fintype K\ninst✝¹ : Fintype σ\ninst✝ : CommRing K\nc : σ → K\n⊢ (indicator c).degrees ≤ ∑ s, (Fintype.card K - 1) • {s}",
"ppTerm": "?m.43",
"assigned": true,
"usedConstants": [
"Finsupp.instAddZeroClass",
"Eq.mpr",
"Nat.instMulZeroClas... | [] | rw [indicator]
classical
refine degrees_prod_le.trans <| Finset.sum_le_sum fun s _ ↦ degrees_sub_le.trans ?_
rw [degrees_one, Multiset.zero_union]
refine le_trans degrees_pow_le (nsmul_le_nsmul_right ?_ _)
refine degrees_sub_le.trans ?_
rw [degrees_C, Multiset.union_zero]
exact degrees_X' _ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.FieldTheory.Finite.Polynomial | {
"line": 77,
"column": 2
} | {
"line": 84,
"column": 20
} | {
"line": 86,
"column": 0
} | [
{
"pp": "K : Type u_1\nσ : Type u_2\ninst✝² : Fintype K\ninst✝¹ : Fintype σ\ninst✝ : CommRing K\nc : σ → K\n⊢ (indicator c).degrees ≤ ∑ s, (Fintype.card K - 1) • {s}",
"ppTerm": "?m.43",
"assigned": true,
"usedConstants": [
"Finsupp.instAddZeroClass",
"Eq.mpr",
"Nat.instMulZeroClas... | [] | rw [indicator]
classical
refine degrees_prod_le.trans <| Finset.sum_le_sum fun s _ ↦ degrees_sub_le.trans ?_
rw [degrees_one, Multiset.zero_union]
refine le_trans degrees_pow_le (nsmul_le_nsmul_right ?_ _)
refine degrees_sub_le.trans ?_
rw [degrees_C, Multiset.union_zero]
exact degrees_X' _ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.FieldTheory.CardinalEmb | {
"line": 156,
"column": 62
} | {
"line": 156,
"column": 90
} | {
"line": 157,
"column": 2
} | [
{
"pp": "case refine_1\nF : Type u\nE : Type v\ninst✝³ : Field F\ninst✝² : Field E\ninst✝¹ : Algebra F E\nrank_inf : Fact (ℵ₀ ≤ Module.rank F E)\ninst✝ : Algebra.IsAlgebraic F E\ni j : (Module.rank F E).ord.ToType\nhj : j ∈ Iio i\n⊢ φ j ∈ Iio (φ i)",
"ppTerm": "?refine_1",
"assigned": true,
"usedCon... | [] | exact strictMono_leastExt hj | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.FieldTheory.IsPerfectClosure | {
"line": 226,
"column": 6
} | {
"line": 226,
"column": 14
} | {
"line": 226,
"column": 15
} | [
{
"pp": "K : Type u_1\nL : Type u_2\ninst✝⁴ : CommSemiring K\ninst✝³ : CommSemiring L\ni : K →+* L\np : ℕ\ninst✝² : IsPRadical i p\ninst✝¹ : ExpChar L p\ninst✝ : PerfectRing L p\nx : L\n⊢ liftAux i i p x = x",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"iterateFrobeniusEquiv",
... | [
"K : Type u_1\nL : Type u_2\ninst✝⁴ : CommSemiring K\ninst✝³ : CommSemiring L\ni : K →+* L\np : ℕ\ninst✝² : IsPRadical i p\ninst✝¹ : ExpChar L p\ninst✝ : PerfectRing L p\nx : L\n⊢ (iterateFrobeniusEquiv L p (Classical.choose ⋯).1).symm (i (Classical.choose ⋯).2) = x"
] | liftAux, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.FieldTheory.IsPerfectClosure | {
"line": 236,
"column": 6
} | {
"line": 236,
"column": 14
} | {
"line": 236,
"column": 15
} | [
{
"pp": "K : Type u_1\nM : Type u_3\ninst✝³ : CommSemiring K\ninst✝² : CommSemiring M\nj : K →+* M\np : ℕ\ninst✝¹ : ExpChar M p\ninst✝ : PerfectRing M p\nx : K\nthis : (Classical.choose ⋯).2 = x ^ p ^ (Classical.choose ⋯).1\n⊢ liftAux (RingHom.id K) j p x = j x",
"ppTerm": "?m.28",
"assigned": true,
... | [
"K : Type u_1\nM : Type u_3\ninst✝³ : CommSemiring K\ninst✝² : CommSemiring M\nj : K →+* M\np : ℕ\ninst✝¹ : ExpChar M p\ninst✝ : PerfectRing M p\nx : K\nthis : (Classical.choose ⋯).2 = x ^ p ^ (Classical.choose ⋯).1\n⊢ (iterateFrobeniusEquiv M p (Classical.choose ⋯).1).symm (j (Classical.choose ⋯).2) = j x"
] | liftAux, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.FieldTheory.IsPerfectClosure | {
"line": 259,
"column": 2
} | {
"line": 262,
"column": 51
} | {
"line": 264,
"column": 0
} | [
{
"pp": "K : Type u_1\nL : Type u_2\nM : Type u_3\ninst✝⁴ : CommRing K\ninst✝³ : CommRing L\ninst✝² : CommRing M\ni : K →+* L\np : ℕ\ninst✝¹ : ExpChar M p\ninst✝ : IsPRadical i p\nh : pNilradical M p = ⊥\nf g : L →+* M\nheq : (fun f ↦ f.comp i) f = (fun f ↦ f.comp i) g\n⊢ f = g",
"ppTerm": "?m.35",
"ass... | [] | ext x
obtain ⟨n, y, hx⟩ := IsPRadical.pow_mem i p x
apply_fun _ using pow_expChar_pow_inj_of_pNilradical_eq_bot M p h n
simpa only [← map_pow, ← hx] using! congr($heq y) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.FieldTheory.IsPerfectClosure | {
"line": 259,
"column": 2
} | {
"line": 262,
"column": 51
} | {
"line": 264,
"column": 0
} | [
{
"pp": "K : Type u_1\nL : Type u_2\nM : Type u_3\ninst✝⁴ : CommRing K\ninst✝³ : CommRing L\ninst✝² : CommRing M\ni : K →+* L\np : ℕ\ninst✝¹ : ExpChar M p\ninst✝ : IsPRadical i p\nh : pNilradical M p = ⊥\nf g : L →+* M\nheq : (fun f ↦ f.comp i) f = (fun f ↦ f.comp i) g\n⊢ f = g",
"ppTerm": "?m.35",
"ass... | [] | ext x
obtain ⟨n, y, hx⟩ := IsPRadical.pow_mem i p x
apply_fun _ using pow_expChar_pow_inj_of_pNilradical_eq_bot M p h n
simpa only [← map_pow, ← hx] using! congr($heq y) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Invariant.Basic | {
"line": 324,
"column": 58
} | {
"line": 325,
"column": 66
} | {
"line": 327,
"column": 0
} | [
{
"pp": "A : Type u_1\nB : Type u_2\ninst✝¹⁶ : CommRing A\ninst✝¹⁵ : CommRing B\ninst✝¹⁴ : Algebra A B\nG : Type u_3\ninst✝¹³ : Group G\ninst✝¹² : MulSemiringAction G B\ninst✝¹¹ : SMulCommClass G A B\nP : Ideal A\nQ : Ideal B\ninst✝¹⁰ : Q.LiesOver P\nK : Type u_4\nL : Type u_5\ninst✝⁹ : Field K\ninst✝⁸ : Field ... | [] | by
simp [IsFractionRing.stabilizerHom, MulAction.subgroup_smul_def] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.IsPerfectClosure | {
"line": 323,
"column": 4
} | {
"line": 323,
"column": 51
} | {
"line": 324,
"column": 4
} | [
{
"pp": "K : Type u_1\nL : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : CommRing K\ninst✝⁷ : CommRing L\ninst✝⁶ : CommRing M\ninst✝⁵ : CommRing N\ni : K →+* L\nj : K →+* M\nk : K →+* N\nf : L →+* M\ng : L →+* N\np : ℕ\ninst✝⁴ : ExpChar M p\ninst✝³ : ExpChar K p\ninst✝² : PerfectRing M p\ninst✝¹ : IsPRadical i... | [
"K : Type u_1\nL : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : CommRing K\ninst✝⁷ : CommRing L\ninst✝⁶ : CommRing M\ninst✝⁵ : CommRing N\ni : K →+* L\nj : K →+* M\nk : K →+* N\nf : L →+* M\ng : L →+* N\np : ℕ\ninst✝⁴ : ExpChar M p\ninst✝³ : ExpChar K p\ninst✝² : PerfectRing M p\ninst✝¹ : IsPRadical i p\ninst✝ : ... | nth_rw 1 [iterateFrobeniusEquiv_symm_add_apply] | Mathlib.Tactic._aux_Mathlib_Tactic_NthRewrite___macroRules_Mathlib_Tactic_tacticNth_rw______1 | Mathlib.Tactic.tacticNth_rw_____ |
Mathlib.FieldTheory.IsPerfectClosure | {
"line": 335,
"column": 4
} | {
"line": 335,
"column": 51
} | {
"line": 336,
"column": 4
} | [
{
"pp": "K : Type u_1\nL : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : CommRing K\ninst✝⁷ : CommRing L\ninst✝⁶ : CommRing M\ninst✝⁵ : CommRing N\ni : K →+* L\nj : K →+* M\nk : K →+* N\nf : L →+* M\ng : L →+* N\np : ℕ\ninst✝⁴ : ExpChar M p\ninst✝³ : ExpChar K p\ninst✝² : PerfectRing M p\ninst✝¹ : IsPRadical i... | [
"K : Type u_1\nL : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : CommRing K\ninst✝⁷ : CommRing L\ninst✝⁶ : CommRing M\ninst✝⁵ : CommRing N\ni : K →+* L\nj : K →+* M\nk : K →+* N\nf : L →+* M\ng : L →+* N\np : ℕ\ninst✝⁴ : ExpChar M p\ninst✝³ : ExpChar K p\ninst✝² : PerfectRing M p\ninst✝¹ : IsPRadical i p\ninst✝ : ... | nth_rw 1 [iterateFrobeniusEquiv_symm_add_apply] | Mathlib.Tactic._aux_Mathlib_Tactic_NthRewrite___macroRules_Mathlib_Tactic_tacticNth_rw______1 | Mathlib.Tactic.tacticNth_rw_____ |
Mathlib.FieldTheory.Galois.IsGaloisGroup | {
"line": 107,
"column": 2
} | {
"line": 107,
"column": 62
} | {
"line": 108,
"column": 2
} | [
{
"pp": "G : Type u_1\ninst✝⁷ : Group G\nR : Type u_5\nB : Type u_6\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing B\ninst✝⁴ : Algebra R B\ninst✝³ : Module.Finite R B\ninst✝² : IsDomain B\ninst✝¹ : MulSemiringAction G B\ninst✝ : IsGaloisGroup G R B\nA : Subring B := (algebraMap R B).range\nthis : Algebra (FractionRing... | [
"G : Type u_1\ninst✝⁷ : Group G\nR : Type u_5\nB : Type u_6\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing B\ninst✝⁴ : Algebra R B\ninst✝³ : Module.Finite R B\ninst✝² : IsDomain B\ninst✝¹ : MulSemiringAction G B\ninst✝ : IsGaloisGroup G R B\nA : Subring B := (algebraMap R B).range\nthis✝ : Algebra (FractionRing ↥A) (Fract... | let := IsFractionRing.mulSemiringAction G B (FractionRing B) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.FieldTheory.Galois.IsGaloisGroup | {
"line": 128,
"column": 2
} | {
"line": 128,
"column": 62
} | {
"line": 129,
"column": 2
} | [
{
"pp": "G : Type u_1\ninst✝⁸ : Group G\nA : Type u_5\nB : Type u_6\ninst✝⁷ : CommRing A\ninst✝⁶ : CommRing B\ninst✝⁵ : IsDomain B\ninst✝⁴ : Algebra A B\ninst✝³ : MulSemiringAction G B\ninst✝² : IsGaloisGroup G A B\ninst✝¹ : Finite G\ninst✝ : FaithfulSMul A B\nthis✝ : IsDomain A\nthis : Algebra (FractionRing A)... | [
"G : Type u_1\ninst✝⁸ : Group G\nA : Type u_5\nB : Type u_6\ninst✝⁷ : CommRing A\ninst✝⁶ : CommRing B\ninst✝⁵ : IsDomain B\ninst✝⁴ : Algebra A B\ninst✝³ : MulSemiringAction G B\ninst✝² : IsGaloisGroup G A B\ninst✝¹ : Finite G\ninst✝ : FaithfulSMul A B\nthis✝¹ : IsDomain A\nthis✝ : Algebra (FractionRing A) (Fraction... | let := IsFractionRing.mulSemiringAction G B (FractionRing B) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.GroupTheory.CosetCover | {
"line": 66,
"column": 2
} | {
"line": 66,
"column": 62
} | {
"line": 67,
"column": 2
} | [
{
"pp": "G : Type u_1\ninst✝¹ : Group G\nD H : Subgroup G\ninst✝ : D.FiniteIndex\nhD_le_H : D ≤ H\nt : Set ↥H\nht : IsComplement t ↑(D.subgroupOf H) ∧ 1 ∈ t\n⊢ ∃ t, IsComplement ↑t ↑(D.subgroupOf H) ∧ ⋃ g ∈ t, ↑g • ↑D = ↑H",
"ppTerm": "?m.38",
"assigned": true,
"usedConstants": [
"Iff.mpr",
... | [
"G : Type u_1\ninst✝¹ : Group G\nD H : Subgroup G\ninst✝ : D.FiniteIndex\nhD_le_H : D ≤ H\nt : Set ↥H\nht : IsComplement t ↑(D.subgroupOf H) ∧ 1 ∈ t\nhf : t.Finite\n⊢ ∃ t, IsComplement ↑t ↑(D.subgroupOf H) ∧ ⋃ g ∈ t, ↑g • ↑D = ↑H"
] | have hf : t.Finite := ht.1.finite_left_iff.mpr inferInstance | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.FieldTheory.JacobsonNoether | {
"line": 80,
"column": 2
} | {
"line": 85,
"column": 51
} | {
"line": 87,
"column": 0
} | [
{
"pp": "D : Type u_1\ninst✝² : DivisionRing D\ninst✝¹ : Algebra.IsAlgebraic (↥k) D\np : ℕ\ninst✝ : ExpChar D p\na : D\nha : a ∉ k\nhinsep : ∀ (x : D), IsSeparable (↥k) x → x ∈ k\n⊢ ∃ n, 1 ≤ n ∧ a ^ p ^ n ∈ k",
"ppTerm": "?m.54",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"MulOne.to... | [] | obtain ⟨n, hn⟩ := exists_pow_mem_center_of_inseparable p a hinsep
have nzero : n ≠ 0 := by
rintro rfl
rw [pow_zero, pow_one] at hn
exact ha hn
exact ⟨n, ⟨Nat.one_le_iff_ne_zero.mpr nzero, hn⟩⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.FieldTheory.JacobsonNoether | {
"line": 80,
"column": 2
} | {
"line": 85,
"column": 51
} | {
"line": 87,
"column": 0
} | [
{
"pp": "D : Type u_1\ninst✝² : DivisionRing D\ninst✝¹ : Algebra.IsAlgebraic (↥k) D\np : ℕ\ninst✝ : ExpChar D p\na : D\nha : a ∉ k\nhinsep : ∀ (x : D), IsSeparable (↥k) x → x ∈ k\n⊢ ∃ n, 1 ≤ n ∧ a ^ p ^ n ∈ k",
"ppTerm": "?m.54",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"MulOne.to... | [] | obtain ⟨n, hn⟩ := exists_pow_mem_center_of_inseparable p a hinsep
have nzero : n ≠ 0 := by
rintro rfl
rw [pow_zero, pow_one] at hn
exact ha hn
exact ⟨n, ⟨Nat.one_le_iff_ne_zero.mpr nzero, hn⟩⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.GroupTheory.CosetCover | {
"line": 170,
"column": 6
} | {
"line": 170,
"column": 77
} | {
"line": 171,
"column": 6
} | [
{
"pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : DecidableEq (Subgroup G)\nn : ℕ\nih :\n ∀ m < n,\n ∀ {ι : Type u_2} {H : ι → Subgroup G} {g : ι → G} {s : Finset ι},\n ⋃ i ∈ s, g i • ↑(H i) = Set.univ →\n ∀ j ∈ s,\n ⋃ i ∈ {x ∈ s | H x = H j}, g i • ↑(H i) ≠ Set.univ →\n m = (... | [] | cases (Set.mem_union _ _ _).mp (hcovers.superset (Set.mem_univ y)) with | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalCases | null |
Mathlib.FieldTheory.JacobsonNoether | {
"line": 170,
"column": 28
} | {
"line": 170,
"column": 48
} | {
"line": 170,
"column": 49
} | [
{
"pp": "D : Type u_1\ninst✝¹ : DivisionRing D\ninst✝ : Algebra.IsAlgebraic (↥k) D\nH : k ≠ ⊤\np : ℕ\nhp : ExpChar D p\ninsep : ∀ (x : D), IsSeparable (↥k) x → x ∈ k\na : D\nha : a ∉ k\nha₀ : a ≠ 0\nb : D\nhb1 : ((ad (↥k) D) a) b ≠ 0\nn : ℕ\nhn : 0 < n\nc : D := (⇑((ad (↥k) D) a))^[n] b\nhb : c ≠ 0 ∧ (⇑((ad (↥k... | [
"D : Type u_1\ninst✝¹ : DivisionRing D\ninst✝ : Algebra.IsAlgebraic (↥k) D\nH : k ≠ ⊤\np : ℕ\nhp : ExpChar D p\ninsep : ∀ (x : D), IsSeparable (↥k) x → x ∈ k\na : D\nha : a ∉ k\nha₀ : a ≠ 0\nb : D\nhb1 : ((ad (↥k) D) a) b ≠ 0\nn : ℕ\nhn : 0 < n\nc : D := (⇑((ad (↥k) D) a))^[n] b\nhb : c ≠ 0 ∧ (⇑((ad (↥k) D) a))^[n ... | inv_mul_cancel₀ ha₀, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.CosetCover | {
"line": 267,
"column": 6
} | {
"line": 267,
"column": 23
} | {
"line": 267,
"column": 24
} | [
{
"pp": "G : Type u_1\ninst✝¹ : Group G\nι : Type u_2\nH : ι → Subgroup G\ng : ι → G\ns : Finset ι\nhcovers : ⋃ i ∈ s, g i • ↑(H i) = Set.univ\ninst✝ : DecidablePred FiniteIndex\nD : Subgroup G := ⨅ k ∈ {i ∈ s | (H i).FiniteIndex}, H k\nhD : D.FiniteIndex\nhD_le : ∀ {i : ι}, i ∈ s → (H i).FiniteIndex → D ≤ H i\... | [
"G : Type u_1\ninst✝¹ : Group G\nι : Type u_2\nH : ι → Subgroup G\ng : ι → G\ns : Finset ι\nhcovers : ⋃ i ∈ s, g i • ↑(H i) = Set.univ\ninst✝ : DecidablePred FiniteIndex\nD : Subgroup G := ⨅ k ∈ {i ∈ s | (H i).FiniteIndex}, H k\nhD : D.FiniteIndex\nhD_le : ∀ {i : ι}, i ∈ s → (H i).FiniteIndex → D ≤ H i\nt : (i : ι)... | Finset.sum_sigma, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.FieldTheory.JacobsonNoether | {
"line": 174,
"column": 55
} | {
"line": 174,
"column": 75
} | {
"line": 174,
"column": 76
} | [
{
"pp": "D : Type u_1\ninst✝¹ : DivisionRing D\ninst✝ : Algebra.IsAlgebraic (↥k) D\nH : k ≠ ⊤\np : ℕ\nhp : ExpChar D p\ninsep : ∀ (x : D), IsSeparable (↥k) x → x ∈ k\na : D\nha : a ∉ k\nha₀ : a ≠ 0\nb : D\nhb1 : ((ad (↥k) D) a) b ≠ 0\nn : ℕ\nhn : 0 < n\nc : D := (⇑((ad (↥k) D) a))^[n] b\nhb : c ≠ 0 ∧ (⇑((ad (↥k... | [
"D : Type u_1\ninst✝¹ : DivisionRing D\ninst✝ : Algebra.IsAlgebraic (↥k) D\nH : k ≠ ⊤\np : ℕ\nhp : ExpChar D p\ninsep : ∀ (x : D), IsSeparable (↥k) x → x ∈ k\na : D\nha : a ∉ k\nha₀ : a ≠ 0\nb : D\nhb1 : ((ad (↥k) D) a) b ≠ 0\nn : ℕ\nhn : 0 < n\nc : D := (⇑((ad (↥k) D) a))^[n] b\nhb : c ≠ 0 ∧ (⇑((ad (↥k) D) a))^[n ... | inv_mul_cancel₀ ha₀, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.FieldTheory.KummerExtension | {
"line": 308,
"column": 8
} | {
"line": 308,
"column": 35
} | {
"line": 308,
"column": 36
} | [
{
"pp": "case pos\nK : Type u\ninst✝¹ : Field K\na : K\nh : a = 0\nhζ : (primitiveRoots 1 K).Nonempty\nH : Irreducible (X ^ 1 - C a)\ninst✝ : NeZero 1\n__spread✝⁻⁰ : ↥(rootsOfUnity 1 K) →* Gal(K[1√a]/K) := autAdjoinRootXPowSubC 1 a\ne : Gal(K[1√a]/K)\nthis✝ : Fact (Irreducible (X ^ 1 - C a))\nthis : Algebra K K... | [
"case pos\nK : Type u\ninst✝¹ : Field K\na : K\nh : a = 0\nhζ : (primitiveRoots 1 K).Nonempty\nH : Irreducible (X ^ 1 - C a)\ninst✝ : NeZero 1\n__spread✝⁻⁰ : ↥(rootsOfUnity 1 K) →* Gal(K[1√a]/K) := autAdjoinRootXPowSubC 1 a\ne : Gal(K[1√a]/K)\nthis✝ : Fact (Irreducible (X ^ 1 - C a))\nthis : Algebra K K[1√a] := inf... | ← AdjoinRoot.algebraMap_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.TensorProduct.Nontrivial | {
"line": 41,
"column": 2
} | {
"line": 43,
"column": 34
} | {
"line": 45,
"column": 0
} | [
{
"pp": "R : Type u_1\nA : Type u_2\nB : Type u_3\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing A\ninst✝⁴ : CommRing B\ninst✝³ : Algebra R A\ninst✝² : Algebra R B\nha : Function.Injective ⇑(algebraMap R A)\nhb : Function.Injective ⇑(algebraMap R B)\ninst✝¹ : IsDomain A\ninst✝ : IsDomain B\nthis✝ : IsDomain R\nFR : Ty... | [] | exact Algebra.TensorProduct.mapOfCompatibleSMul FR R R FA FB |>.comp
(Algebra.TensorProduct.map (IsScalarTower.toAlgHom R A FA) (IsScalarTower.toAlgHom R B FB))
|>.toRingHom.domain_nontrivial | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.FieldTheory.KummerExtension | {
"line": 368,
"column": 47
} | {
"line": 368,
"column": 78
} | {
"line": 368,
"column": 78
} | [
{
"pp": "K : Type u\ninst✝³ : Field K\nn : ℕ\nhζ✝ : (primitiveRoots n K).Nonempty\na : K\nH✝ : Irreducible (X ^ n - C a)\nL : Type u_1\ninst✝² : Field L\ninst✝¹ : Algebra K L\ninst✝ : IsSplittingField K L (X ^ n - C a)\nα : L\nhα✝ : α ^ n = (algebraMap K L) a\nhζ : (primitiveRoots n K).Nonempty\nH : Irreducible... | [
"K : Type u\ninst✝³ : Field K\nn : ℕ\nhζ✝ : (primitiveRoots n K).Nonempty\na : K\nH✝ : Irreducible (X ^ n - C a)\nL : Type u_1\ninst✝² : Field L\ninst✝¹ : Algebra K L\ninst✝ : IsSplittingField K L (X ^ n - C a)\nα : L\nhα✝ : α ^ n = (algebraMap K L) a\nhζ : (primitiveRoots n K).Nonempty\nH : Irreducible (X ^ n - C ... | IsSplittingField.adjoin_rootSet | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.FieldTheory.KummerExtension | {
"line": 529,
"column": 4
} | {
"line": 529,
"column": 59
} | {
"line": 530,
"column": 4
} | [
{
"pp": "case refine_2\nK : Type u\ninst✝⁵ : Field K\nL : Type u_1\ninst✝⁴ : Field L\ninst✝³ : Algebra K L\ninst✝² : FiniteDimensional K L\nhK : (primitiveRoots (finrank K L) K).Nonempty\ninst✝¹ : IsGalois K L\ninst✝ : IsCyclic Gal(L/K)\nζ : K\nhζ : IsPrimitiveRoot ζ (finrank K L)\nσ : Gal(L/K)\nhσ : Function.S... | [
"case refine_2\nK : Type u\ninst✝⁵ : Field K\nL : Type u_1\ninst✝⁴ : Field L\ninst✝³ : Algebra K L\ninst✝² : FiniteDimensional K L\nhK : (primitiveRoots (finrank K L) K).Nonempty\ninst✝¹ : IsGalois K L\ninst✝ : IsCyclic Gal(L/K)\nζ : K\nhζ : IsPrimitiveRoot ζ (finrank K L)\nσ : Gal(L/K)\nhσ : Function.Surjective fu... | apply IsGalois.intermediateFieldEquivSubgroup.injective | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.GroupTheory.CosetCover | {
"line": 377,
"column": 82
} | {
"line": 378,
"column": 41
} | {
"line": 379,
"column": 2
} | [
{
"pp": "R : Type u_1\nM : Type u_2\nι : Type u_3\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\np : ι → Submodule R M\ns : Finset ι\nhcovers : ⋃ i ∈ s, ↑(p i) = Set.univ\n⊢ ⋃ i ∈ s, 0 +ᵥ ↑(p i).toAddSubgroup = Set.univ",
"ppTerm": "?m.51",
"assigned": true,
"usedConstants": [
... | [] | by
simpa only [zero_vadd] using! hcovers | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.Algebraic.LinearIndependent | {
"line": 41,
"column": 11
} | {
"line": 41,
"column": 20
} | {
"line": 41,
"column": 21
} | [
{
"pp": "F : Type u_1\nE : Type u_2\ninst✝² : Field F\ninst✝¹ : Field E\ninst✝ : Algebra F E\nx : E\nH : ∀ (p : F[X]), (aeval x) p = 0 → p = 0\ns : Finset F\nm : F → F\ni : F\nhi : i ∈ s\nhnz : ∀ (a : F), x - (algebraMap F E) a ≠ 0\nb : E := ∏ j ∈ s, (x - (algebraMap F E) j)\nh1 : ∀ i ∈ s, m i • (b * (x - (alge... | [
"F : Type u_1\nE : Type u_2\ninst✝² : Field F\ninst✝¹ : Field E\ninst✝ : Algebra F E\nx : E\nH : ∀ (p : F[X]), (aeval x) p = 0 → p = 0\ns : Finset F\nm : F → F\ni : F\nhi : i ∈ s\nhnz : ∀ (a : F), x - (algebraMap F E) a ≠ 0\nb : E := ∏ j ∈ s, (x - (algebraMap F E) j)\nh1 : ∀ i ∈ s, m i • (b * (x - (algebraMap F E) ... | mul_zero, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.FieldTheory.PurelyInseparable.Exponent | {
"line": 300,
"column": 64
} | {
"line": 302,
"column": 50
} | {
"line": 304,
"column": 0
} | [
{
"pp": "K : Type u_2\nL : Type u_3\ninst✝⁴ : Field K\ninst✝³ : Field L\ninst✝² : Algebra K L\ninst✝¹ : HasExponent K L\np : ℕ\ninst✝ : ExpChar K p\nn : ℕ\nhn : exponent K L ≤ n\na : K\n⊢ (iterateFrobenius K L p hn) ((algebraMap K L) a) = a ^ p ^ n",
"ppTerm": "?m.33",
"assigned": true,
"usedConstan... | [] | by
apply (algebraMap K L).injective
rw [map_pow, algebraMap_iterateFrobenius K p hn] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.RatFunc.Degree | {
"line": 70,
"column": 66
} | {
"line": 72,
"column": 52
} | {
"line": 73,
"column": 4
} | [
{
"pp": "K : Type u\ninst✝ : Field K\nx y : K⟮X⟯\nhx : x ≠ 0\nhy : y ≠ 0\n⊢ (x * y).num.natDegree + (x.denom * y.denom).natDegree = x.num.natDegree + y.num.natDegree + (x * y).denom.natDegree",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"IsRightCancelAdd.addRightStrictMono_of_addR... | [
"K : Type u\ninst✝ : Field K\nx y : K⟮X⟯\nhx : x ≠ 0\nhy : y ≠ 0\n⊢ ((x * y).num * (x.denom * y.denom)).natDegree = x.num.natDegree + y.num.natDegree + (x * y).denom.natDegree"
] | ←
Polynomial.natDegree_mul (RatFunc.num_ne_zero (mul_ne_zero hx hy))
(mul_ne_zero x.denom_ne_zero y.denom_ne_zero), | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.FieldTheory.PurelyInseparable.PerfectClosure | {
"line": 200,
"column": 31
} | {
"line": 200,
"column": 52
} | {
"line": 200,
"column": 53
} | [
{
"pp": "F : Type u\nE : Type v\ninst✝² : Field F\ninst✝¹ : Field E\ninst✝ : Algebra F E\nx : E\n⊢ F⟮x⟯ ≤ perfectClosure F E ↔ (minpoly F x).natSepDegree = 1",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"IntermediateField.instPartialOrder",
"congrArg",
... | [
"F : Type u\nE : Type v\ninst✝² : Field F\ninst✝¹ : Field E\ninst✝ : Algebra F E\nx : E\n⊢ x ∈ perfectClosure F E ↔ (minpoly F x).natSepDegree = 1"
] | adjoin_simple_le_iff, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.FieldTheory.PurelyInseparable.PerfectClosure | {
"line": 206,
"column": 31
} | {
"line": 206,
"column": 52
} | {
"line": 206,
"column": 53
} | [
{
"pp": "F : Type u\nE : Type v\ninst✝² : Field F\ninst✝¹ : Field E\ninst✝ : Algebra F E\nq : ℕ\nhF : ExpChar F q\nx : E\n⊢ F⟮x⟯ ≤ perfectClosure F E ↔ ∃ n, x ^ q ^ n ∈ (algebraMap F E).range",
"ppTerm": "?m.42",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"IntermediateField.instParti... | [
"F : Type u\nE : Type v\ninst✝² : Field F\ninst✝¹ : Field E\ninst✝ : Algebra F E\nq : ℕ\nhF : ExpChar F q\nx : E\n⊢ x ∈ perfectClosure F E ↔ ∃ n, x ^ q ^ n ∈ (algebraMap F E).range"
] | adjoin_simple_le_iff, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.FieldTheory.RatFunc.IntermediateField | {
"line": 53,
"column": 85
} | {
"line": 55,
"column": 37
} | {
"line": 57,
"column": 0
} | [
{
"pp": "K : Type u_1\ninst✝⁹ : Field K\nf : K⟮X⟯\nA : Type u_2\ninst✝⁸ : CommRing A\ninst✝⁷ : Algebra K A\ninst✝⁶ : Algebra (↥K[f]) A\nB : Type u_3\ninst✝⁵ : CommRing B\ninst✝⁴ : Algebra K B\ninst✝³ : Algebra (↥K[f]) B\ninst✝² : Algebra A B\ninst✝¹ : IsScalarTower K A B\ninst✝ : IsScalarTower (↥K[f]) A B\n⊢ Po... | [] | by
simp [minpolyX, Polynomial.map_map, ← IsScalarTower.algebraMap_eq,
← IsScalarTower.algebraMap_apply] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.Relrank | {
"line": 184,
"column": 76
} | {
"line": 185,
"column": 81
} | {
"line": 187,
"column": 0
} | [
{
"pp": "E : Type v\ninst✝¹ : Field E\nL : Type w\ninst✝ : Field L\nA B : Subfield E\nf : L →+* E\n⊢ (comap f A).relfinrank (comap f B) = A.relfinrank (B ⊓ f.fieldRange)",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"Nat.instMulZeroOneClass",
"Subfield.relrank",
"Cardin... | [] | by
simpa using! congr(toNat $(lift_relrank_comap_comap_eq_lift_relrank_inf A B f)) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.Relrank | {
"line": 394,
"column": 76
} | {
"line": 395,
"column": 81
} | {
"line": 397,
"column": 0
} | [
{
"pp": "F : Type u\nE : Type v\ninst✝⁴ : Field F\ninst✝³ : Field E\ninst✝² : Algebra F E\nL : Type w\ninst✝¹ : Field L\ninst✝ : Algebra F L\nA B : IntermediateField F E\nf : L →ₐ[F] E\n⊢ (comap f A).relfinrank (comap f B) = A.relfinrank (B ⊓ f.fieldRange)",
"ppTerm": "?m.56",
"assigned": true,
"use... | [] | by
simpa using! congr(toNat $(lift_relrank_comap_comap_eq_lift_relrank_inf A B f)) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.RatFunc.Valuation | {
"line": 66,
"column": 14
} | {
"line": 66,
"column": 23
} | {
"line": 66,
"column": 24
} | [
{
"pp": "case pos\nF : Type u_1\ninst✝¹ : Field F\ninst✝ : DecidableEq F⟮X⟯\nx y : F⟮X⟯\nhx : ¬x = 0\nhy : y = 0\n⊢ (if x * 0 = 0 then 0 else exp (x * 0).intDegree) =\n (if x = 0 then 0 else exp x.intDegree) * if 0 = 0 then 0 else exp (intDegree 0)",
"ppTerm": "?pos✝",
"assigned": true,
"usedCons... | [
"case pos\nF : Type u_1\ninst✝¹ : Field F\ninst✝ : DecidableEq F⟮X⟯\nx y : F⟮X⟯\nhx : ¬x = 0\nhy : y = 0\n⊢ (if 0 = 0 then 0 else exp (intDegree 0)) =\n (if x = 0 then 0 else exp x.intDegree) * if 0 = 0 then 0 else exp (intDegree 0)"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.FieldTheory.Relrank | {
"line": 510,
"column": 6
} | {
"line": 510,
"column": 54
} | {
"line": 510,
"column": 55
} | [
{
"pp": "F : Type u\nE : Type v\ninst✝² : Field F\ninst✝¹ : Field E\ninst✝ : Algebra F E\nA : IntermediateField F E\n⊢ ⊥.relrank A = Module.rank F ↥A",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"IntermediateField.instPartialOrder",
"Lattice.toSemilatticeSup"... | [
"F : Type u\nE : Type v\ninst✝² : Field F\ninst✝¹ : Field E\ninst✝ : Algebra F E\nA : IntermediateField F E\n⊢ ⊥.relrank A = Module.rank F ↥⊥ * ⊥.relrank A"
] | ← rank_bot_mul_relrank (show ⊥ ≤ A from bot_le), | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.FieldTheory.RatFunc.Luroth | {
"line": 219,
"column": 2
} | {
"line": 221,
"column": 97
} | {
"line": 223,
"column": 0
} | [
{
"pp": "K : Type u_1\ninst✝ : Field K\nE : IntermediateField K K⟮X⟯\nh : E ≠ ⊥\n⊢ (Φ E).coeff (generatorIndex h) ≠ 0",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Finsupp.instFunLike",
"Eq.mpr",
"RingHom.instRingHomClass",
"AddMonoidAlgebra.semi... | [] | apply_fun algebraMap K[X] K⟮X⟯
rw [map_zero, Φ_coeff_generatorIndex h]
exact mul_ne_zero_iff.mpr ⟨algebraMap_ne_zero (num_ne_zero (c_ne_zero h)), generator_ne_zero h⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.FieldTheory.RatFunc.Luroth | {
"line": 219,
"column": 2
} | {
"line": 221,
"column": 97
} | {
"line": 223,
"column": 0
} | [
{
"pp": "K : Type u_1\ninst✝ : Field K\nE : IntermediateField K K⟮X⟯\nh : E ≠ ⊥\n⊢ (Φ E).coeff (generatorIndex h) ≠ 0",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Finsupp.instFunLike",
"Eq.mpr",
"RingHom.instRingHomClass",
"AddMonoidAlgebra.semi... | [] | apply_fun algebraMap K[X] K⟮X⟯
rw [map_zero, Φ_coeff_generatorIndex h]
exact mul_ne_zero_iff.mpr ⟨algebraMap_ne_zero (num_ne_zero (c_ne_zero h)), generator_ne_zero h⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic | {
"line": 170,
"column": 63
} | {
"line": 171,
"column": 67
} | {
"line": 173,
"column": 0
} | [
{
"pp": "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\n⊢ o.oangle y x = -o.oangle x y",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"instInnerProductSpaceRealComplex",
"InnerP... | [] | by
simp only [oangle, o.kahler_swap y x, Complex.arg_conj_coe_angle] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Geometry.Euclidean.Angle.Oriented.Rotation | {
"line": 65,
"column": 5
} | {
"line": 73,
"column": 12
} | {
"line": 73,
"column": 12
} | [
{
"pp": "V : Type u_1\nV' : Type u_2\ninst✝⁵ : NormedAddCommGroup V\ninst✝⁴ : NormedAddCommGroup V'\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : InnerProductSpace ℝ V'\ninst✝¹ : Fact (finrank ℝ V = 2)\ninst✝ : Fact (finrank ℝ V' = 2)\no : Orientation ℝ V (Fin 2)\nθ : Real.Angle\n⊢ (o.rotationAux θ).toLinearMap ∘ₗ ... | [] | by
ext x
convert! congr($θ.cos_sq_add_sin_sq • x) using 1
· simp only [o.rightAngleRotation_rightAngleRotation, o.rotationAux_apply,
Function.comp_apply, id, LinearEquiv.coe_coe, LinearIsometry.coe_toLinearMap,
LinearIsometryEquiv.coe_toLinearEquiv, map_smul, map_sub, LinearMap.coe... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Geometry.Euclidean.Altitude | {
"line": 167,
"column": 6
} | {
"line": 168,
"column": 19
} | {
"line": 169,
"column": 4
} | [
{
"pp": "case mpr.refine_1\nV : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nn : ℕ\ninst✝ : NeZero n\ns : Simplex ℝ P n\ni : Fin (n + 1)\np : P\nhne : p ≠ s.points i\nh : p -ᵥ s.points i ∈ (s.altitude i).direction\n⊢... | [] | rw [Submodule.span_le]
simpa using h | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Geometry.Euclidean.Altitude | {
"line": 167,
"column": 6
} | {
"line": 168,
"column": 19
} | {
"line": 169,
"column": 4
} | [
{
"pp": "case mpr.refine_1\nV : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nn : ℕ\ninst✝ : NeZero n\ns : Simplex ℝ P n\ni : Fin (n + 1)\np : P\nhne : p ≠ s.points i\nh : p -ᵥ s.points i ∈ (s.altitude i).direction\n⊢... | [] | rw [Submodule.span_le]
simpa using h | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic | {
"line": 423,
"column": 94
} | {
"line": 436,
"column": 8
} | {
"line": 438,
"column": 0
} | [
{
"pp": "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\n⊢ x = y ↔ ‖x‖ = ‖y‖ ∧ o.oangle x y = 0",
"ppTerm": "?m.37",
"assigned": true,
"usedConstants": [
"AddGroup.toSubtractionMonoid",
"No... | [] | by
rw [oangle_eq_zero_iff_sameRay]
constructor
· rintro rfl
simp; rfl
· rcases eq_or_ne y 0 with (rfl | hy)
· simp
rintro ⟨h₁, h₂⟩
obtain ⟨r, hr, rfl⟩ := h₂.exists_nonneg_right hy
have : ‖y‖ ≠ 0 := by simpa using hy
obtain rfl : r = 1 := by
apply mul_right_cancel₀ this
simpa ... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Geometry.Euclidean.Angle.Unoriented.Affine | {
"line": 254,
"column": 28
} | {
"line": 254,
"column": 50
} | {
"line": 254,
"column": 51
} | [
{
"pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : dist p₃ p₁ = dist p₃ p₂\nm : P := midpoint ℝ p₁ p₂\nh1 : p₃ -ᵥ p₁ = p₃ -ᵥ m - (p₁ -ᵥ m)\n⊢ p₃ -ᵥ p₂ = p₃ -ᵥ m + ⅟2 • (p₁ -ᵥ p₂)",
"ppTerm... | [
"V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : dist p₃ p₁ = dist p₃ p₂\nm : P := midpoint ℝ p₁ p₂\nh1 : p₃ -ᵥ p₁ = p₃ -ᵥ m - (p₁ -ᵥ m)\n⊢ p₃ -ᵥ p₂ = p₃ -ᵥ m + (midpoint ℝ p₁ p₂ -ᵥ p₂)"
] | ← midpoint_vsub_right, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Geometry.Euclidean.Angle.Unoriented.Affine | {
"line": 262,
"column": 6
} | {
"line": 262,
"column": 26
} | {
"line": 262,
"column": 27
} | [
{
"pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : dist p₃ p₁ = dist p₃ p₂\n⊢ ∠ p₃ (midpoint ℝ p₁ p₂) p₂ = π / 2",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [
"Eq... | [
"V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : dist p₃ p₁ = dist p₃ p₂\n⊢ ∠ p₃ (midpoint ℝ p₂ p₁) p₂ = π / 2"
] | midpoint_comm p₁ p₂, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Geometry.Euclidean.Angle.Unoriented.Affine | {
"line": 288,
"column": 6
} | {
"line": 288,
"column": 25
} | {
"line": 288,
"column": 26
} | [
{
"pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : Sbtw ℝ p₁ p₂ p₃\n⊢ ∠ p₃ p₂ p₁ = π",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Real",
"... | [
"V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : Sbtw ℝ p₁ p₂ p₃\n⊢ ∠ p₃ p₂ p₁ = ∠ p₁ p₂ p₃"
] | ← h.angle₁₂₃_eq_pi, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Geometry.Euclidean.Altitude | {
"line": 366,
"column": 10
} | {
"line": 366,
"column": 40
} | {
"line": 367,
"column": 10
} | [
{
"pp": "V : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nn : ℕ\ns : Simplex ℝ P n\ninst✝ : n.AtLeastTwo\ni j : Fin (n + 1)\nhij : i ≠ j\nr : ℝ\nhr : r ≠ 0\nh : s.points j -ᵥ s.altitudeFoot j = r • (s.points i -ᵥ s.a... | [
"V : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nn : ℕ\ns : Simplex ℝ P n\ninst✝ : n.AtLeastTwo\ni j : Fin (n + 1)\nhij : i ≠ j\nr : ℝ\nhr : r ≠ 0\nh : s.points j -ᵥ s.altitudeFoot j = r • (s.points i -ᵥ s.altitudeFoot ... | rw [range_faceOpposite_points] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Geometry.Euclidean.Altitude | {
"line": 369,
"column": 10
} | {
"line": 369,
"column": 40
} | {
"line": 370,
"column": 10
} | [
{
"pp": "V : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nn : ℕ\ns : Simplex ℝ P n\ninst✝ : n.AtLeastTwo\ni j : Fin (n + 1)\nhij : i ≠ j\nr : ℝ\nhr : r ≠ 0\nh : s.points j -ᵥ s.altitudeFoot j = r • (s.points i -ᵥ s.a... | [
"V : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nn : ℕ\ns : Simplex ℝ P n\ninst✝ : n.AtLeastTwo\ni j : Fin (n + 1)\nhij : i ≠ j\nr : ℝ\nhr : r ≠ 0\nh : s.points j -ᵥ s.altitudeFoot j = r • (s.points i -ᵥ s.altitudeFoot ... | rw [range_faceOpposite_points] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic | {
"line": 635,
"column": 20
} | {
"line": 635,
"column": 57
} | {
"line": 635,
"column": 57
} | [
{
"pp": "case inl\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nhx : x ≠ 0\nhy : y ≠ 0\nh0 : 0 ≤ InnerProductGeometry.angle x y\nhpi : InnerProductGeometry.angle x y ≤ π\nh : o.oangle x y = ↑(InnerProductGeomet... | [
"case inl\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nhx : x ≠ 0\nhy : y ≠ 0\nh0 : 0 ≤ InnerProductGeometry.angle x y\nhpi : InnerProductGeometry.angle x y ≤ π\nh : o.oangle x y = ↑(InnerProductGeometry.angle x y... | Real.Angle.abs_toReal_coe_eq_self_iff | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic | {
"line": 647,
"column": 17
} | {
"line": 647,
"column": 54
} | {
"line": 647,
"column": 54
} | [
{
"pp": "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nhx : x ≠ 0\nhy : y ≠ 0\nh : InnerProductGeometry.angle x y ≤ π / 2\n⊢ |(↑(2 * InnerProductGeometry.angle x y)).toReal| = 2 * InnerProductGeometry.angle x y"... | [
"V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nhx : x ≠ 0\nhy : y ≠ 0\nh : InnerProductGeometry.angle x y ≤ π / 2\n⊢ 0 ≤ 2 * InnerProductGeometry.angle x y ∧ 2 * InnerProductGeometry.angle x y ≤ π"
] | Real.Angle.abs_toReal_coe_eq_self_iff | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Geometry.Euclidean.Altitude | {
"line": 394,
"column": 4
} | {
"line": 398,
"column": 16
} | {
"line": 399,
"column": 2
} | [
{
"pp": "case inl\nV : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nn : ℕ\ns : Simplex ℝ P n\ninst✝ : n.AtLeastTwo\ni : Fin (n + 1)\n⊢ -(s.height i * s.height i) < ⟪s.points i -ᵥ s.altitudeFoot i, s.points i -ᵥ s.alt... | [] | rw [real_inner_self_eq_norm_sq]
refine lt_of_lt_of_le (b := 0) ?_ ?_
· rw [neg_lt_zero]
positivity
· positivity | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Geometry.Euclidean.Altitude | {
"line": 394,
"column": 4
} | {
"line": 398,
"column": 16
} | {
"line": 399,
"column": 2
} | [
{
"pp": "case inl\nV : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nn : ℕ\ns : Simplex ℝ P n\ninst✝ : n.AtLeastTwo\ni : Fin (n + 1)\n⊢ -(s.height i * s.height i) < ⟪s.points i -ᵥ s.altitudeFoot i, s.points i -ᵥ s.alt... | [] | rw [real_inner_self_eq_norm_sq]
refine lt_of_lt_of_le (b := 0) ?_ ?_
· rw [neg_lt_zero]
positivity
· positivity | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Geometry.Euclidean.Angle.Oriented.Affine | {
"line": 187,
"column": 20
} | {
"line": 190,
"column": 72
} | {
"line": 192,
"column": 0
} | [
{
"pp": "V : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nhd2 : Fact (finrank ℝ V = 2)\ninst✝ : Oriented ℝ V (Fin 2)\np p₁ p₂ p₃ : P\nr : ℝ\nh : r ≠ 0\n⊢ ∡ ((AffineMap.homothety p r) p₁) ((AffineMap.homothety p r) p₂... | [] | by
simp_rw [oangle, ← AffineMap.linear_apply_vsub, AffineMap.homothety_linear, LinearMap.smul_apply,
LinearMap.id_coe, id_eq]
rcases h.lt_or_gt with hlt | hlt <;> simp [hlt, -neg_vsub_eq_vsub_rev] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle | {
"line": 134,
"column": 2
} | {
"line": 139,
"column": 49
} | {
"line": 141,
"column": 0
} | [
{
"pp": "V : Type u_1\ninst✝¹ : NormedAddCommGroup V\ninst✝ : InnerProductSpace ℝ V\nx y : V\nh : ⟪x, y⟫ = 0\nh0 : x ≠ 0 ∨ y ≠ 0\n⊢ Real.sin (angle x (x + y)) = ‖y‖ / ‖x + y‖",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"mul_self_nonneg",
"div_le_one_of_le₀",
"AddGroup... | [] | rw [angle_add_eq_arcsin_of_inner_eq_zero h h0,
Real.sin_arcsin (le_trans (by simp) (div_nonneg (norm_nonneg _) (norm_nonneg _)))
(div_le_one_of_le₀ _ (norm_nonneg _))]
rw [mul_self_le_mul_self_iff (norm_nonneg _) (norm_nonneg _),
norm_add_sq_eq_norm_sq_add_norm_sq_real h]
exact le_add_of_nonneg_left (... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle | {
"line": 134,
"column": 2
} | {
"line": 139,
"column": 49
} | {
"line": 141,
"column": 0
} | [
{
"pp": "V : Type u_1\ninst✝¹ : NormedAddCommGroup V\ninst✝ : InnerProductSpace ℝ V\nx y : V\nh : ⟪x, y⟫ = 0\nh0 : x ≠ 0 ∨ y ≠ 0\n⊢ Real.sin (angle x (x + y)) = ‖y‖ / ‖x + y‖",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"mul_self_nonneg",
"div_le_one_of_le₀",
"AddGroup... | [] | rw [angle_add_eq_arcsin_of_inner_eq_zero h h0,
Real.sin_arcsin (le_trans (by simp) (div_nonneg (norm_nonneg _) (norm_nonneg _)))
(div_le_one_of_le₀ _ (norm_nonneg _))]
rw [mul_self_le_mul_self_iff (norm_nonneg _) (norm_nonneg _),
norm_add_sq_eq_norm_sq_add_norm_sq_real h]
exact le_add_of_nonneg_left (... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle | {
"line": 156,
"column": 4
} | {
"line": 156,
"column": 15
} | {
"line": 157,
"column": 2
} | [
{
"pp": "case pos\nV : Type u_1\ninst✝¹ : NormedAddCommGroup V\ninst✝ : InnerProductSpace ℝ V\nx y : V\nh : ⟪x, y⟫ = 0\nhxy : ‖x + y‖ = 0\nh' : ‖x‖ = 0 ∧ ‖y‖ * ‖y‖ = 0\n⊢ ‖x‖ / ‖x + y‖ * ‖x + y‖ = ‖x‖",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Norm.norm",
"GroupWithZero.t... | [] | simp [h'.1] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic | {
"line": 892,
"column": 2
} | {
"line": 892,
"column": 68
} | {
"line": 893,
"column": 2
} | [
{
"pp": "case neg\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nr : ℝ\nh : ¬(o.oangle x y = 0 ∨ o.oangle x y = ↑π)\nh' : ∀ (r' : ℝ), o.oangle x (r' • x + y) ≠ 0 ∧ o.oangle x (r' • x + y) ≠ ↑π\n⊢ (o.oangle x (r ... | [
"case neg\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nr : ℝ\nh : ¬(o.oangle x y = 0 ∨ o.oangle x y = ↑π)\nh' : ∀ (r' : ℝ), o.oangle x (r' • x + y) ≠ 0 ∧ o.oangle x (r' • x + y) ≠ ↑π\ns : Set (V × V) := (fun r' ↦ ... | let s : Set (V × V) := (fun r' : ℝ => (x, r' • x + y)) '' Set.univ | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic | {
"line": 1005,
"column": 2
} | {
"line": 1006,
"column": 12
} | {
"line": 1008,
"column": 0
} | [
{
"pp": "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nr₁ r₂ : ℝ\n⊢ (o.oangle (r₁ • x + r₂ • y) y).sign = SignType.sign r₁ * (o.oangle x y).sign",
"ppTerm": "?m.54",
"assigned": true,
"usedConstants"... | [] | simp_rw [o.oangle_rev y, Real.Angle.sign_neg, add_comm (r₁ • x), oangle_sign_smul_add_smul_right,
mul_neg] | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic | {
"line": 1005,
"column": 2
} | {
"line": 1006,
"column": 12
} | {
"line": 1008,
"column": 0
} | [
{
"pp": "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nr₁ r₂ : ℝ\n⊢ (o.oangle (r₁ • x + r₂ • y) y).sign = SignType.sign r₁ * (o.oangle x y).sign",
"ppTerm": "?m.54",
"assigned": true,
"usedConstants"... | [] | simp_rw [o.oangle_rev y, Real.Angle.sign_neg, add_comm (r₁ • x), oangle_sign_smul_add_smul_right,
mul_neg] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic | {
"line": 1005,
"column": 2
} | {
"line": 1006,
"column": 12
} | {
"line": 1008,
"column": 0
} | [
{
"pp": "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nr₁ r₂ : ℝ\n⊢ (o.oangle (r₁ • x + r₂ • y) y).sign = SignType.sign r₁ * (o.oangle x y).sign",
"ppTerm": "?m.54",
"assigned": true,
"usedConstants"... | [] | simp_rw [o.oangle_rev y, Real.Angle.sign_neg, add_comm (r₁ • x), oangle_sign_smul_add_smul_right,
mul_neg] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Geometry.Euclidean.Angle.Oriented.RightAngle | {
"line": 354,
"column": 2
} | {
"line": 354,
"column": 68
} | {
"line": 356,
"column": 0
} | [
{
"pp": "V : Type u_1\ninst✝¹ : NormedAddCommGroup V\ninst✝ : InnerProductSpace ℝ V\nhd2 : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nh : (-o).oangle y x = ↑(π / 2)\n⊢ ((-o).oangle x (x - y)).cos * ‖x - y‖ = ‖x‖",
"ppTerm": "?m.114",
"assigned": true,
"usedConstants": [
"Alt... | [] | exact (-o).cos_oangle_sub_right_mul_norm_of_oangle_eq_pi_div_two h | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Geometry.Euclidean.Basic | {
"line": 107,
"column": 57
} | {
"line": 107,
"column": 65
} | {
"line": 107,
"column": 66
} | [
{
"pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\nι : Type u_3\ns : Finset ι\nw : ι → ℝ\np : ι → P\nq : P\nh : ∑ i ∈ s, w i = 1\n⊢ (∑ x ∈ s, ∑ x_1 ∈ s, (w x * w x_1 * (dist (p x) q ^ 2 + dist (p x_1) q ^ 2) - ... | [
"V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\nι : Type u_3\ns : Finset ι\nw : ι → ℝ\np : ι → P\nq : P\nh : ∑ i ∈ s, w i = 1\n⊢ (∑ x ∈ s,\n ∑ x_1 ∈ s,\n (w x * w x_1 * dist (p x) q ^ 2 + w x * w x_1 * d... | mul_add, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Geometry.Euclidean.Angle.Bisector | {
"line": 184,
"column": 2
} | {
"line": 187,
"column": 15
} | {
"line": 190,
"column": 0
} | [
{
"pp": "case inr.inr\nV : Type u_1\nP : Type u_2\ninst✝⁵ : NormedAddCommGroup V\ninst✝⁴ : InnerProductSpace ℝ V\ninst✝³ : MetricSpace P\ninst✝² : NormedAddTorsor V P\ninst✝¹ : Fact (finrank ℝ V = 2)\ninst✝ : Oriented ℝ V (Fin 2)\np p' : P\ns₁ s₂ : AffineSubspace ℝ P\nhp'₁ : p' ∈ s₁\nhp'₂ : p' ∈ s₂\nhne : ↑((or... | [] | · exfalso
have h' := h.collinear
rw [Set.pair_comm] at h'
exact hc h' | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Geometry.Euclidean.Angle.Oriented.RightAngle | {
"line": 645,
"column": 61
} | {
"line": 648,
"column": 89
} | {
"line": 650,
"column": 0
} | [
{
"pp": "V : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nhd2 : Fact (finrank ℝ V = 2)\ninst✝ : Oriented ℝ V (Fin 2)\np₁ p₂ p₃ : P\nh : ∡ p₁ p₂ p₃ = ↑(π / 2)\n⊢ (∡ p₃ p₁ p₂).tan = dist p₃ p₂ / dist p₁ p₂",
"ppTer... | [] | by
have hs : (∡ p₃ p₁ p₂).sign = 1 := by rw [← oangle_rotate_sign, h, Real.Angle.sign_coe_pi_div_two]
rw [oangle_eq_angle_of_sign_eq_one hs, angle_comm, Real.Angle.tan_coe,
tan_angle_of_angle_eq_pi_div_two (angle_rev_eq_pi_div_two_of_oangle_eq_pi_div_two h)] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Geometry.Euclidean.Angle.Oriented.RightAngle | {
"line": 697,
"column": 4
} | {
"line": 698,
"column": 50
} | {
"line": 698,
"column": 50
} | [
{
"pp": "V : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nhd2 : Fact (finrank ℝ V = 2)\ninst✝ : Oriented ℝ V (Fin 2)\np₁ p₂ p₃ : P\nh : ∡ p₁ p₂ p₃ = ↑(π / 2)\nhs : (∡ p₃ p₁ p₂).sign = 1\n⊢ Real.tan (∠ p₂ p₁ p₃) * dis... | [
"V : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nhd2 : Fact (finrank ℝ V = 2)\ninst✝ : Oriented ℝ V (Fin 2)\np₁ p₂ p₃ : P\nh : ∡ p₁ p₂ p₃ = ↑(π / 2)\nhs : (∡ p₃ p₁ p₂).sign = 1\n⊢ dist p₃ p₂ = dist p₃ p₂"
] | tan_angle_mul_dist_of_angle_eq_pi_div_two (angle_rev_eq_pi_div_two_of_oangle_eq_pi_div_two h)
(Or.inr (left_ne_of_oangle_eq_pi_div_two h)) | Lean.Elab.Tactic.evalRewriteSeq | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.