module string | startPos dict | endPos dict | nextStartPos dict | goals list | goalsAfter list | ppTac string | elaborator string | kind string |
|---|---|---|---|---|---|---|---|---|
Mathlib.Algebra.Star.Conjneg | {
"line": 62,
"column": 38
} | {
"line": 62,
"column": 49
} | {
"line": 62,
"column": 49
} | [
{
"pp": "G : Type u_2\nR : Type u_3\ninst✝² : AddGroup G\ninst✝¹ : CommSemiring R\ninst✝ : StarRing R\nf : G → R\n⊢ f = conjneg 1 ↔ f = 1",
"ppTerm": "?m.28",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"conjneg_one",
"congrArg",
... | [
"G : Type u_2\nR : Type u_3\ninst✝² : AddGroup G\ninst✝¹ : CommSemiring R\ninst✝ : StarRing R\nf : G → R\n⊢ f = 1 ↔ f = 1"
] | conjneg_one | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 445,
"column": 30
} | {
"line": 445,
"column": 41
} | {
"line": 445,
"column": 42
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 451,
"column": 4
} | {
"line": 451,
"column": 15
} | {
"line": 451,
"column": 16
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 457,
"column": 4
} | {
"line": 457,
"column": 15
} | {
"line": 457,
"column": 16
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 529,
"column": 2
} | {
"line": 529,
"column": 44
} | {
"line": 529,
"column": 45
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 550,
"column": 4
} | {
"line": 550,
"column": 15
} | {
"line": 550,
"column": 16
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 554,
"column": 2
} | {
"line": 554,
"column": 13
} | {
"line": 554,
"column": 14
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Sub.Unbundled.Hom | {
"line": 36,
"column": 2
} | {
"line": 36,
"column": 33
} | {
"line": 36,
"column": 34
} | [
{
"pp": "R : Type u_3\ninst✝⁴ : NonUnitalCommSemiring R\ninst✝³ : Preorder R\ninst✝² : Sub R\ninst✝¹ : OrderedSub R\ninst✝ : MulLeftMono R\na b c : R\n⊢ a * c - b * c ≤ (a - b) * c",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"congrArg",
"H... | [
"R : Type u_3\ninst✝⁴ : NonUnitalCommSemiring R\ninst✝³ : Preorder R\ninst✝² : Sub R\ninst✝¹ : OrderedSub R\ninst✝ : MulLeftMono R\na b c : R\n⊢ c * a - c * b ≤ c * (a - b)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 578,
"column": 58
} | {
"line": 578,
"column": 69
} | {
"line": 578,
"column": 70
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 52,
"column": 4
} | {
"line": 52,
"column": 16
} | {
"line": 52,
"column": 17
} | [
{
"pp": "K : Type u\ninst✝ : Field K\nA : ValuationSubring K\n⊢ Function.Injective fun A ↦ ↑A.toSubring",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Subring.toSubsemiring",
"DivisionCommMonoid.toDivisionMonoid",
"Subring.instSetLike",
"DivInvOneMonoid.toInvOneCla... | [
"K : Type u\ninst✝ : Field K\nA : ValuationSubring K\ntoSubring✝ : Subring K\nmem_or_inv_mem'✝ : ∀ (x : K), x ∈ toSubring✝.carrier ∨ x⁻¹ ∈ toSubring✝.carrier\n⊢ ∀ ⦃a₂ : ValuationSubring K⦄,\n (fun A ↦ ↑A.toSubring) { toSubring := toSubring✝, mem_or_inv_mem' := mem_or_inv_mem'✝ } =\n (fun A ↦ ↑A.toSubring)... | intro ⟨_, _⟩ | Lean.Elab.Tactic.evalIntro | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 162,
"column": 38
} | {
"line": 162,
"column": 49
} | {
"line": 162,
"column": 50
} | [
{
"pp": "K : Type u\ninst✝ : Field K\nA : ValuationSubring K\na b : ↥A\nh : (algebraMap (↥A) K) a = (algebraMap (↥A) K) b\n⊢ ↑(↑1 * a) = ↑(↑1 * b)",
"ppTerm": "?m.140",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"Monoid.toMulOneClass",
"congrArg",
"Comm... | [
"K : Type u\ninst✝ : Field K\nA : ValuationSubring K\na b : ↥A\nh : (algebraMap (↥A) K) a = (algebraMap (↥A) K) b\n⊢ a = b"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 162,
"column": 30
} | {
"line": 162,
"column": 51
} | {
"line": 162,
"column": 51
} | [
{
"pp": "K : Type u\ninst✝ : Field K\nA : ValuationSubring K\na b : ↥A\nh : (algebraMap (↥A) K) a = (algebraMap (↥A) K) b\n⊢ ↑1 * a = ↑1 * b",
"ppTerm": "?m.48",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"Algebra.algebraMap",
"Monoid.toMulOneClass",
"c... | [] | by ext; simpa using h | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 340,
"column": 8
} | {
"line": 340,
"column": 39
} | {
"line": 340,
"column": 40
} | [
{
"pp": "case a.ha\nK : Type u\ninst✝ : Field K\nR S : ValuationSubring K\nh : R ≤ S\na r : ↥R\nhr : r ∈ (R.idealOfLE S h).primeCompl\n⊢ 0 < S.valuation ((algebraMap (↥R) K) r)",
"ppTerm": "?a.ha✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"GroupWithZero.toMonoidWithZero",
"L... | [
"case a.ha\nK : Type u\ninst✝ : Field K\nR S : ValuationSubring K\nh : R ≤ S\na r : ↥R\nhr : r ∈ (R.idealOfLE S h).primeCompl\n⊢ ¬r = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 452,
"column": 38
} | {
"line": 452,
"column": 49
} | {
"line": 452,
"column": 50
} | [
{
"pp": "case mp\nK : Type u\ninst✝² : Field K\nΓ₁ : Type u_2\nΓ₂ : Type u_3\ninst✝¹ : LinearOrderedCommGroupWithZero Γ₁\ninst✝ : LinearOrderedCommGroupWithZero Γ₂\nv₁ : Valuation K Γ₁\nv₂ : Valuation K Γ₂\nx : K\nh : v₁ x ≤ v₁ 1 ↔ v₂ x ≤ v₂ 1\n⊢ x ∈ v₁.valuationSubring ↔ x ∈ v₂.valuationSubring",
"ppTerm":... | [
"case mp\nK : Type u\ninst✝² : Field K\nΓ₁ : Type u_2\nΓ₂ : Type u_3\ninst✝¹ : LinearOrderedCommGroupWithZero Γ₁\ninst✝ : LinearOrderedCommGroupWithZero Γ₂\nv₁ : Valuation K Γ₁\nv₂ : Valuation K Γ₂\nx : K\nh : v₁ x ≤ v₁ 1 ↔ v₂ x ≤ v₂ 1\n⊢ v₁ x ≤ 1 ↔ v₂ x ≤ 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 456,
"column": 4
} | {
"line": 456,
"column": 15
} | {
"line": 456,
"column": 16
} | [
{
"pp": "case mpr\nK : Type u\ninst✝² : Field K\nΓ₁ : Type u_2\nΓ₂ : Type u_3\ninst✝¹ : LinearOrderedCommGroupWithZero Γ₁\ninst✝ : LinearOrderedCommGroupWithZero Γ₂\nv₁ : Valuation K Γ₁\nv₂ : Valuation K Γ₂\nh : v₁.valuationSubring = v₂.valuationSubring\nx : K\nthis : x ∈ v₁.valuationSubring ↔ x ∈ v₂.valuationS... | [
"case mpr\nK : Type u\ninst✝² : Field K\nΓ₁ : Type u_2\nΓ₂ : Type u_3\ninst✝¹ : LinearOrderedCommGroupWithZero Γ₁\ninst✝ : LinearOrderedCommGroupWithZero Γ₂\nv₁ : Valuation K Γ₁\nv₂ : Valuation K Γ₂\nh : v₁.valuationSubring = v₂.valuationSubring\nx : K\nthis : x ∈ v₁.valuationSubring ↔ x ∈ v₂.valuationSubring\n⊢ v₁... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 666,
"column": 41
} | {
"line": 666,
"column": 74
} | {
"line": 666,
"column": 74
} | [
{
"pp": "case inr\nK : 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✝⁴ : AddCommG... | [
"case inr\nK : 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... | HahnSeries.coeff_truncLT_of_le hd | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 670,
"column": 47
} | {
"line": 670,
"column": 58
} | {
"line": 670,
"column": 59
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 525,
"column": 6
} | {
"line": 525,
"column": 17
} | {
"line": 526,
"column": 8
} | [
{
"pp": "case neg.inl\nK : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A.unitGroup ≤ B.unitGroup\nx : K\nh_1 : ¬x = 0\nh_2 : ¬1 + x = 0\nhx : A.valuation x < 1\nthis : Units.mk0 (1 + x) h_2 ∈ B.unitGroup\n⊢ x ∈ B",
"ppTerm": "?neg.inl✝",
"assigned": false,
"usedConstants": [],
"usedFV... | [
"case neg.inl\nK : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A.unitGroup ≤ B.unitGroup\nx : K\nh_1 : ¬x = 0\nh_2 : ¬1 + x = 0\nhx : A.valuation x < 1\nthis : Units.mk0 (1 + x) h_2 ∈ B.unitGroup\n⊢ x ∈ B"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 532,
"column": 4
} | {
"line": 532,
"column": 15
} | {
"line": 532,
"column": 16
} | [
{
"pp": "case mpr\nK : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A ≤ B\nx : Kˣ\nhx : (A.mapOfLE B h) (A.valuation ↑x) = (A.mapOfLE B h) 1\n⊢ x ∈ B.unitGroup",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [
"Units.val",
"Eq.mpr",
"LinearOrderedCommGroupWithZero.... | [
"case mpr\nK : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A ≤ B\nx : Kˣ\nhx : (A.mapOfLE B h) (A.valuation ↑x) = (A.mapOfLE B h) 1\n⊢ B.valuation ↑x = 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 535,
"column": 18
} | {
"line": 535,
"column": 76
} | {
"line": 535,
"column": 77
} | [
{
"pp": "K : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A.unitGroup = B.unitGroup\n⊢ A = B",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"ValuationSubring.instPartialOrder",
"_private.Mathlib.RingTheory.Valuation.ValuationSubring.0.ValuationSubring... | [
"K : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A.unitGroup = B.unitGroup\n⊢ A ≤ B ∧ B ≤ A"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 585,
"column": 18
} | {
"line": 585,
"column": 74
} | {
"line": 585,
"column": 75
} | [
{
"pp": "K : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A.nonunits = B.nonunits\n⊢ A = B",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"ValuationSubring.instPartialOrder",
"PartialOrder.toPreorder",
"Preorder.toLE",
"id",
"LE.le",... | [
"K : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A.nonunits = B.nonunits\n⊢ A ≤ B ∧ B ≤ A"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 667,
"column": 6
} | {
"line": 667,
"column": 28
} | {
"line": 667,
"column": 29
} | [
{
"pp": "case pos\nK : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : B.principalUnitGroup ≤ A.principalUnitGroup\nx : K\nhx : x ∈ A\nh_1 : ¬x = 0\nh_2 : x = -1\n⊢ x ∈ B",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonUnitalCommRing.toNonUnitalNonAssocComm... | [
"case pos\nK : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : B.principalUnitGroup ≤ A.principalUnitGroup\nx : K\nhx : x ∈ A\nh_1 : ¬x = 0\nh_2 : x = -1\n⊢ -1 ∈ B"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 670,
"column": 6
} | {
"line": 670,
"column": 27
} | {
"line": 670,
"column": 28
} | [
{
"pp": "case neg\nK : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : B.principalUnitGroup ≤ A.principalUnitGroup\nx : K\nhx✝¹ : ¬A.valuation x⁻¹ < 1\nh_1 : ¬x = 0\nh_2 : ¬x⁻¹ + 1 = 0\nhx✝ : ¬A.valuation (x⁻¹ + 1 - 1) < 1\nhx : Units.mk0 (x⁻¹ + 1) h_2 ∉ A.principalUnitGroup\n⊢ Units.mk0 (x⁻¹ + 1) h_2 ∉ ... | [
"case neg\nK : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : B.principalUnitGroup ≤ A.principalUnitGroup\nx : K\nhx✝¹ : ¬A.valuation x⁻¹ < 1\nh_1 : ¬x = 0\nh_2 : ¬x⁻¹ + 1 = 0\nhx✝ : ¬A.valuation (x⁻¹ + 1 - 1) < 1\nhx : Units.mk0 (x⁻¹ + 1) h_2 ∉ A.principalUnitGroup\n⊢ Units.mk0 (x⁻¹ + 1) h_2 ∉ B.principalU... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Valuation.ValuationSubring | {
"line": 676,
"column": 2
} | {
"line": 676,
"column": 73
} | {
"line": 676,
"column": 74
} | [
{
"pp": "K : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A.principalUnitGroup = B.principalUnitGroup\n⊢ A = B",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"ValuationSubring.instPartialOrder",
"PartialOrder.toPreorder",
"Preorder.toLE",
... | [
"K : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A.principalUnitGroup = B.principalUnitGroup\n⊢ A ≤ B ∧ B ≤ A"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Pointwise.Stabilizer | {
"line": 131,
"column": 2
} | {
"line": 131,
"column": 13
} | {
"line": 131,
"column": 14
} | [
{
"pp": "G : Type u_1\ninst✝ : CommGroup G\ns : Set G\na : G\nha : a ∈ s\n⊢ a • ↑(stabilizer G s) ⊆ s",
"ppTerm": "?m.13",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"G : Type u_1\ninst✝ : CommGroup G\ns : Set G\na : G\nha : a ∈ s\n⊢ a • ↑(stabilizer G s) ⊆ s"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Pointwise.Stabilizer | {
"line": 148,
"column": 2
} | {
"line": 148,
"column": 58
} | {
"line": 148,
"column": 59
} | [
{
"pp": "G : Type u_1\ninst✝ : Group G\ns : Subgroup G\na : G\nh : ∀ (b : G), a • b ∈ ↑s ↔ b ∈ ↑s\n⊢ a ∈ s",
"ppTerm": "?m.14",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"G : Type u_1\ninst✝ : Group G\ns : Subgroup G\na : G\nh : ∀ (b : G), a • b ∈ ↑s ↔ b ∈ ↑s\n⊢ a ∈ s"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Pointwise.Stabilizer | {
"line": 155,
"column": 2
} | {
"line": 155,
"column": 61
} | {
"line": 155,
"column": 62
} | [
{
"pp": "G : Type u_1\ninst✝ : Group G\ns : Subgroup G\na : G\nh : ∀ (b : G), b * a ∈ s ↔ b ∈ s\n⊢ a ∈ s",
"ppTerm": "?m.17",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"G : Type u_1\ninst✝ : Group G\ns : Subgroup G\na : G\nh : ∀ (b : G), b * a ∈ s ↔ b ∈ s\n⊢ a ∈ s"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Ring.StandardPart | {
"line": 166,
"column": 2
} | {
"line": 166,
"column": 22
} | {
"line": 167,
"column": 2
} | [
{
"pp": "K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx : FiniteElement K\n⊢ mk x = 0 ↔ 0 < ArchimedeanClass.mk ↑x",
"ppTerm": "?m.28",
"assigned": true,
"usedConstants": [
"AddValuation.toValuation",
"IsDomain.to_noZeroDivisors",
"Preorder.toLT"... | [
"K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx : FiniteElement K\n⊢ 0 < ArchimedeanClass.mk (↑x - ↑0) ↔ 0 < ArchimedeanClass.mk ↑x"
] | apply mk_eq_mk.trans | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 796,
"column": 23
} | {
"line": 796,
"column": 34
} | {
"line": 796,
"column": 35
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Ring.StandardPart | {
"line": 406,
"column": 2
} | {
"line": 406,
"column": 13
} | {
"line": 406,
"column": 14
} | [
{
"pp": "K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx : K\nh : x ≤ 0\n⊢ stdPart x ≤ 0",
"ppTerm": "?m.19",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx : K\nh : x ≤ 0\n⊢ stdPart x ≤ 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Ring.StandardPart | {
"line": 425,
"column": 4
} | {
"line": 425,
"column": 15
} | {
"line": 425,
"column": 16
} | [
{
"pp": "case hneg\nK : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx : K\nf : ℝ →+*o K\nr : ℝ\nhx : 0 ≤ mk x\nh : r < stdPart x\n⊢ f (r - stdPart x) ≤ 0",
"ppTerm": "?hneg",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Real.partialOrder",
"Real"... | [
"case hneg\nK : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx : K\nf : ℝ →+*o K\nr : ℝ\nhx : 0 ≤ mk x\nh : r < stdPart x\n⊢ f r ≤ f (stdPart x)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 804,
"column": 6
} | {
"line": 804,
"column": 17
} | {
"line": 804,
"column": 18
} | [
{
"pp": "case pos.inl\nK : 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✝⁴ : AddC... | [
"case pos.inl\nK : 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\n... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 808,
"column": 19
} | {
"line": 808,
"column": 30
} | {
"line": 808,
"column": 31
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Ring.StandardPart | {
"line": 452,
"column": 47
} | {
"line": 452,
"column": 58
} | {
"line": 452,
"column": 59
} | [
{
"pp": "K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nf : ℝ →+*o K\nx : K\nhx : 0 ≤ mk x\na : ℤ\nha : ↑a < x\nb : ℤ\nhb : x < ↑b\n⊢ ↑b ∈ {r | x < f r}",
"ppTerm": "?m.84",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"Real",
"... | [
"K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nf : ℝ →+*o K\nx : K\nhx : 0 ≤ mk x\na : ℤ\nha : ↑a < x\nb : ℤ\nhb : x < ↑b\n⊢ x < ↑b"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Ring.StandardPart | {
"line": 456,
"column": 44
} | {
"line": 456,
"column": 55
} | {
"line": 456,
"column": 56
} | [
{
"pp": "K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nf : ℝ →+*o K\nx : K\nhx : 0 ≤ mk x\na : ℤ\nha : ↑a < x\nb : ℤ\nhb : x < ↑b\nhn : {r | x < f r}.Nonempty\nr : ℝ\nhr : r ∈ {r | x < f r}\nhra : r < ↑a\n⊢ (↑↑f.toRingHom).toFun ↑a < (↑↑f.toRingHom).toFun r",
"ppTerm": "?m... | [
"K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nf : ℝ →+*o K\nx : K\nhx : 0 ≤ mk x\na : ℤ\nha : ↑a < x\nb : ℤ\nhb : x < ↑b\nhn : {r | x < f r}.Nonempty\nr : ℝ\nhr : r ∈ {r | x < f r}\nhra : r < ↑a\n⊢ ↑a < f r"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Ring.StandardPart | {
"line": 458,
"column": 6
} | {
"line": 458,
"column": 17
} | {
"line": 458,
"column": 18
} | [
{
"pp": "case inl.hl\nK : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nf : ℝ →+*o K\nx : K\nhx : 0 ≤ mk x\na : ℤ\nha : ↑a < x\nb : ℤ\nhb✝ : x < ↑b\nhn : {r | x < f r}.Nonempty\nhb : BddBelow {r | x < f r}\nr : ℝ\nhr : r < sInf {r | x < f r}\n⊢ f r ≤ x",
"ppTerm": "?inl.hl",
... | [
"case inl.hl\nK : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nf : ℝ →+*o K\nx : K\nhx : 0 ≤ mk x\na : ℤ\nha : ↑a < x\nb : ℤ\nhb✝ : x < ↑b\nhn : {r | x < f r}.Nonempty\nhb : BddBelow {r | x < f r}\nr : ℝ\nhr : r < sInf {r | x < f r}\n⊢ f r ≤ x"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.CoeffList | {
"line": 95,
"column": 2
} | {
"line": 96,
"column": 70
} | {
"line": 97,
"column": 4
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nP : R[X]\nh : P.nextCoeff ≠ 0\nh₂ : P ≠ 0\nh₃ : ¬P.eraseLead = 0\n⊢ P.leadingCoeff :: P.eraseLead.coeffList = P.coeffList",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Polynomial.natDegree_eraseLead_add_o... | [
"R : Type u_1\ninst✝ : Semiring R\nP : R[X]\nh : P.nextCoeff ≠ 0\nh₂ : P ≠ 0\nh₃ : ¬P.eraseLead = 0\n⊢ ∀ a < P.natDegree, P.eraseLead.coeff a = P.coeff a"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 818,
"column": 46
} | {
"line": 818,
"column": 57
} | {
"line": 818,
"column": 58
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.CoeffList | {
"line": 109,
"column": 4
} | {
"line": 110,
"column": 11
} | {
"line": 110,
"column": 12
} | [
{
"pp": "case succ\nR : Type u_1\ninst✝ : Semiring R\nx : R\nhx : x ≠ 0\nn : ℕ\nh : ¬(monomial n) x = 0\nk : ℕ\nh₁✝¹ : k + 1 < ((monomial n) x).coeffList.length\nh₁✝ : k + 1 < (x :: List.replicate n 0).length\nh₁ : k + 1 < n + 1\nthis : ((monomial n) x).natDegree.succ = n + 1\n⊢ ((monomial n) x).coeffList.get ⟨... | [
"case succ\nR : Type u_1\ninst✝ : Semiring R\nx : R\nhx : x ≠ 0\nn : ℕ\nh : ¬(monomial n) x = 0\nk : ℕ\nh₁✝¹ : k + 1 < ((monomial n) x).coeffList.length\nh₁✝ : k + 1 < (x :: List.replicate n 0).length\nh₁ : k + 1 < n + 1\nthis : ((monomial n) x).natDegree.succ = n + 1\n⊢ ((monomial n) x).coeff (((monomial n) x).nat... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.CoeffList | {
"line": 123,
"column": 6
} | {
"line": 123,
"column": 23
} | {
"line": 123,
"column": 24
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nP : R[X]\nh : P ≠ 0\nhdp : ¬P.natDegree = 0\nhep : P.eraseLead = 0\n⊢ (monomial P.natDegree) P.leadingCoeff = P",
"ppTerm": "?m.91",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"R : Type u_1\ninst✝ : Semiring R\nP : R[X]\nh : P ≠ 0\nhdp : ¬P.natDegree = 0\nhep : P.eraseLead = 0\n⊢ (monomial P.natDegree) P.leadingCoeff = P"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.CoeffMem | {
"line": 44,
"column": 6
} | {
"line": 44,
"column": 17
} | {
"line": 44,
"column": 18
} | [
{
"pp": "case neg\nR : Type u_2\nS : Type u_3\ninst✝² : CommRing R\ninst✝¹ : Ring S\ninst✝ : Algebra R S\np q : S[X]\nhq : q.Monic\ni : ℕ\nH₀ : ∀ (i : ℕ), p.coeff i ∈ spanCoeffs(q) ^ deg(p) * spanCoeffs(p)\nhpq : ¬(q.degree ≤ p.degree ∧ p ≠ 0)\n⊢ (0, p).1.coeff i ∈ spanCoeffs(q) ^ deg(p) * spanCoeffs(p) ∧ (0, p... | [
"case neg\nR : Type u_2\nS : Type u_3\ninst✝² : CommRing R\ninst✝¹ : Ring S\ninst✝ : Algebra R S\np q : S[X]\nhq : q.Monic\ni : ℕ\nH₀ : ∀ (i : ℕ), p.coeff i ∈ spanCoeffs(q) ^ deg(p) * spanCoeffs(p)\nhpq : ¬(q.degree ≤ p.degree ∧ p ≠ 0)\n⊢ p.coeff i ∈ spanCoeffs(q) ^ deg(p) * spanCoeffs(p)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.CoeffList | {
"line": 143,
"column": 32
} | {
"line": 143,
"column": 87
} | {
"line": 143,
"column": 88
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nP : R[X]\nh : P ≠ 0\nhdp : ¬P.natDegree = 0\nhep : ¬P.eraseLead = 0\nh₁ : P.degree.succ = P.natDegree + 1\nh₂ : P.eraseLead.degree.succ = P.eraseLead.natDegree + 1\nn : ℕ\nhn : P.natDegree = P.eraseLead.natDegree + 1 + n\nk : ℕ\nhkd : k + 1 < P.natDegree + 1\ndk : ℕ\nh... | [
"R : Type u_1\ninst✝ : Semiring R\nP : R[X]\nh : P ≠ 0\nhdp : ¬P.natDegree = 0\nhep : ¬P.eraseLead = 0\nh₁ : P.degree.succ = P.natDegree + 1\nh₂ : P.eraseLead.degree.succ = P.eraseLead.natDegree + 1\nn : ℕ\nhn : P.natDegree = P.eraseLead.natDegree + 1 + n\nk : ℕ\nhkd : k + 1 < P.natDegree + 1\ndk : ℕ\nhdk : P.natDe... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.CoeffMem | {
"line": 47,
"column": 4
} | {
"line": 47,
"column": 24
} | {
"line": 48,
"column": 4
} | [
{
"pp": "case pos\nR : Type u_2\nS : Type u_3\ninst✝² : CommRing R\ninst✝¹ : Ring S\ninst✝ : Algebra R S\np q : S[X]\nhq : q.Monic\ni : ℕ\nH₀ : ∀ (i : ℕ), p.coeff i ∈ spanCoeffs(q) ^ deg(p) * spanCoeffs(p)\nhpq : q.degree ≤ p.degree ∧ p ≠ 0\nr : S[X]\nhr : p - q * (C p.leadingCoeff * X ^ (deg(p) - deg(q))) = r\... | [
"case pos\nR : Type u_2\nS : Type u_3\ninst✝² : CommRing R\ninst✝¹ : Ring S\ninst✝ : Algebra R S\np q : S[X]\nhq : q.Monic\ni : ℕ\nH₀ : ∀ (i : ℕ), p.coeff i ∈ spanCoeffs(q) ^ deg(p) * spanCoeffs(p)\nhpq : q.degree ≤ p.degree ∧ p ≠ 0\nr : S[X]\nhr : p - q * (C p.leadingCoeff * X ^ (deg(p) - deg(q))) = r\nhr' : r = 0... | by_cases hr' : r = 0 | «_aux_Init_ByCases___macroRules_tacticBy_cases_:__2» | «tacticBy_cases_:_» |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 833,
"column": 44
} | {
"line": 833,
"column": 55
} | {
"line": 833,
"column": 56
} | [
{
"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\nin... | [
"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✝³ : Linea... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.CoeffList | {
"line": 151,
"column": 4
} | {
"line": 151,
"column": 43
} | {
"line": 151,
"column": 44
} | [
{
"pp": "case pos\nR : Type u_1\ninst✝ : Semiring R\nP : R[X]\nh : P ≠ 0\nhdp : ¬P.natDegree = 0\nhep : ¬P.eraseLead = 0\nh₁ : P.degree.succ = P.natDegree + 1\nh₂ : P.eraseLead.degree.succ = P.eraseLead.natDegree + 1\nn : ℕ\nhn : P.natDegree = P.eraseLead.natDegree + 1 + n\nk : ℕ\nhkd : k + 1 < P.natDegree + 1\... | [
"case pos\nR : Type u_1\ninst✝ : Semiring R\nP : R[X]\nh : P ≠ 0\nhdp : ¬P.natDegree = 0\nhep : ¬P.eraseLead = 0\nh₁ : P.degree.succ = P.natDegree + 1\nh₂ : P.eraseLead.degree.succ = P.eraseLead.natDegree + 1\nn : ℕ\nhn : P.natDegree = P.eraseLead.natDegree + 1 + n\nk : ℕ\nhkd : k + 1 < P.natDegree + 1\ndk : ℕ\nhdk... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Bivariate | {
"line": 266,
"column": 2
} | {
"line": 266,
"column": 31
} | {
"line": 266,
"column": 32
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nf : R[X]\n⊢ swap (C f) = map C f",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.C",
"Polynomial.eval",
"Equiv.instEquivLike",
"Polynomial.aevalAevalEquiv_apply_apply",
"Algebra.algebra... | [
"R : Type u_1\ninst✝ : CommSemiring R\nf : R[X]\n⊢ (aeval Y) f = map (algebraMap R R[X]) f"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 922,
"column": 2
} | {
"line": 922,
"column": 29
} | {
"line": 922,
"column": 30
} | [
{
"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... | [
"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✝¹ : LinearO... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Degree.IsMonicOfDegree | {
"line": 137,
"column": 4
} | {
"line": 137,
"column": 15
} | {
"line": 137,
"column": 16
} | [
{
"pp": "case inl\nR : Type u_1\ninst✝ : Semiring R\np q : R[X]\nn : ℕ\nhp : p.IsMonicOfDegree n\nhq : q.natDegree < n\nH : Subsingleton R\n⊢ (p + q).IsMonicOfDegree n",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"id",
"instOfNatNat",
"Polynomial.instAdd... | [
"case inl\nR : Type u_1\ninst✝ : Semiring R\np q : R[X]\nn : ℕ\nhp : p.IsMonicOfDegree n\nhq : q.natDegree < n\nH : Subsingleton R\n⊢ n = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Degree.IsMonicOfDegree | {
"line": 174,
"column": 2
} | {
"line": 174,
"column": 48
} | {
"line": 174,
"column": 49
} | [
{
"pp": "R : Type u_1\ninst✝¹ : Semiring R\ninst✝ : Nontrivial R\nn : ℕ\n⊢ ((monomial n) 1).IsMonicOfDegree n",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"Semiring.toModule",
"congrArg",
"LinearMap.instFu... | [
"R : Type u_1\ninst✝¹ : Semiring R\ninst✝ : Nontrivial R\nn : ℕ\n⊢ (X ^ n).IsMonicOfDegree n"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Order.Module.HahnEmbedding | {
"line": 976,
"column": 4
} | {
"line": 976,
"column": 38
} | {
"line": 976,
"column": 39
} | [
{
"pp": "case refine_1\nK : 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✝⁴ : Add... | [
"case refine_1\nK : 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\... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Degree.IsMonicOfDegree | {
"line": 277,
"column": 4
} | {
"line": 277,
"column": 15
} | {
"line": 277,
"column": 16
} | [
{
"pp": "case inl\nR : Type u_1\ninst✝ : CommRing R\np : R[X]\nn : ℕ\nhp : p.IsMonicOfDegree n\nr : R\nH : Subsingleton R\n⊢ ((aeval (X + C r)) p).IsMonicOfDegree n",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.C",
"CommSemiring.toSemiring",
"... | [
"case inl\nR : Type u_1\ninst✝ : CommRing R\np : R[X]\nn : ℕ\nhp : p.IsMonicOfDegree n\nr : R\nH : Subsingleton R\n⊢ n = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Mirror | {
"line": 79,
"column": 15
} | {
"line": 79,
"column": 35
} | {
"line": 79,
"column": 35
} | [
{
"pp": "case pos\nR : Type u_1\ninst✝ : Semiring R\np : R[X]\nn : ℕ\nh2 : p.natDegree < n\nh1 : n ≤ p.natDegree + p.natTrailingDegree\n⊢ n + p.natTrailingDegree - n ≤ p.natTrailingDegree",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.instOrderedSub",
"Nat... | [
"case pos\nR : Type u_1\ninst✝ : Semiring R\np : R[X]\nn : ℕ\nh2 : p.natDegree < n\nh1 : n ≤ p.natDegree + p.natTrailingDegree\n⊢ p.natTrailingDegree ≤ p.natTrailingDegree"
] | add_tsub_cancel_left | Mathlib.Tactic.GRewrite.evalGRewriteSeq | null |
Mathlib.Algebra.Polynomial.Mirror | {
"line": 151,
"column": 66
} | {
"line": 151,
"column": 78
} | {
"line": 151,
"column": 79
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\np : R[X]\nn : ℕ\nhn : n ∈ Finset.range (p.natDegree + p.natTrailingDegree).succ\n⊢ p.coeff (n, (revAt (p.natDegree + p.natTrailingDegree)) n).1 *\n p.coeff ((revAt (p.natDegree + p.natTrailingDegree)) (n, (revAt (p.natDegree + p.natTrailingDegree)) n).2) =\n p.... | [
"R : Type u_1\ninst✝ : Semiring R\np : R[X]\nn : ℕ\nhn : n ∈ Finset.range (p.natDegree + p.natTrailingDegree).succ\n⊢ p.coeff (n, (revAt (p.natDegree + p.natTrailingDegree)) n).1 * p.coeff n = p.coeff n ^ 2"
] | revAt_invol, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Mirror | {
"line": 158,
"column": 6
} | {
"line": 158,
"column": 49
} | {
"line": 158,
"column": 50
} | [
{
"pp": "case neg\nR : Type u_1\ninst✝¹ : Semiring R\np : R[X]\ninst✝ : NoZeroDivisors R\nhp : ¬p = 0\n⊢ (p * p.mirror).natDegree = 2 * p.natDegree",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"Polynomial.natDegree_mul",
"congrArg",
"... | [
"case neg\nR : Type u_1\ninst✝¹ : Semiring R\np : R[X]\ninst✝ : NoZeroDivisors R\nhp : ¬p = 0\n⊢ p.natDegree + p.mirror.natDegree = 2 * p.natDegree"
] | natDegree_mul hp (mt mirror_eq_zero.mp hp), | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.List.Destutter | {
"line": 96,
"column": 2
} | {
"line": 96,
"column": 36
} | {
"line": 96,
"column": 37
} | [
{
"pp": "α : Type u_1\nR : α → α → Prop\ninst✝ : DecidableRel R\nl : List α\na b : α\nhab : R a b\n⊢ IsChain R (a :: destutter' R b l)",
"ppTerm": "?m.11",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"α : Type u_1\nR : α → α → Prop\ninst✝ : DecidableRel R\nl : List α\na b : α\nhab : R a b\n⊢ IsChain R (a :: destutter' R b l)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Data.List.Destutter | {
"line": 285,
"column": 6
} | {
"line": 285,
"column": 17
} | {
"line": 285,
"column": 18
} | [
{
"pp": "case inl\nα : Type u_1\ninst✝¹ : DecidableEq α\nr : α → α → Prop\ninst✝ : Std.Antisymm r\nx : α\nxs : List α\nh : (∀ (a' : α), a' ∈ x :: xs → r x a') ∧ Pairwise r (x :: xs)\n⊢ (if x ≠ x then x :: (x :: xs).dedup else destutter (fun x1 x2 ↦ x1 ≠ x2) (x :: xs)) = (x :: x :: xs).dedup",
"ppTerm": "?in... | [
"case inl\nα : Type u_1\ninst✝¹ : DecidableEq α\nr : α → α → Prop\ninst✝ : Std.Antisymm r\nx : α\nxs : List α\nh : (∀ (a' : α), a' ∈ x :: xs → r x a') ∧ Pairwise r (x :: xs)\n⊢ destutter (fun x1 x2 ↦ ¬x1 = x2) (x :: xs) = (x :: xs).dedup"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Homogenize | {
"line": 105,
"column": 2
} | {
"line": 105,
"column": 52
} | {
"line": 105,
"column": 53
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nc : R\nn : ℕ\n⊢ (C c).homogenize n = MvPolynomial.C c * MvPolynomial.X 1 ^ n",
"ppTerm": "?m.28",
"assigned": true,
"usedConstants": [
"Finsupp.instAddZeroClass",
"Eq.mpr",
"Polynomial.C",
"Nat.instMulZeroClass",
"AddMonoid... | [
"R : Type u_1\ninst✝ : CommSemiring R\nc : R\nn : ℕ\n⊢ (C c).homogenize n = (MvPolynomial.monomial fun₀ | 1 => n) c"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Homogenize | {
"line": 109,
"column": 2
} | {
"line": 109,
"column": 13
} | {
"line": 109,
"column": 14
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nn : ℕ\n⊢ homogenize 1 n = MvPolynomial.X 1 ^ n",
"ppTerm": "?m.18",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"R : Type u_1\ninst✝ : CommSemiring R\nn : ℕ\n⊢ homogenize 1 n = MvPolynomial.X 1 ^ n"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 111,
"column": 18
} | {
"line": 111,
"column": 29
} | {
"line": 111,
"column": 30
} | [
{
"pp": "case succ.refine_1.cast\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : Nontrivial R\nf g : R[X]\nhg : g.Monic\nn : ℕ\nq : R[X]\nr : Fin n → R[X]\nhr : ∀ (i : Fin n), (r i).degree < g.degree\nhf : f = q * g ^ n + ∑ i, r i * g ^ ↑i\ni : Fin n\n⊢ (Fin.snoc r (q %ₘ g) i.castSucc).degree < g.degree",
"ppTe... | [
"case succ.refine_1.cast\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : Nontrivial R\nf g : R[X]\nhg : g.Monic\nn : ℕ\nq : R[X]\nr : Fin n → R[X]\nhr : ∀ (i : Fin n), (r i).degree < g.degree\nhf : f = q * g ^ n + ∑ i, r i * g ^ ↑i\ni : Fin n\n⊢ (r i).degree < g.degree"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 112,
"column": 16
} | {
"line": 112,
"column": 27
} | {
"line": 112,
"column": 28
} | [
{
"pp": "case succ.refine_1.last\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : Nontrivial R\nf g : R[X]\nhg : g.Monic\nn : ℕ\nq : R[X]\nr : Fin n → R[X]\nhr : ∀ (i : Fin n), (r i).degree < g.degree\nhf : f = q * g ^ n + ∑ i, r i * g ^ ↑i\n⊢ (Fin.snoc r (q %ₘ g) (Fin.last n)).degree < g.degree",
"ppTerm": "?su... | [
"case succ.refine_1.last\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : Nontrivial R\nf g : R[X]\nhg : g.Monic\nn : ℕ\nq : R[X]\nr : Fin n → R[X]\nhr : ∀ (i : Fin n), (r i).degree < g.degree\nhf : f = q * g ^ n + ∑ i, r i * g ^ ↑i\n⊢ (q %ₘ g).degree < g.degree"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 128,
"column": 22
} | {
"line": 128,
"column": 33
} | {
"line": 128,
"column": 34
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nq₁ q₂ : R[X]\nr₁ r₂ : Fin 0 → R[X]\nhr₁ : ∀ (i : Fin 0), (r₁ i).degree < g.degree\nhr₂ : ∀ (i : Fin 0), (r₂ i).degree < g.degree\nhf : q₁ * g ^ 0 + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ 0 + ∑ i, r₂ i * g ^ ↑i\n⊢ q₁ = q₂",
"ppTerm": "?m.92",
"ass... | [
"R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nq₁ q₂ : R[X]\nr₁ r₂ : Fin 0 → R[X]\nhr₁ : ∀ (i : Fin 0), (r₁ i).degree < g.degree\nhr₂ : ∀ (i : Fin 0), (r₂ i).degree < g.degree\nhf : q₁ * g ^ 0 + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ 0 + ∑ i, r₂ i * g ^ ↑i\n⊢ q₁ = q₂"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Homogenize | {
"line": 177,
"column": 42
} | {
"line": 177,
"column": 53
} | {
"line": 177,
"column": 54
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nn : ℕ\nq : MvPolynomial (Fin 2) R\nhq : q.IsHomogeneous n\nm : Fin 2 →₀ ℕ\nhm : m ∈ q.support\n⊢ MvPolynomial.coeff m q ≠ 0",
"ppTerm": "?m.86",
"assigned": true,
"usedConstants": [
"CommSemiring.toSemiring",
"id",
"Ne",
"instOfN... | [
"R : Type u_1\ninst✝ : CommSemiring R\nn : ℕ\nq : MvPolynomial (Fin 2) R\nhq : q.IsHomogeneous n\nm : Fin 2 →₀ ℕ\nhm : m ∈ q.support\n⊢ ¬MvPolynomial.coeff m q = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 137,
"column": 19
} | {
"line": 137,
"column": 30
} | {
"line": 137,
"column": 31
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nn : ℕ\nih :\n ∀ {q₁ q₂ : R[X]} {r₁ r₂ : Fin n → R[X]},\n (∀ (i : Fin n), (r₁ i).degree < g.degree) →\n (∀ (i : Fin n), (r₂ i).degree < g.degree) →\n q₁ * g ^ n + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ n + ∑ i, r₂ i * g ^ ↑i → q₁ = q₂ ∧ r₁... | [
"R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nn : ℕ\nih :\n ∀ {q₁ q₂ : R[X]} {r₁ r₂ : Fin n → R[X]},\n (∀ (i : Fin n), (r₁ i).degree < g.degree) →\n (∀ (i : Fin n), (r₂ i).degree < g.degree) →\n q₁ * g ^ n + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ n + ∑ i, r₂ i * g ^ ↑i → q₁ = q₂ ∧ r₁ = r₂\nq₁ q₂... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 138,
"column": 19
} | {
"line": 138,
"column": 30
} | {
"line": 138,
"column": 31
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nn : ℕ\nih :\n ∀ {q₁ q₂ : R[X]} {r₁ r₂ : Fin n → R[X]},\n (∀ (i : Fin n), (r₁ i).degree < g.degree) →\n (∀ (i : Fin n), (r₂ i).degree < g.degree) →\n q₁ * g ^ n + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ n + ∑ i, r₂ i * g ^ ↑i → q₁ = q₂ ∧ r₁... | [
"R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nn : ℕ\nih :\n ∀ {q₁ q₂ : R[X]} {r₁ r₂ : Fin n → R[X]},\n (∀ (i : Fin n), (r₁ i).degree < g.degree) →\n (∀ (i : Fin n), (r₂ i).degree < g.degree) →\n q₁ * g ^ n + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ n + ∑ i, r₂ i * g ^ ↑i → q₁ = q₂ ∧ r₁ = r₂\nq₁ q₂... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 139,
"column": 66
} | {
"line": 139,
"column": 77
} | {
"line": 139,
"column": 78
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nn : ℕ\nih :\n ∀ {q₁ q₂ : R[X]} {r₁ r₂ : Fin n → R[X]},\n (∀ (i : Fin n), (r₁ i).degree < g.degree) →\n (∀ (i : Fin n), (r₂ i).degree < g.degree) →\n q₁ * g ^ n + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ n + ∑ i, r₂ i * g ^ ↑i → q₁ = q₂ ∧ r₁... | [
"R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nn : ℕ\nih :\n ∀ {q₁ q₂ : R[X]} {r₁ r₂ : Fin n → R[X]},\n (∀ (i : Fin n), (r₁ i).degree < g.degree) →\n (∀ (i : Fin n), (r₂ i).degree < g.degree) →\n q₁ * g ^ n + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ n + ∑ i, r₂ i * g ^ ↑i → q₁ = q₂ ∧ r₁ = r₂\nq₁ q₂... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 140,
"column": 66
} | {
"line": 140,
"column": 77
} | {
"line": 140,
"column": 78
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nn : ℕ\nih :\n ∀ {q₁ q₂ : R[X]} {r₁ r₂ : Fin n → R[X]},\n (∀ (i : Fin n), (r₁ i).degree < g.degree) →\n (∀ (i : Fin n), (r₂ i).degree < g.degree) →\n q₁ * g ^ n + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ n + ∑ i, r₂ i * g ^ ↑i → q₁ = q₂ ∧ r₁... | [
"R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nn : ℕ\nih :\n ∀ {q₁ q₂ : R[X]} {r₁ r₂ : Fin n → R[X]},\n (∀ (i : Fin n), (r₁ i).degree < g.degree) →\n (∀ (i : Fin n), (r₂ i).degree < g.degree) →\n q₁ * g ^ n + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ n + ∑ i, r₂ i * g ^ ↑i → q₁ = q₂ ∧ r₁ = r₂\nq₁ q₂... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Homogenize | {
"line": 261,
"column": 4
} | {
"line": 261,
"column": 37
} | {
"line": 261,
"column": 38
} | [
{
"pp": "case «1»\nR : Type u_1\ninst✝ : CommSemiring R\np : R[X]\n⊢ (p.toTupleMvPolynomial ((fun i ↦ i) ⟨1, ⋯⟩)).IsHomogeneous p.natDegree",
"ppTerm": "?«1»",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.instMulZeroClass",
"AddMonoidAlgebra.semiring",
"Nat.le_refl",
... | [
"case «1»\nR : Type u_1\ninst✝ : CommSemiring R\np : R[X]\n⊢ (MvPolynomial.X 1 ^ p.natDegree).IsHomogeneous p.natDegree"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Homogenize | {
"line": 293,
"column": 4
} | {
"line": 293,
"column": 83
} | {
"line": 293,
"column": 84
} | [
{
"pp": "case refine_1\nR : Type u_1\ninst✝¹ : CommSemiring R\nM : Type u_2\ninst✝ : AddCommMonoid M\np : R[X]\nf : R → M\ns : Fin 2 →₀ ℕ\nhs : s ∈ (p.homogenize p.natDegree).support\n⊢ s 0 ∈ p.support",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"... | [
"case refine_1\nR : Type u_1\ninst✝¹ : CommSemiring R\nM : Type u_2\ninst✝ : AddCommMonoid M\np : R[X]\nf : R → M\ns : Fin 2 →₀ ℕ\nhs : s ∈ (p.homogenize p.natDegree).support\n⊢ ¬p.coeff (s 0) = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Smeval | {
"line": 138,
"column": 2
} | {
"line": 138,
"column": 13
} | {
"line": 138,
"column": 14
} | [
{
"pp": "R : Type u_3\ninst✝ : Semiring R\nr : R\nx✝ : R[X]\n⊢ (leval r) x✝ = x✝.smeval r",
"ppTerm": "?m.27",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.eval",
"MonoidWithZero.toMulActionWithZero",
"Semiring.toModule",
"congrArg",
"LinearMap.instF... | [
"R : Type u_3\ninst✝ : Semiring R\nr : R\nx✝ : R[X]\n⊢ eval r x✝ = x✝.smeval r"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Homogenize | {
"line": 294,
"column": 4
} | {
"line": 295,
"column": 11
} | {
"line": 295,
"column": 12
} | [
{
"pp": "case refine_2\nR : Type u_1\ninst✝¹ : CommSemiring R\nM : Type u_2\ninst✝ : AddCommMonoid M\np : R[X]\nf : R → M\nn : ℕ\nhn : n ∈ p.support\n⊢ (fun₀ | 0 => n | 1 => p.natDegree - n) ∈ (p.homogenize p.natDegree).support",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"Fin... | [
"case refine_2\nR : Type u_1\ninst✝¹ : CommSemiring R\nM : Type u_2\ninst✝ : AddCommMonoid M\np : R[X]\nf : R → M\nn : ℕ\nhn : n ∈ p.support\n⊢ n + (p.natDegree - n) = p.natDegree"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.Smeval | {
"line": 293,
"column": 20
} | {
"line": 293,
"column": 49
} | {
"line": 293,
"column": 50
} | [
{
"pp": "case monomial\nR : Type u_1\ninst✝⁴ : Semiring R\np : R[X]\nS : Type u_2\ninst✝³ : Semiring S\ninst✝² : Module R S\ninst✝¹ : IsScalarTower R S S\ninst✝ : SMulCommClass R S S\nx y : S\nhc : Commute x y\nn : ℕ\na : R\n⊢ Commute (((monomial n) a).smeval x) y",
"ppTerm": "?monomial",
"assigned": tr... | [
"case monomial\nR : Type u_1\ninst✝⁴ : Semiring R\np : R[X]\nS : Type u_2\ninst✝³ : Semiring S\ninst✝² : Module R S\ninst✝¹ : IsScalarTower R S S\ninst✝ : SMulCommClass R S S\nx y : S\nhc : Commute x y\nn : ℕ\na : R\n⊢ Commute (a • x ^ n) y"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.UnitTrinomial | {
"line": 143,
"column": 2
} | {
"line": 143,
"column": 13
} | {
"line": 143,
"column": 14
} | [
{
"pp": "hp : IsUnitTrinomial 0\n⊢ False",
"ppTerm": "?m.16",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"hp : IsUnitTrinomial 0\n⊢ False"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 207,
"column": 13
} | {
"line": 207,
"column": 24
} | {
"line": 207,
"column": 25
} | [
{
"pp": "case empty\nR : Type u_1\ninst✝¹ : CommRing R\nι : Type u_2\ninst✝ : DecidableEq ι\ng : ι → R[X]\nq₁ q₂ : R[X]\nr₁ r₂ : ι → R[X]\nhg : ∀ i ∈ ∅, (g i).Monic\nhgg : (↑∅).Pairwise fun i j ↦ IsCoprime (g i) (g j)\nhr₁ : ∀ i ∈ ∅, (r₁ i).degree < (g i).degree\nhr₂ : ∀ i ∈ ∅, (r₂ i).degree < (g i).degree\nhf ... | [
"case empty\nR : Type u_1\ninst✝¹ : CommRing R\nι : Type u_2\ninst✝ : DecidableEq ι\ng : ι → R[X]\nq₁ q₂ : R[X]\nr₁ r₂ : ι → R[X]\nhg : ∀ i ∈ ∅, (g i).Monic\nhgg : (↑∅).Pairwise fun i j ↦ IsCoprime (g i) (g j)\nhr₁ : ∀ i ∈ ∅, (r₁ i).degree < (g i).degree\nhr₂ : ∀ i ∈ ∅, (r₂ i).degree < (g i).degree\nhf : q₁ * ∏ i ∈... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.UnitTrinomial | {
"line": 182,
"column": 2
} | {
"line": 197,
"column": 31
} | {
"line": 199,
"column": 0
} | [
{
"pp": "p : ℤ[X]\n⊢ p.IsUnitTrinomial ↔ (p * p.mirror).coeff (((p * p.mirror).natDegree + (p * p.mirror).natTrailingDegree) / 2) = 3",
"ppTerm": "?m.40",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Int.sq_eq_one_of_sq_le_three",
"Distrib.leftDistribClass",
"Units.val",
... | [] | rw [natDegree_mul_mirror, natTrailingDegree_mul_mirror, ← mul_add,
Nat.mul_div_right _ zero_lt_two, coeff_mul_mirror]
refine ⟨?_, fun hp => ?_⟩
· rintro ⟨k, m, n, hkm, hmn, u, v, w, rfl⟩
rw [sum_def, trinomial_support hkm hmn u.ne_zero v.ne_zero w.ne_zero,
sum_insert (mt mem_insert.mp (not_or_intro hk... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Polynomial.UnitTrinomial | {
"line": 182,
"column": 2
} | {
"line": 197,
"column": 31
} | {
"line": 199,
"column": 0
} | [
{
"pp": "p : ℤ[X]\n⊢ p.IsUnitTrinomial ↔ (p * p.mirror).coeff (((p * p.mirror).natDegree + (p * p.mirror).natTrailingDegree) / 2) = 3",
"ppTerm": "?m.40",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Int.sq_eq_one_of_sq_le_three",
"Distrib.leftDistribClass",
"Units.val",
... | [] | rw [natDegree_mul_mirror, natTrailingDegree_mul_mirror, ← mul_add,
Nat.mul_div_right _ zero_lt_two, coeff_mul_mirror]
refine ⟨?_, fun hp => ?_⟩
· rintro ⟨k, m, n, hkm, hmn, u, v, w, rfl⟩
rw [sum_def, trinomial_support hkm hmn u.ne_zero v.ne_zero w.ne_zero,
sum_insert (mt mem_insert.mp (not_or_intro hk... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Polynomial.RuleOfSigns | {
"line": 155,
"column": 4
} | {
"line": 155,
"column": 40
} | {
"line": 155,
"column": 41
} | [
{
"pp": "case inr\nR : Type u_1\ninst✝² : Ring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nη : R\nP : R[X]\nhx : η ≠ 0\nthis :\n ∀ {R : Type u_1} [inst : Ring R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] {η : R} (P : R[X]),\n η ≠ 0 → 0 < η → (C η * P).signVariations = P.signVariations\n... | [
"case inr\nR : Type u_1\ninst✝² : Ring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nη : R\nP : R[X]\nhx : η ≠ 0\nthis :\n ∀ {R : Type u_1} [inst : Ring R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] {η : R} (P : R[X]),\n η ≠ 0 → 0 < η → (C η * P).signVariations = P.signVariations\nhx2 : η ≤ 0\... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.SumIteratedDerivative | {
"line": 252,
"column": 8
} | {
"line": 252,
"column": 18
} | {
"line": 252,
"column": 19
} | [
{
"pp": "case inr.refine_2\nR : Type u_1\ninst✝⁴ : CommSemiring R\nA : Type u_3\ninst✝³ : CommRing A\ninst✝² : Algebra R A\ninst✝¹ : Nontrivial A\ninst✝ : NoZeroDivisors A\np : R[X]\nq : ℕ\nhq : 0 < q\ninj_amap : Function.Injective ⇑(algebraMap R A)\np0 : p ≠ 0\nc : ℕ → R[X] := fun k ↦ if hk : q ≤ k then ⋯.choo... | [
"case inr.refine_2\nR : Type u_1\ninst✝⁴ : CommSemiring R\nA : Type u_3\ninst✝³ : CommRing A\ninst✝² : Algebra R A\ninst✝¹ : Nontrivial A\ninst✝ : NoZeroDivisors A\np : R[X]\nq : ℕ\nhq : 0 < q\ninj_amap : Function.Injective ⇑(algebraMap R A)\np0 : p ≠ 0\nc : ℕ → R[X] := fun k ↦ if hk : q ≤ k then ⋯.choose else 0\nc... | mem_inter, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.SumIteratedDerivative | {
"line": 263,
"column": 2
} | {
"line": 263,
"column": 13
} | {
"line": 263,
"column": 14
} | [
{
"pp": "R : Type u_1\ninst✝² : CommRing R\ninst✝¹ : Nontrivial R\ninst✝ : NoZeroDivisors R\np : R[X]\nq : ℕ\nhq : 0 < q\n⊢ ∃ gp,\n gp.natDegree ≤ p.natDegree - q ∧\n ∀ (r : R) {p' : R[X]},\n p = (X - C r) ^ (q - 1) * p' → eval r (sumIDeriv p) = (q - 1)! • eval r p' + q ! • eval r gp",
"ppTer... | [
"R : Type u_1\ninst✝² : CommRing R\ninst✝¹ : Nontrivial R\ninst✝ : NoZeroDivisors R\np : R[X]\nq : ℕ\nhq : 0 < q\n⊢ ∃ gp,\n gp.natDegree ≤ p.natDegree - q ∧\n ∀ (r : R) {p' : R[X]},\n p = (X - C r) ^ (q - 1) * p' → eval r (sumIDeriv p) = ↑(q - 1)! * eval r p' + ↑q ! * eval r gp"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.QuadraticAlgebra.Defs | {
"line": 242,
"column": 32
} | {
"line": 242,
"column": 53
} | {
"line": 244,
"column": 0
} | [
{
"pp": "case re\nR : Type u_1\nS : Type u_2\nT : Type u_3\na b r : R\nx y : QuadraticAlgebra R a b\ninst✝² : SMul S R\ninst✝¹ : SMul T R\ns✝ : S\ninst✝ : SMulCommClass S T R\ns : S\nt : T\nz : QuadraticAlgebra R a b\n⊢ (s • t • z).re = (t • s • z).re",
"ppTerm": "?re",
"assigned": true,
"usedConsta... | [] | exact smul_comm _ _ _ | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.QuadraticAlgebra.Defs | {
"line": 242,
"column": 32
} | {
"line": 242,
"column": 53
} | {
"line": 244,
"column": 0
} | [
{
"pp": "case im\nR : Type u_1\nS : Type u_2\nT : Type u_3\na b r : R\nx y : QuadraticAlgebra R a b\ninst✝² : SMul S R\ninst✝¹ : SMul T R\ns✝ : S\ninst✝ : SMulCommClass S T R\ns : S\nt : T\nz : QuadraticAlgebra R a b\n⊢ (s • t • z).im = (t • s • z).im",
"ppTerm": "?im",
"assigned": true,
"usedConsta... | [] | exact smul_comm _ _ _ | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.QuadraticAlgebra.Basic | {
"line": 126,
"column": 14
} | {
"line": 126,
"column": 27
} | {
"line": 127,
"column": 10
} | [
{
"pp": "K : Type u_1\nR : Type u_2\na b : R\ninst✝² : CommSemiring R\nA : Type u_3\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nu : { u // u * u = a • 1 + b • u }\nz w : QuadraticAlgebra R a b\n⊢ (z.re * w.re) • 1 + (z.re * w.im + z.im * w.re) • ↑u + (z.im * w.im) • (↑u * ↑u) =\n (z.re * w.re) • 1 + (z.re * w.im ... | [] | simp [u.prop] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.QuadraticAlgebra.Basic | {
"line": 126,
"column": 14
} | {
"line": 126,
"column": 27
} | {
"line": 127,
"column": 10
} | [
{
"pp": "K : Type u_1\nR : Type u_2\na b : R\ninst✝² : CommSemiring R\nA : Type u_3\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nu : { u // u * u = a • 1 + b • u }\nz w : QuadraticAlgebra R a b\n⊢ (z.re * w.re) • 1 + (z.re * w.im + z.im * w.re) • ↑u + (z.im * w.im) • (↑u * ↑u) =\n (z.re * w.re) • 1 + (z.re * w.im ... | [] | simp [u.prop] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.QuadraticAlgebra.Basic | {
"line": 126,
"column": 14
} | {
"line": 126,
"column": 27
} | {
"line": 127,
"column": 10
} | [
{
"pp": "K : Type u_1\nR : Type u_2\na b : R\ninst✝² : CommSemiring R\nA : Type u_3\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nu : { u // u * u = a • 1 + b • u }\nz w : QuadraticAlgebra R a b\n⊢ (z.re * w.re) • 1 + (z.re * w.im + z.im * w.re) • ↑u + (z.im * w.im) • (↑u * ↑u) =\n (z.re * w.re) • 1 + (z.re * w.im ... | [] | simp [u.prop] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 396,
"column": 4
} | {
"line": 397,
"column": 70
} | {
"line": 398,
"column": 4
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : CommRing K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\nι : Type u_3\ns : Finset ι\ng : ι → R[X]\nhg : ∀ i ∈ s, (g i).Monic\nhgg : (↑s).Pairwise fun i j ↦ IsCoprime (g i) (g j)\nn : ι → ℕ\ngi : ι → K\nhgi : ∀ i ∈ s, gi i * (algebraMap ... | [
"R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : CommRing K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\nι : Type u_3\ns : Finset ι\ng : ι → R[X]\nhg : ∀ i ∈ s, (g i).Monic\nhgg : (↑s).Pairwise fun i j ↦ IsCoprime (g i) (g j)\nn : ι → ℕ\ngi : ι → K\nhgi : ∀ i ∈ s, gi i * (algebraMap R[X] K) (g i... | obtain ⟨hq, hr⟩ := quo_mul_prod_pow_add_sum_rem_mul_prod_pow_unique hg hgg
(fun i hi j => hr₁ i hi j.rev) (fun i hi j => hr₂ i hi j.rev) hf | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.Algebra.Quandle | {
"line": 264,
"column": 2
} | {
"line": 264,
"column": 13
} | {
"line": 264,
"column": 14
} | [
{
"pp": "R : Type u_1\ninst✝ : Rack R\nx y : R\nh : (op x ◃ op x) ◃ op y = op x ◃ op y\n⊢ (x ◃⁻¹ x) ◃⁻¹ y = x ◃⁻¹ y",
"ppTerm": "?m.14",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"R : Type u_1\ninst✝ : Rack R\nx y : R\nh : (op x ◃ op x) ◃ op y = op x ◃ op y\n⊢ (x ◃⁻¹ x) ◃⁻¹ y = x ◃⁻¹ y"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Quandle | {
"line": 276,
"column": 2
} | {
"line": 276,
"column": 13
} | {
"line": 276,
"column": 14
} | [
{
"pp": "R : Type u_1\ninst✝ : Rack R\nx y : R\nh : (op x ◃ op x) ◃⁻¹ op y = op x ◃⁻¹ op y\n⊢ (x ◃⁻¹ x) ◃ y = x ◃ y",
"ppTerm": "?m.14",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"R : Type u_1\ninst✝ : Rack R\nx y : R\nh : (op x ◃ op x) ◃⁻¹ op y = op x ◃⁻¹ op y\n⊢ (x ◃⁻¹ x) ◃ y = x ◃ y"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Quandle | {
"line": 288,
"column": 2
} | {
"line": 288,
"column": 13
} | {
"line": 288,
"column": 14
} | [
{
"pp": "R : Type u_1\ninst✝ : Rack R\nx y : R\nh : op x ◃ op x = op y ◃ op y ↔ op x = op y\n⊢ x ◃⁻¹ x = y ◃⁻¹ y ↔ x = y",
"ppTerm": "?m.13",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"R : Type u_1\ninst✝ : Rack R\nx y : R\nh : op x ◃ op x = op y ◃ op y ↔ op x = op y\n⊢ x ◃⁻¹ x = y ◃⁻¹ y ↔ x = y"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.RuleOfSigns | {
"line": 305,
"column": 4
} | {
"line": 305,
"column": 15
} | {
"line": 305,
"column": 16
} | [
{
"pp": "case h.inr\nR : Type u_1\ninst✝² : Ring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nη : R\nhη : 0 < η\nd : ℕ\nih : ∀ m < d, ∀ {P : R[X]}, P ≠ 0 → P.natDegree = m → P.signVariations + 1 ≤ ((X - C η) * P).signVariations\nP : R[X]\nhP : P ≠ 0\nhd : P.natDegree = d\nH : ∀ {P : R[X]}, P ≠ 0 → ... | [
"case h.inr\nR : Type u_1\ninst✝² : Ring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nη : R\nhη : 0 < η\nd : ℕ\nih : ∀ m < d, ∀ {P : R[X]}, P ≠ 0 → P.natDegree = m → P.signVariations + 1 ≤ ((X - C η) * P).signVariations\nP : R[X]\nhP : P ≠ 0\nhd : P.natDegree = d\nH : ∀ {P : R[X]}, P ≠ 0 → P.natDegree ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 434,
"column": 24
} | {
"line": 434,
"column": 35
} | {
"line": 434,
"column": 36
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\nf : R[X]\nι : Type u_3\ng : ι → R[X]\ns : Finset ι\nhg : ∀ i ∈ s, (g i).Monic\nhcop : (↑s).Pairwise fun i j ↦ IsCoprime (g i) (g j)\nthis : Nontrivial R\ni : ι\nhi : i ∈ s\n⊢ (algebr... | [
"R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\nf : R[X]\nι : Type u_3\ng : ι → R[X]\ns : Finset ι\nhg : ∀ i ∈ s, (g i).Monic\nhcop : (↑s).Pairwise fun i j ↦ IsCoprime (g i) (g j)\nthis : Nontrivial R\ni : ι\nhi : i ∈ s\n⊢ ¬g i = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 461,
"column": 24
} | {
"line": 461,
"column": 35
} | {
"line": 461,
"column": 36
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\nι : Type u_3\ng : ι → R[X]\ns : Finset ι\nhg : ∀ i ∈ s, (g i).Monic\nhcop : (↑s).Pairwise fun i j ↦ IsCoprime (g i) (g j)\nq₁ q₂ : R[X]\nr₁ r₂ : ι → R[X]\nhr₁ : ∀ i ∈ s, (r₁ i).degre... | [
"R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\nι : Type u_3\ng : ι → R[X]\ns : Finset ι\nhg : ∀ i ∈ s, (g i).Monic\nhcop : (↑s).Pairwise fun i j ↦ IsCoprime (g i) (g j)\nq₁ q₂ : R[X]\nr₁ r₂ : ι → R[X]\nhr₁ : ∀ i ∈ s, (r₁ i).degree < (g i).de... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Ring.Action.Pointwise.Finset | {
"line": 39,
"column": 87
} | {
"line": 40,
"column": 54
} | {
"line": 42,
"column": 0
} | [
{
"pp": "R : Type u_1\nM : Type u_3\ninst✝⁵ : Semiring R\ninst✝⁴ : IsDomain R\ninst✝³ : AddCommMonoid M\ninst✝² : DecidableEq M\ninst✝¹ : Module R M\ninst✝ : IsTorsionFree R M\ns : Finset R\nt : Finset M\n⊢ 0 ∈ s • t ↔ 0 ∈ s ∧ t.Nonempty ∨ 0 ∈ t ∧ s.Nonempty",
"ppTerm": "?m.28",
"assigned": true,
"u... | [] | by
rw [← mem_coe, coe_smul, Set.zero_mem_smul_iff]; rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 484,
"column": 2
} | {
"line": 484,
"column": 78
} | {
"line": 485,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\nf g₁ g₂ : R[X]\nhg₁ : g₁.Monic\nhg₂ : g₂.Monic\nhcoprime : IsCoprime g₁ g₂\ng : Bool → R[X] := fun t ↦ Bool.rec g₂ g₁ t\n⊢ ∃ q r₁ r₂, r₁.degree < g₁.degree ∧ r₂.degree < g₂.degree ∧ ... | [
"R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\nf g₁ g₂ : R[X]\nhg₁ : g₁.Monic\nhg₂ : g₂.Monic\nhcoprime : IsCoprime g₁ g₂\ng : Bool → R[X] := fun t ↦ Bool.rec g₂ g₁ t\nhg : ∀ i ∈ Finset.univ, (g i).Monic\n⊢ ∃ q r₁ r₂, r₁.degree < g₁.degree ∧... | have hg (i : Bool) (_ : i ∈ Finset.univ) : (g i).Monic := Bool.rec hg₂ hg₁ i | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 489,
"column": 2
} | {
"line": 489,
"column": 28
} | {
"line": 489,
"column": 29
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\nf g₁ g₂ : R[X]\nhg₁ : g₁.Monic\nhg₂ : g₂.Monic\nhcoprime✝ : IsCoprime g₁ g₂\ng : Bool → R[X] := fun t ↦ Bool.rec g₂ g₁ t\nhg : ∀ i ∈ Finset.univ, (g i).Monic\nhcoprime : (↑Finset.uni... | [
"R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\nf g₁ g₂ : R[X]\nhg₁ : g₁.Monic\nhg₂ : g₂.Monic\nhcoprime✝ : IsCoprime g₁ g₂\ng : Bool → R[X] := fun t ↦ Bool.rec g₂ g₁ t\nhg : ∀ i ∈ Finset.univ, (g i).Monic\nhcoprime : (↑Finset.univ).Pairwise ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 508,
"column": 2
} | {
"line": 508,
"column": 78
} | {
"line": 509,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\ng₁ g₂ : R[X]\nhg₁ : g₁.Monic\nhg₂ : g₂.Monic\nhcoprime : IsCoprime g₁ g₂\nq₁ q₂ r₁₁ r₁₂ r₂₁ r₂₂ : R[X]\nhr₁₁ : r₁₁.degree < g₁.degree\nhr₁₂ : r₁₂.degree < g₁.degree\nhr₂₁ : r₂₁.degre... | [
"R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\ng₁ g₂ : R[X]\nhg₁ : g₁.Monic\nhg₂ : g₂.Monic\nhcoprime : IsCoprime g₁ g₂\nq₁ q₂ r₁₁ r₁₂ r₂₁ r₂₂ : R[X]\nhr₁₁ : r₁₁.degree < g₁.degree\nhr₁₂ : r₁₂.degree < g₁.degree\nhr₂₁ : r₂₁.degree < g₂.degre... | have hg (i : Bool) (_ : i ∈ Finset.univ) : (g i).Monic := Bool.rec hg₂ hg₁ i | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Algebra.Polynomial.PartialFractions | {
"line": 515,
"column": 2
} | {
"line": 515,
"column": 36
} | {
"line": 515,
"column": 37
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\ng₁ g₂ : R[X]\nhg₁ : g₁.Monic\nhg₂ : g₂.Monic\nhcoprime✝ : IsCoprime g₁ g₂\nq₁ q₂ r₁₁ r₁₂ r₂₁ r₂₂ : R[X]\nhr₁₁ : r₁₁.degree < g₁.degree\nhr₁₂ : r₁₂.degree < g₁.degree\nhr₂₁ : r₂₁.degr... | [
"R : Type u_1\ninst✝³ : CommRing R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R[X] K\ninst✝ : FaithfulSMul R[X] K\ng₁ g₂ : R[X]\nhg₁ : g₁.Monic\nhg₂ : g₂.Monic\nhcoprime✝ : IsCoprime g₁ g₂\nq₁ q₂ r₁₁ r₁₂ r₂₁ r₂₂ : R[X]\nhr₁₁ : r₁₁.degree < g₁.degree\nhr₁₂ : r₁₂.degree < g₁.degree\nhr₂₁ : r₂₁.degree < g₂.degr... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Polynomial.RuleOfSigns | {
"line": 328,
"column": 33
} | {
"line": 328,
"column": 60
} | {
"line": 328,
"column": 61
} | [
{
"pp": "R : Type u_1\ninst✝² : Ring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nη : R\nhη : 0 < η\nP : R[X]\nhP : P ≠ 0\nh_lC : 0 < P.leadingCoeff\nh_mul : (X - C η) * P ≠ 0\nh_deg_mul : ((X - C η) * P).natDegree = P.natDegree + 1\nd : ℕ\nih : ∀ m < d + 1, ∀ {P : R[X]}, P ≠ 0 → P.natDegree = m → ... | [
"R : Type u_1\ninst✝² : Ring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nη : R\nhη : 0 < η\nP : R[X]\nhP : P ≠ 0\nh_lC : 0 < P.leadingCoeff\nh_mul : (X - C η) * P ≠ 0\nh_deg_mul : ((X - C η) * P).natDegree = P.natDegree + 1\nd : ℕ\nih : ∀ m < d + 1, ∀ {P : R[X]}, P ≠ 0 → P.natDegree = m → P.signVariat... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.Algebra.Ring.Ext | {
"line": 139,
"column": 4
} | {
"line": 139,
"column": 26
} | {
"line": 140,
"column": 2
} | [
{
"pp": "R : Type u\ninst₁ inst₂ : NonAssocSemiring R\nh_add : HAdd.hAdd = HAdd.hAdd\nh_mul : HMul.hMul = HMul.hMul\n⊢ inst₁.toNonUnitalNonAssocSemiring = inst₂.toNonUnitalNonAssocSemiring",
"ppTerm": "?m.32",
"assigned": true,
"usedConstants": [
"NonAssocSemiring.toNonUnitalNonAssocSemiring",... | [] | ext : 1 <;> assumption | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Ring.Ext | {
"line": 149,
"column": 4
} | {
"line": 149,
"column": 26
} | {
"line": 150,
"column": 2
} | [
{
"pp": "R : Type u\ninst₁ inst₂ : NonAssocSemiring R\nh_add : HAdd.hAdd = HAdd.hAdd\nh_mul : HMul.hMul = HMul.hMul\nh : inst₁.toNonUnitalNonAssocSemiring = inst₂.toNonUnitalNonAssocSemiring\nh_zero : Zero.zero = Zero.zero\nh_one' : inst₁.toMulZeroOneClass.toOne = inst₂.toMulZeroOneClass.toOne\nh_one : One.one ... | [] | ext : 1 <;> assumption | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Ring.Ext | {
"line": 192,
"column": 4
} | {
"line": 192,
"column": 26
} | {
"line": 194,
"column": 2
} | [
{
"pp": "R : Type u\ninst₁ inst₂ : NonUnitalRing R\nh_add : HAdd.hAdd = HAdd.hAdd\nh_mul : HMul.hMul = HMul.hMul\n⊢ inst₁.toNonUnitalNonAssocRing = inst₂.toNonUnitalNonAssocRing",
"ppTerm": "?m.32",
"assigned": true,
"usedConstants": [
"NonUnitalRing.toNonUnitalNonAssocRing",
"NonUnitalN... | [] | ext : 1 <;> assumption | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Ring.Ext | {
"line": 252,
"column": 4
} | {
"line": 252,
"column": 26
} | {
"line": 253,
"column": 2
} | [
{
"pp": "R : Type u\ninst₁ inst₂ : NonAssocRing R\nh_add : HAdd.hAdd = HAdd.hAdd\nh_mul : HMul.hMul = HMul.hMul\n⊢ inst₁.toNonUnitalNonAssocRing = inst₂.toNonUnitalNonAssocRing",
"ppTerm": "?m.32",
"assigned": true,
"usedConstants": [
"NonAssocRing.toNonUnitalNonAssocRing",
"NonUnitalNon... | [] | ext : 1 <;> assumption | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.