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.NumberTheory.NumberField.CanonicalEmbedding.NormLeOne
{ "line": 791, "column": 2 }
{ "line": 791, "column": 43 }
{ "line": 792, "column": 2 }
[ { "pp": "case pos\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nx : realSpace K\nhx₀ : x = 0\n⊢ x ∈ compactSet K ↔ x ∈ ↑expMapBasis '' closure (paramSet K) ∪ {0}", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.instMax", "Real", "NumberField....
[ "case neg\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nx : realSpace K\nhx₀ : ¬x = 0\n⊢ x ∈ compactSet K ↔ x ∈ ↑expMapBasis '' closure (paramSet K) ∪ {0}" ]
· simpa [hx₀] using zero_mem_compactSet K
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.NumberTheory.NumberField.Cyclotomic.Ideal
{ "line": 301, "column": 4 }
{ "line": 301, "column": 68 }
{ "line": 301, "column": 68 }
[ { "pp": "m p : ℕ\nhp : Fact (Nat.Prime p)\nK : Type u_1\ninst✝² : Field K\ninst✝¹ : NumberField K\nP : Ideal (𝓞 K)\nhP₁ : P.IsPrime\nhP₂ : P.LiesOver 𝒑\ninst✝ : NeZero m\nhK : IsCyclotomicExtension {m} ℚ K\nhm : p.Coprime m\nζ : 𝓞 K := ⋯.toInteger\nh₁ : ¬p ∣ ζ.exponent\n⊢ (↑((primesOverSpanEquivMonicFactorsM...
[ "m p : ℕ\nhp : Fact (Nat.Prime p)\nK : Type u_1\ninst✝² : Field K\ninst✝¹ : NumberField K\nP : Ideal (𝓞 K)\nhP₁ : P.IsPrime\nhP₂ : P.LiesOver 𝒑\ninst✝ : NeZero m\nhK : IsCyclotomicExtension {m} ℚ K\nhm : p.Coprime m\nζ : 𝓞 K := ⋯.toInteger\nh₁ : ¬p ∣ ζ.exponent\n⊢ orderOf (ZMod.unitOfCoprime (p ^ 1) ⋯) = orderOf...
natDegree_of_dvd_cyclotomic_of_irreducible (by simp) hm (f := 1)
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.NumberField.Ideal.Asymptotics
{ "line": 47, "column": 2 }
{ "line": 55, "column": 91 }
{ "line": 57, "column": 0 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nC : ClassGroup (𝓞 K)\nJ : ↥(Ideal (𝓞 K))⁰\ns : ℝ\nhJ : ClassGroup.mk0 J = C⁻¹\n⊢ Nat.card { I // ↑(absNorm ↑I) ≤ s ∧ ClassGroup.mk0 I = C } =\n Nat.card { I // ↑J ∣ ↑I ∧ IsPrincipal ↑I ∧ ↑(absNorm ↑I) ≤ s * ↑(absNorm ↑J) }", "ppTerm": "?m....
[]
simp_rw [← nonZeroDivisors_dvd_iff_dvd_coe] refine Nat.card_congr ?_ refine ((Equiv.dvd J).subtypeEquiv fun I ↦ ?_).trans (Equiv.subtypeSubtypeEquivSubtypeInter (fun I : (Ideal (𝓞 K))⁰ ↦ J ∣ I) _) rw [← ClassGroup.mk0_eq_one_iff (SetLike.coe_mem _)] simp_rw [Equiv.dvd_apply, Submonoid.coe_mul, ← Submonoid....
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.NumberField.Ideal.Asymptotics
{ "line": 47, "column": 2 }
{ "line": 55, "column": 91 }
{ "line": 57, "column": 0 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nC : ClassGroup (𝓞 K)\nJ : ↥(Ideal (𝓞 K))⁰\ns : ℝ\nhJ : ClassGroup.mk0 J = C⁻¹\n⊢ Nat.card { I // ↑(absNorm ↑I) ≤ s ∧ ClassGroup.mk0 I = C } =\n Nat.card { I // ↑J ∣ ↑I ∧ IsPrincipal ↑I ∧ ↑(absNorm ↑I) ≤ s * ↑(absNorm ↑J) }", "ppTerm": "?m....
[]
simp_rw [← nonZeroDivisors_dvd_iff_dvd_coe] refine Nat.card_congr ?_ refine ((Equiv.dvd J).subtypeEquiv fun I ↦ ?_).trans (Equiv.subtypeSubtypeEquivSubtypeInter (fun I : (Ideal (𝓞 K))⁰ ↦ J ∣ I) _) rw [← ClassGroup.mk0_eq_one_iff (SetLike.coe_mem _)] simp_rw [Equiv.dvd_apply, Submonoid.coe_mul, ← Submonoid....
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.NumberField.Cyclotomic.Ideal
{ "line": 368, "column": 4 }
{ "line": 373, "column": 20 }
{ "line": 374, "column": 2 }
[ { "pp": "n m p k : ℕ\nhp : Fact (Nat.Prime p)\nK : Type u_1\ninst✝² : Field K\ninst✝¹ : NumberField K\ninst✝ : IsCyclotomicExtension {n} ℚ K\nhn : n = p ^ (k + 1) * m\nhm : ¬p ∣ m\nthis✝⁴ : IsAbelianGalois ℚ K\nthis✝³ : NeZero m\nthis✝² : NeZero n\nζ : K := zeta n ℚ K\nhζ : IsPrimitiveRoot (zeta n ℚ K) n\nζₘ : ...
[]
replace this := Nat.eq_one_of_mul_eq_one_right this rw [← inertiaDegIn_mul_inertiaDegIn 𝒑 Pₘ Gal(Fₘ/ℚ) _ Gal(K/ℚ) Gal(K/Fₘ), ← ramificationIdxIn_mul_ramificationIdxIn Pₚ Gal(Fₚ/ℚ) _ Gal(K/ℚ) Gal(K/Fₚ), Nat.eq_one_of_mul_eq_one_left this, Nat.eq_one_of_mul_eq_one_right this, mul_one, mul_one, iner...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.NumberField.Cyclotomic.Ideal
{ "line": 368, "column": 4 }
{ "line": 373, "column": 20 }
{ "line": 374, "column": 2 }
[ { "pp": "n m p k : ℕ\nhp : Fact (Nat.Prime p)\nK : Type u_1\ninst✝² : Field K\ninst✝¹ : NumberField K\ninst✝ : IsCyclotomicExtension {n} ℚ K\nhn : n = p ^ (k + 1) * m\nhm : ¬p ∣ m\nthis✝⁴ : IsAbelianGalois ℚ K\nthis✝³ : NeZero m\nthis✝² : NeZero n\nζ : K := zeta n ℚ K\nhζ : IsPrimitiveRoot (zeta n ℚ K) n\nζₘ : ...
[]
replace this := Nat.eq_one_of_mul_eq_one_right this rw [← inertiaDegIn_mul_inertiaDegIn 𝒑 Pₘ Gal(Fₘ/ℚ) _ Gal(K/ℚ) Gal(K/Fₘ), ← ramificationIdxIn_mul_ramificationIdxIn Pₚ Gal(Fₚ/ℚ) _ Gal(K/ℚ) Gal(K/Fₚ), Nat.eq_one_of_mul_eq_one_left this, Nat.eq_one_of_mul_eq_one_right this, mul_one, mul_one, iner...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.NumberField.HeckeLFunction
{ "line": 71, "column": 2 }
{ "line": 71, "column": 89 }
{ "line": 72, "column": 2 }
[ { "pp": "R : Type u_1\nK : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : IsDedekindDomain R\ninst✝² : Field K\ninst✝¹ : Algebra R K\ninst✝ : IsFractionRing R K\nχ : HeckeCharacter R K\nv : HeightOneSpectrum R\nh : χ.IsUnramifiedAt v\nx : HeightOneSpectrum.adicCompletion K v\nhx : Valued.v x = 1\n⊢ (χ.restrict v) x = ...
[ "R : Type u_1\nK : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : IsDedekindDomain R\ninst✝² : Field K\ninst✝¹ : Algebra R K\ninst✝ : IsFractionRing R K\nχ : HeckeCharacter R K\nv : HeightOneSpectrum R\nh : χ.IsUnramifiedAt v\nx : HeightOneSpectrum.adicCompletion K v\nhx✝ : Valued.v x = 1\nhx : x ∈ HeightOneSpectrum.adicC...
have hx : x ∈ v.adicCompletionIntegers K := (v.mem_adicCompletionIntegers R K).mp hx.le
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.NumberTheory.NumberField.House
{ "line": 52, "column": 2 }
{ "line": 52, "column": 47 }
{ "line": 54, "column": 0 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nα β : K\n⊢ house (α * β) ≤ house α * house β", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "NormedCommRing.toNormedRing", "Norm.norm", "Eq.mpr", "NormedCommRing.toSeminormedCommRing", "RingHom.i...
[]
simp only [house, map_mul]; apply norm_mul_le
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.NumberField.House
{ "line": 52, "column": 2 }
{ "line": 52, "column": 47 }
{ "line": 54, "column": 0 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nα β : K\n⊢ house (α * β) ≤ house α * house β", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "NormedCommRing.toNormedRing", "Norm.norm", "Eq.mpr", "NormedCommRing.toSeminormedCommRing", "RingHom.i...
[]
simp only [house, map_mul]; apply norm_mul_le
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.SiegelsLemma
{ "line": 73, "column": 96 }
{ "line": 83, "column": 68 }
{ "line": 87, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\ninst✝³ : Fintype α\ninst✝² : Fintype β\nA : Matrix α β ℤ\ninst✝¹ : DecidableEq α\ninst✝ : DecidableEq β\nv : β → ℤ\nhv : v ∈ T\n⊢ A *ᵥ v ∈ S", "ppTerm": "?m.137", "assigned": true, "usedConstants": [ "Int.instAddCommGroup", "Mathlib.Tactic.Ring.Common...
[]
by rw [mem_Icc] at hv ⊢ refine ⟨fun i ↦ ?_, fun i ↦ ?_⟩ all_goals simp only [mulVec_apply_eq_sum, mul_neg] gcongr ∑ _ : β, ?_ with j _ -- Get rid of sums conv in A i j * v j => rw [← posPart_sub_negPart (A i j)] linarith [mul_nonneg (hv.1 j) (posPart_nonneg (A i j)), mul_nonneg (hv.1 j) (neg...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.SiegelsLemma
{ "line": 139, "column": 23 }
{ "line": 139, "column": 31 }
{ "line": 139, "column": 32 }
[ { "pp": "α : Type u_1\nβ : Type u_2\ninst✝³ : Fintype α\ninst✝² : Fintype β\nA : Matrix α β ℤ\ninst✝¹ : DecidableEq α\ninst✝ : DecidableEq β\nhn : m < n\nhm : 0 < m\n⊢ (↑n * max 1 ‖A‖ * ↑B + 1) ^ m ≤ (↑n * max 1 ‖A‖ * (↑B + 1)) ^ m", "ppTerm": "?m.927", "assigned": true, "usedConstants": [ "Di...
[ "α : Type u_1\nβ : Type u_2\ninst✝³ : Fintype α\ninst✝² : Fintype β\nA : Matrix α β ℤ\ninst✝¹ : DecidableEq α\ninst✝ : DecidableEq β\nhn : m < n\nhm : 0 < m\n⊢ (↑n * max 1 ‖A‖ * ↑B + 1) ^ m ≤ (↑n * max 1 ‖A‖ * ↑B + ↑n * max 1 ‖A‖ * 1) ^ m" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Ostrowski
{ "line": 327, "column": 24 }
{ "line": 327, "column": 32 }
{ "line": 327, "column": 32 }
[ { "pp": "f : AbsoluteValue ℚ ℝ\nn₀ : ℕ\nhn₀ : 1 < n₀\nh : f ↑n₀ ≤ 1\nn : ℕ\nh_ineq1 : ∀ {m : ℕ}, 1 ≤ m → f ↑m ≤ ↑n₀ * (logb ↑n₀ ↑m + 1)\nh₀ : n ≠ 0\nk : ℕ\nhk : 0 < k\nthis : 0 ≤ logb ↑n₀ ↑n\n⊢ (↑n₀ * (logb (↑n₀) (↑n ^ k) + 1)) ^ (↑k)⁻¹ = (↑n₀ * (↑k * logb ↑n₀ ↑n + 1)) ^ (↑k)⁻¹", "ppTerm": "?m.474", "as...
[ "f : AbsoluteValue ℚ ℝ\nn₀ : ℕ\nhn₀ : 1 < n₀\nh : f ↑n₀ ≤ 1\nn : ℕ\nh_ineq1 : ∀ {m : ℕ}, 1 ≤ m → f ↑m ≤ ↑n₀ * (logb ↑n₀ ↑m + 1)\nh₀ : n ≠ 0\nk : ℕ\nhk : 0 < k\nthis : 0 ≤ logb ↑n₀ ↑n\n⊢ (↑n₀ * (↑k * logb ↑n₀ ↑n + 1)) ^ (↑k)⁻¹ = (↑n₀ * (↑k * logb ↑n₀ ↑n + 1)) ^ (↑k)⁻¹" ]
logb_pow
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Ostrowski
{ "line": 377, "column": 77 }
{ "line": 377, "column": 85 }
{ "line": 377, "column": 85 }
[ { "pp": "f : AbsoluteValue ℚ ℝ\nm n : ℕ\nhm : 1 < m\nhn : 1 < n\nnotbdd : ¬∀ (n : ℕ), f ↑n ≤ 1\nk : ℕ\nhk : k ≠ 0\nh_ineq1 : ∀ {m n : ℕ}, 1 < m → 1 < n → f ↑n ≤ ↑m * f ↑m / (f ↑m - 1) * f ↑m ^ logb ↑m ↑n\nhe : 0 < ↑m * f ↑m / (f ↑m - 1)\n⊢ ↑m * f ↑m / (f ↑m - 1) * f ↑m ^ logb (↑m) (↑n ^ k) = ↑m * f ↑m / (f ↑m -...
[ "f : AbsoluteValue ℚ ℝ\nm n : ℕ\nhm : 1 < m\nhn : 1 < n\nnotbdd : ¬∀ (n : ℕ), f ↑n ≤ 1\nk : ℕ\nhk : k ≠ 0\nh_ineq1 : ∀ {m n : ℕ}, 1 < m → 1 < n → f ↑n ≤ ↑m * f ↑m / (f ↑m - 1) * f ↑m ^ logb ↑m ↑n\nhe : 0 < ↑m * f ↑m / (f ↑m - 1)\n⊢ ↑m * f ↑m / (f ↑m - 1) * f ↑m ^ (↑k * logb ↑m ↑n) = ↑m * f ↑m / (f ↑m - 1) * f ↑m ^ ...
logb_pow
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Padics.Complex
{ "line": 164, "column": 4 }
{ "line": 164, "column": 26 }
{ "line": 164, "column": 26 }
[ { "pp": "p : ℕ\nhp : Fact (Nat.Prime p)\n⊢ Valued.v ↑p = 1 / ↑p", "ppTerm": "?m.37", "assigned": true, "usedConstants": [ "Eq.mpr", "LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero", "NonAssocSemiring.toAddCommMonoidWithOne", "instHDiv", "PadicAlgCl.val...
[ "p : ℕ\nhp : Fact (Nat.Prime p)\n⊢ 1 / ↑p = 1 / ↑p" ]
PadicAlgCl.valuation_p
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Padics.MahlerBasis
{ "line": 181, "column": 2 }
{ "line": 192, "column": 95 }
{ "line": 194, "column": 0 }
[ { "pp": "case refine_2\np : ℕ\nhp : Fact (Nat.Prime p)\nE : Type u_1\ninst✝³ : NormedAddCommGroup E\ninst✝² : Module ℤ_[p] E\ninst✝¹ : IsBoundedSMul ℤ_[p] E\ninst✝ : IsUltrametricDist E\nf : C(ℤ_[p], E)\ns t : ℕ\nhst : ∀ (x y : ℤ_[p]), ‖x - y‖ ≤ ↑p ^ (-↑t) → ‖f x - f y‖ ≤ ‖f‖ / ↑p ^ s\nn : ℕ\n⊢ ‖∑ k ∈ range (n ...
[]
· -- Bounding the sum over `range (n + 1)`: every term is small by the choice of `t` refine norm_sum_le_of_forall_le_of_nonempty nonempty_range_add_one (fun i _ ↦ ?_) calc ‖((-1 : ℤ) ^ (n - i) * n.choose i) • (f (i + ↑(p ^ t)) - f i)‖ _ ≤ ‖((-1 : ℤ) ^ (n - i) * n.choose i : ℤ_[p])‖ * ‖(f (i + ↑(p ^ t)) - f ...
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.NumberTheory.Padics.HeightOneSpectrum
{ "line": 113, "column": 34 }
{ "line": 113, "column": 74 }
{ "line": 113, "column": 74 }
[ { "pp": "R✝ : Type u_1\ninst✝⁷ : CommRing R✝\ninst✝⁶ : Algebra R✝ ℚ\ninst✝⁵ : IsIntegralClosure R✝ ℤ ℚ\nR : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : Algebra R ℚ\ninst✝² : IsIntegralClosure R ℤ ℚ\ninst✝¹ : IsDedekindDomain R\ninst✝ : IsFractionRing R ℚ\np : Nat.Primes\n⊢ Prime (Ideal.span {↑↑p})", "ppTerm": "...
[]
by simp [← Nat.prime_iff_prime_int, p.2]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Topology.Separation.DisjointCover
{ "line": 109, "column": 62 }
{ "line": 114, "column": 62 }
{ "line": 116, "column": 0 }
[ { "pp": "X : Type u_1\ninst✝³ : TopologicalSpace X\nS : Set (X × X)\ninst✝² : CompactSpace X\ninst✝¹ : TotallyDisconnectedSpace X\ninst✝ : T2Space X\nhS : S ∈ 𝓝ˢ (diagonal X)\n⊢ ∃ n D,\n (∀ (i : Fin n), D i ≠ ⊥) ∧\n (∀ (i : Fin n), ∀ y ∈ D i, ∀ z ∈ D i, (y, z) ∈ S) ∧ univ ⊆ ⋃ i, ↑(D i) ∧ Pairwise (Disj...
[]
by obtain ⟨t, U, hUc, hUS⟩ := exists_finite_open_cover_prod_subset_of_mem_nhds_diagonal_of_compact hS -- Now refine it to a disjoint covering. obtain ⟨n, W, hW₁, hW₂, hW₃⟩ := hUc.exists_finite_nonempty_disjoint_clopen_cover refine ⟨n, W, fun j ↦ (hW₁ j).1, fun j y hy z hz ↦ ?_, hW₂, hW₃⟩ exact match (hW₁ j).2...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.Padics.MahlerBasis
{ "line": 404, "column": 68 }
{ "line": 407, "column": 18 }
{ "line": 409, "column": 0 }
[ { "pp": "p : ℕ\nhp : Fact (Nat.Prime p)\nR : Type u_1\ninst✝⁴ : NormedCommRing R\ninst✝³ : Algebra ℤ_[p] R\ninst✝² : IsUltrametricDist R\ninst✝¹ : CompleteSpace R\ninst✝ : IsBoundedSMul ℤ_[p] R\nμ : C(ℤ_[p], R) →L[R] R\nhμ : ∀ (n : ℕ), μ (mahler n • 1) = 0\n⊢ μ = 0", "ppTerm": "?m.46", "assigned": true,...
[]
by apply ContinuousLinearMap.ext_on dense_span_mahler rintro _ ⟨n, rfl⟩ simpa using hμ n
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.Pell
{ "line": 205, "column": 32 }
{ "line": 205, "column": 41 }
{ "line": 205, "column": 42 }
[ { "pp": "d : ℤ\na : Solution₁ d\nha : 1 < a.x\nhy : a.y = 0\nprop : a.x ^ 2 - d * 0 = 1\n⊢ False", "ppTerm": "?m.35", "assigned": true, "usedConstants": [ "HMul.hMul", "MulZeroClass.toMul", "congrArg", "Pell.Solution₁.x", "HSub.hSub", "Eq.mp", "instOfNatNat"...
[ "d : ℤ\na : Solution₁ d\nha : 1 < a.x\nhy : a.y = 0\nprop : a.x ^ 2 - 0 = 1\n⊢ False" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Pell
{ "line": 231, "column": 21 }
{ "line": 231, "column": 30 }
{ "line": 231, "column": 31 }
[ { "pp": "d : ℤ\na : Solution₁ d\nH : a.y = 0\nprop : a.x ^ 2 - d * (0 * 0) = 1\n⊢ a = 1 ∨ a = -1", "ppTerm": "?m.46", "assigned": true, "usedConstants": [ "HMul.hMul", "MulZeroClass.toMul", "congrArg", "Pell.Solution₁.x", "HSub.hSub", "Eq.mp", "instOfNatNat"...
[ "d : ℤ\na : Solution₁ d\nH : a.y = 0\nprop : a.x ^ 2 - d * 0 = 1\n⊢ a = 1 ∨ a = -1" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Pell
{ "line": 231, "column": 31 }
{ "line": 231, "column": 40 }
{ "line": 231, "column": 41 }
[ { "pp": "d : ℤ\na : Solution₁ d\nH : a.y = 0\nprop : a.x ^ 2 - d * 0 = 1\n⊢ a = 1 ∨ a = -1", "ppTerm": "?m.53", "assigned": true, "usedConstants": [ "HMul.hMul", "MulZeroClass.toMul", "congrArg", "Pell.Solution₁.x", "HSub.hSub", "Eq.mp", "instOfNatNat", ...
[ "d : ℤ\na : Solution₁ d\nH : a.y = 0\nprop : a.x ^ 2 - 0 = 1\n⊢ a = 1 ∨ a = -1" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Pell
{ "line": 383, "column": 2 }
{ "line": 385, "column": 71 }
{ "line": 387, "column": 0 }
[ { "pp": "case refine_2\nd : ℤ\nh₀ : 0 < d\nhd : ¬IsSquare d\nξ : ℝ := √↑d\nhξ : Irrational ξ\nM : ℤ\nhM₁ : 2 * |ξ| + 1 < ↑M\nhM : {q | |q.num ^ 2 - d * ↑q.den ^ 2| < M}.Infinite\nm : ℤ\nhm : {q | q.num ^ 2 - d * ↑q.den ^ 2 = m}.Infinite\nthis : NeZero m.natAbs\nf : ℚ → ZMod m.natAbs × ZMod m.natAbs := fun q ↦ (...
[]
· qify [hd₂] refine div_ne_zero_iff.mpr ⟨?_, hm₀⟩ exact mod_cast mt sub_eq_zero.mp (mt Rat.eq_iff_mul_eq_mul.mpr hne)
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.NumberTheory.Rayleigh
{ "line": 71, "column": 2 }
{ "line": 72, "column": 87 }
{ "line": 73, "column": 2 }
[ { "pp": "r s : ℝ\nhrs : r.HolderConjugate s\nj k : ℤ\nh₁ : ↑j / r ≤ ↑k ∧ ↑k < (↑j + 1) / r\nm : ℤ\nh₂ : beattySeq' s m = j\n⊢ False", "ppTerm": "?m.112", "assigned": true, "usedConstants": [ "Int.cast", "GroupWithZero.toMonoidWithZero", "Real.partialOrder", "Real", "Pre...
[ "r s : ℝ\nhrs : r.HolderConjugate s\nj k : ℤ\nh₁ : ↑j / r ≤ ↑k ∧ ↑k < (↑j + 1) / r\nm : ℤ\nh₂ : ↑j / s < ↑m ∧ ↑m ≤ (↑j + 1) / s\n⊢ False" ]
rw [beattySeq', sub_eq_iff_eq_add, Int.ceil_eq_iff, Int.cast_add, Int.cast_one, add_sub_cancel_right, ← div_lt_iff₀ hrs.symm.pos, ← le_div_iff₀ hrs.symm.pos] at h₂
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.NumberTheory.SumFourSquares
{ "line": 101, "column": 2 }
{ "line": 101, "column": 19 }
{ "line": 102, "column": 2 }
[ { "pp": "m a b c d : ℤ\nh : a ^ 2 + b ^ 2 + c ^ 2 + d ^ 2 = 2 * m\nthis :\n ∀ (f : Fin 4 → ZMod 2),\n f 0 ^ 2 + f 1 ^ 2 + f 2 ^ 2 + f 3 ^ 2 = 0 →\n ∃ i, f i ^ 2 + f ((swap i 0) 1) ^ 2 = 0 ∧ f ((swap i 0) 2) ^ 2 + f ((swap i 0) 3) ^ 2 = 0\nf : Fin 4 → ℤ := ![a, b, c, d]\ni : Fin 4\nhσ : ↑(f i) ^ 2 + ↑(f...
[ "m a b c d : ℤ\nh : a ^ 2 + b ^ 2 + c ^ 2 + d ^ 2 = 2 * m\nthis :\n ∀ (f : Fin 4 → ZMod 2),\n f 0 ^ 2 + f 1 ^ 2 + f 2 ^ 2 + f 3 ^ 2 = 0 →\n ∃ i, f i ^ 2 + f ((swap i 0) 1) ^ 2 = 0 ∧ f ((swap i 0) 2) ^ 2 + f ((swap i 0) 3) ^ 2 = 0\nf : Fin 4 → ℤ := ![a, b, c, d]\ni : Fin 4\nσ : Perm (Fin 4) := swap i 0\nhσ ...
set σ := swap i 0
Mathlib.Tactic._aux_Mathlib_Tactic_Set___elabRules_Mathlib_Tactic_setTactic_1
Mathlib.Tactic.setTactic
Mathlib.NumberTheory.Zsqrtd.GaussianInt
{ "line": 194, "column": 35 }
{ "line": 194, "column": 54 }
{ "line": 194, "column": 54 }
[ { "pp": "x y : ℤ[i]\nthis : |2⁻¹| = 2⁻¹\n⊢ |(↑(toComplex x / toComplex y).re - ↑↑(round (toComplex x / toComplex y).re) +\n (↑(toComplex x / toComplex y).im - ↑(toComplex (x / y)).im) * I).re| ≤\n |(1 / 2 + 1 / 2 * I).re|", "ppTerm": "?m.148", "assigned": true, "usedConstants": [ "...
[ "x y : ℤ[i]\nthis : |2⁻¹| = 2⁻¹\n⊢ |(toComplex x / toComplex y).re - ↑(round (toComplex x / toComplex y).re)| ≤ 2⁻¹" ]
simp [normSq, this]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.NumberTheory.Zsqrtd.GaussianInt
{ "line": 195, "column": 35 }
{ "line": 195, "column": 54 }
{ "line": 195, "column": 54 }
[ { "pp": "x y : ℤ[i]\nthis : |2⁻¹| = 2⁻¹\n⊢ |(↑(toComplex x / toComplex y).re - ↑(toComplex (x / y)).re +\n (↑(toComplex x / toComplex y).im - ↑↑(round (toComplex x / toComplex y).im)) * I).im| ≤\n |(1 / 2 + 1 / 2 * I).im|", "ppTerm": "?m.170", "assigned": true, "usedConstants": [ "...
[ "x y : ℤ[i]\nthis : |2⁻¹| = 2⁻¹\n⊢ |(toComplex x / toComplex y).im - ↑(round (toComplex x / toComplex y).im)| ≤ 2⁻¹" ]
simp [normSq, this]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.NumberTheory.SumTwoSquares
{ "line": 109, "column": 2 }
{ "line": 109, "column": 44 }
{ "line": 110, "column": 2 }
[ { "pp": "n : ℕ\nhn : Squarefree n\nH : ∀ q ∈ n.primeFactors, q % 4 ≠ 3\n⊢ IsSquare (-1)", "ppTerm": "?m.31", "assigned": true, "usedConstants": [ "Nat.dvd_of_mem_primeFactors", "Iff.mpr", "Nat.Coprime", "NegZeroClass.toNeg", "Nat.Prime", "Dvd.dvd", "ZMod.exi...
[]
induction n using induction_on_primes with
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.NumberTheory.SumTwoSquares
{ "line": 149, "column": 2 }
{ "line": 149, "column": 44 }
{ "line": 150, "column": 2 }
[ { "pp": "n : ℕ\nh : IsSquare (-1)\n⊢ ∃ x y, n = x ^ 2 + y ^ 2", "ppTerm": "?m.64", "assigned": true, "usedConstants": [ "NegZeroClass.toNeg", "Nat.Prime", "ZMod.exists_sq_eq_neg_one_iff", "HMul.hMul", "ZMod.commRing", "CommSemiring.toNonUnitalCommSemiring", ...
[]
induction n using induction_on_primes with
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.NumberTheory.Transcendental.Lindemann.AnalyticalPart
{ "line": 67, "column": 29 }
{ "line": 67, "column": 37 }
{ "line": 67, "column": 38 }
[ { "pp": "f : ℂ[X]\ns : ℂ\n⊢ P f s = cexp s * (-(cexp (-s) * eval s (sumIDeriv f)) + eval 0 (sumIDeriv f))", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "Polynomial.eval", "_private.Mathlib.NumberTheory.Transcendental.Lindemann...
[ "f : ℂ[X]\ns : ℂ\n⊢ P f s = cexp s * -(cexp (-s) * eval s (sumIDeriv f)) + cexp s * eval 0 (sumIDeriv f)" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.SumTwoSquares
{ "line": 190, "column": 42 }
{ "line": 190, "column": 61 }
{ "line": 190, "column": 61 }
[ { "pp": "n x y : ℕ\nh : n = x ^ 2 + y ^ 2\nhxy : x = 0 ∧ y = 0\n⊢ 1 = 0", "ppTerm": "?m.181", "assigned": true, "usedConstants": [ "Eq.mpr", "ZMod.commRing", "Fin.one_eq_zero_iff", "congrArg", "AddGroupWithOne.toAddMonoidWithOne", "id", "Fin.instOfNat", ...
[ "n x y : ℕ\nh : n = x ^ 2 + y ^ 2\nhxy : x = 0 ∧ y = 0\n⊢ 0 + 1 = 1" ]
Fin.one_eq_zero_iff
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Transcendental.Liouville.LiouvilleNumber
{ "line": 166, "column": 6 }
{ "line": 168, "column": 22 }
{ "line": 169, "column": 4 }
[ { "pp": "case h\nm : ℕ\nhm : 0 < m\nk p_k : ℕ\nh_k : partialSum (↑m) k = ↑p_k / ↑(m ^ k !)\n⊢ ↑p_k * ↑m ^ (k + 1)! * ↑(m ^ (k + 1)!) + ↑(m ^ k !) * 1 * ↑(m ^ (k + 1)!) =\n ↑(p_k * m ^ ((k + 1)! - k !) + 1) * (↑(m ^ k !) * ↑m ^ (k + 1)!)", "ppTerm": "?h", "assigned": true, "usedConstants": [ ...
[]
norm_cast rw [add_mul, one_mul, Nat.factorial_succ, add_mul, one_mul, add_tsub_cancel_right, pow_add] simp [mul_assoc]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.Transcendental.Liouville.LiouvilleNumber
{ "line": 166, "column": 6 }
{ "line": 168, "column": 22 }
{ "line": 169, "column": 4 }
[ { "pp": "case h\nm : ℕ\nhm : 0 < m\nk p_k : ℕ\nh_k : partialSum (↑m) k = ↑p_k / ↑(m ^ k !)\n⊢ ↑p_k * ↑m ^ (k + 1)! * ↑(m ^ (k + 1)!) + ↑(m ^ k !) * 1 * ↑(m ^ (k + 1)!) =\n ↑(p_k * m ^ ((k + 1)! - k !) + 1) * (↑(m ^ k !) * ↑m ^ (k + 1)!)", "ppTerm": "?h", "assigned": true, "usedConstants": [ ...
[]
norm_cast rw [add_mul, one_mul, Nat.factorial_succ, add_mul, one_mul, add_tsub_cancel_right, pow_add] simp [mul_assoc]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.Instances.Irrational
{ "line": 80, "column": 2 }
{ "line": 89, "column": 23 }
{ "line": 91, "column": 0 }
[ { "pp": "x : ℝ\nhx : Irrational x\nn : ℕ\n⊢ ∀ᶠ (ε : ℝ) in 𝓝 0, ∀ (m : ℤ), ε ≤ dist x (↑m / ↑n)", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Filter.instMembership", "Int.cast", "GroupWithZero.toMonoidWithZero", "Nat.not_irrational._simp_1", "False", ...
[]
have A : IsClosed (range (fun m => (n : ℝ)⁻¹ * m : ℤ → ℝ)) := ((isClosedMap_smul₀ (n⁻¹ : ℝ)).comp Int.isClosedEmbedding_coe_real.isClosedMap).isClosed_range have B : x ∉ range (fun m => (n : ℝ)⁻¹ * m : ℤ → ℝ) := by rintro ⟨m, rfl⟩ simp at hx rcases Metric.mem_nhds_iff.1 (A.isOpen_compl.mem_nhds B) with ...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Topology.Instances.Irrational
{ "line": 80, "column": 2 }
{ "line": 89, "column": 23 }
{ "line": 91, "column": 0 }
[ { "pp": "x : ℝ\nhx : Irrational x\nn : ℕ\n⊢ ∀ᶠ (ε : ℝ) in 𝓝 0, ∀ (m : ℤ), ε ≤ dist x (↑m / ↑n)", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Filter.instMembership", "Int.cast", "GroupWithZero.toMonoidWithZero", "Nat.not_irrational._simp_1", "False", ...
[]
have A : IsClosed (range (fun m => (n : ℝ)⁻¹ * m : ℤ → ℝ)) := ((isClosedMap_smul₀ (n⁻¹ : ℝ)).comp Int.isClosedEmbedding_coe_real.isClosedMap).isClosed_range have B : x ∉ range (fun m => (n : ℝ)⁻¹ * m : ℤ → ℝ) := by rintro ⟨m, rfl⟩ simp at hx rcases Metric.mem_nhds_iff.1 (A.isOpen_compl.mem_nhds B) with ...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.Transcendental.Liouville.LiouvilleWith
{ "line": 67, "column": 27 }
{ "line": 67, "column": 64 }
{ "line": 68, "column": 4 }
[ { "pp": "x : ℝ\nn : ℕ\nhn : 0 < n\nhn' : 0 < ↑n\nthis : x < ↑(⌊x * ↑n⌋ + 1) / ↑n\n⊢ ↑(⌊x * ↑n⌋ + 1) ≤ x * ↑n + 1", "ppTerm": "?m.173", "assigned": true, "usedConstants": [ "Int.cast", "Eq.mpr", "le_refl", "Real.instLE", "Real", "HMul.hMul", "AddMonoid.toAddS...
[]
push_cast; gcongr; apply Int.floor_le
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.Transcendental.Liouville.LiouvilleWith
{ "line": 67, "column": 27 }
{ "line": 67, "column": 64 }
{ "line": 68, "column": 4 }
[ { "pp": "x : ℝ\nn : ℕ\nhn : 0 < n\nhn' : 0 < ↑n\nthis : x < ↑(⌊x * ↑n⌋ + 1) / ↑n\n⊢ ↑(⌊x * ↑n⌋ + 1) ≤ x * ↑n + 1", "ppTerm": "?m.173", "assigned": true, "usedConstants": [ "Int.cast", "Eq.mpr", "le_refl", "Real.instLE", "Real", "HMul.hMul", "AddMonoid.toAddS...
[]
push_cast; gcongr; apply Int.floor_le
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.Transcendental.Liouville.LiouvilleWith
{ "line": 201, "column": 2 }
{ "line": 201, "column": 40 }
{ "line": 203, "column": 0 }
[ { "pp": "p x : ℝ\nn : ℕ\n⊢ LiouvilleWith p (x + ↑n) ↔ LiouvilleWith p x", "ppTerm": "?m.5", "assigned": true, "usedConstants": [ "Eq.mpr", "Real", "DivisionRing.toRatCast", "congrArg", "Iff.rfl", "Real.instRatCast", "Rat", "AddGroupWithOne.toAddMonoidW...
[]
rw [← Rat.cast_natCast n, add_rat_iff]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.NumberTheory.Transcendental.Liouville.LiouvilleWith
{ "line": 201, "column": 2 }
{ "line": 201, "column": 40 }
{ "line": 203, "column": 0 }
[ { "pp": "p x : ℝ\nn : ℕ\n⊢ LiouvilleWith p (x + ↑n) ↔ LiouvilleWith p x", "ppTerm": "?m.5", "assigned": true, "usedConstants": [ "Eq.mpr", "Real", "DivisionRing.toRatCast", "congrArg", "Iff.rfl", "Real.instRatCast", "Rat", "AddGroupWithOne.toAddMonoidW...
[]
rw [← Rat.cast_natCast n, add_rat_iff]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.Transcendental.Liouville.LiouvilleWith
{ "line": 201, "column": 2 }
{ "line": 201, "column": 40 }
{ "line": 203, "column": 0 }
[ { "pp": "p x : ℝ\nn : ℕ\n⊢ LiouvilleWith p (x + ↑n) ↔ LiouvilleWith p x", "ppTerm": "?m.5", "assigned": true, "usedConstants": [ "Eq.mpr", "Real", "DivisionRing.toRatCast", "congrArg", "Iff.rfl", "Real.instRatCast", "Rat", "AddGroupWithOne.toAddMonoidW...
[]
rw [← Rat.cast_natCast n, add_rat_iff]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.Transcendental.Liouville.LiouvilleWith
{ "line": 289, "column": 4 }
{ "line": 289, "column": 31 }
{ "line": 289, "column": 31 }
[ { "pp": "case inl\np : ℝ\nhp : 1 < p\nh : LiouvilleWith p ↑0\n⊢ False", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "Rat.instOfNat", "Real", "Real.instRatCast", "Rat", "Rat.cast", "Int", "instOfNat", "LiouvilleWith.ne_intCast", "OfNat....
[ "case inl\np : ℝ\nhp : 1 < p\nh : LiouvilleWith p ↑0\n⊢ ↑0 = ↑0" ]
refine h.ne_intCast hp 0 ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Order.Comparable
{ "line": 118, "column": 2 }
{ "line": 118, "column": 36 }
{ "line": 120, "column": 0 }
[ { "pp": "α : Type u_1\na b : α\nr : α → α → Prop\n⊢ ¬SymmGen r a b ↔ IncompRel r a b", "ppTerm": "?m.3", "assigned": true, "usedConstants": [ "congrArg", "iff_self", "And", "Iff", "not_or._simp_1", "True", "of_eq_true", "congrFun'", "Relation.Sym...
[]
simp [Relation.SymmGen, IncompRel]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Order.Comparable
{ "line": 118, "column": 2 }
{ "line": 118, "column": 36 }
{ "line": 120, "column": 0 }
[ { "pp": "α : Type u_1\na b : α\nr : α → α → Prop\n⊢ ¬SymmGen r a b ↔ IncompRel r a b", "ppTerm": "?m.3", "assigned": true, "usedConstants": [ "congrArg", "iff_self", "And", "Iff", "not_or._simp_1", "True", "of_eq_true", "congrFun'", "Relation.Sym...
[]
simp [Relation.SymmGen, IncompRel]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Comparable
{ "line": 118, "column": 2 }
{ "line": 118, "column": 36 }
{ "line": 120, "column": 0 }
[ { "pp": "α : Type u_1\na b : α\nr : α → α → Prop\n⊢ ¬SymmGen r a b ↔ IncompRel r a b", "ppTerm": "?m.3", "assigned": true, "usedConstants": [ "congrArg", "iff_self", "And", "Iff", "not_or._simp_1", "True", "of_eq_true", "congrFun'", "Relation.Sym...
[]
simp [Relation.SymmGen, IncompRel]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.CompleteSublattice
{ "line": 137, "column": 4 }
{ "line": 137, "column": 44 }
{ "line": 138, "column": 2 }
[ { "pp": "α : Type u_1\nβ : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : CompleteLattice β\nf : CompleteLatticeHom α β\nL✝ L : CompleteSublattice α\nt : Set α\nht : t ⊆ ↑L\nhs : ⇑f '' t ⊆ ⇑f '' ↑L\n⊢ f (sSup t) ∈ ⇑f '' ↑L", "ppTerm": "?m.81", "assigned": true, "usedConstants": [ "CompleteLatti...
[]
exact mem_image_of_mem f (sSupClosed ht)
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Order.Interval.Set.SurjOn
{ "line": 59, "column": 2 }
{ "line": 60, "column": 61 }
{ "line": 62, "column": 0 }
[ { "pp": "case inr.inr\nα : Type u_1\nβ : Type u_2\ninst✝¹ : LinearOrder α\ninst✝ : PartialOrder β\nf : α → β\nh_mono : Monotone f\nh_surj : Surjective f\na b : α\nhab : a ≤ b\np : β\nhp : p ∈ Icc (f a) (f b)\nhp' : p ∈ Ioo (f a) (f b)\n⊢ p ∈ f '' Icc a b", "ppTerm": "?inr.inr", "assigned": true, "us...
[]
· exact image_mono Ioo_subset_Icc_self <| surjOn_Ioo_of_monotone_surjective h_mono h_surj a b hp'
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Order.Monotone.MonovaryOrder
{ "line": 53, "column": 4 }
{ "line": 53, "column": 43 }
{ "line": 53, "column": 44 }
[ { "pp": "case refine_1\nι : Type u_1\nα : Type u_2\nβ : Type u_3\ninst✝¹ : LinearOrder α\ninst✝ : LinearOrder β\nf : ι → α\ng : ι → β\ns : Set ι\nthis : LinearOrder ι := linearOrderOfSTO (MonovaryOrder f g)\nhfg : MonovaryOn f g s\ni : ι\nhi : i ∈ s\nj : ι\nhj : j ∈ s\nhij : i < j\n⊢ f i ≤ f j", "ppTerm": "...
[ "case refine_1.inl\nι : Type u_1\nα : Type u_2\nβ : Type u_3\ninst✝¹ : LinearOrder α\ninst✝ : LinearOrder β\nf : ι → α\ng : ι → β\ns : Set ι\nthis : LinearOrder ι := linearOrderOfSTO (MonovaryOrder f g)\nhfg : MonovaryOn f g s\ni : ι\nhi : i ∈ s\nj : ι\nhj : j ∈ s\nhij : i < j\nh : (f i, g i, i).1 < (f j, g j, j).1...
obtain h | ⟨h, -⟩ := Prod.lex_iff.1 hij
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Order.Lattice.Congruence
{ "line": 72, "column": 8 }
{ "line": 72, "column": 24 }
{ "line": 72, "column": 24 }
[ { "pp": "α : Type u_2\ninst✝ : Lattice α\nr : α → α → Prop\nh₂ : ∀ ⦃x y : α⦄, r x y ↔ r (x ⊓ y) (x ⊔ y)\nh₃ : ∀ ⦃x y z : α⦄, x ≤ y → y ≤ z → r x y → r y z → r x z\nh₄ : ∀ ⦃x y t : α⦄, x ≤ y → r x y → r (x ⊓ t) (y ⊓ t) ∧ r (x ⊔ t) (y ⊔ t)\nx y z : α\nhxy : r x y\nhyz : r y z\n⊢ x ⊓ y ⊓ z ≤ y ⊓ z", "ppTerm": ...
[]
simp [inf_assoc]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Order.Lattice.Congruence
{ "line": 72, "column": 8 }
{ "line": 72, "column": 24 }
{ "line": 72, "column": 24 }
[ { "pp": "α : Type u_2\ninst✝ : Lattice α\nr : α → α → Prop\nh₂ : ∀ ⦃x y : α⦄, r x y ↔ r (x ⊓ y) (x ⊔ y)\nh₃ : ∀ ⦃x y z : α⦄, x ≤ y → y ≤ z → r x y → r y z → r x z\nh₄ : ∀ ⦃x y t : α⦄, x ≤ y → r x y → r (x ⊓ t) (y ⊓ t) ∧ r (x ⊔ t) (y ⊔ t)\nx y z : α\nhxy : r x y\nhyz : r y z\n⊢ x ⊓ y ⊓ z ≤ y ⊓ z", "ppTerm": ...
[]
simp [inf_assoc]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Lattice.Congruence
{ "line": 72, "column": 8 }
{ "line": 72, "column": 24 }
{ "line": 72, "column": 24 }
[ { "pp": "α : Type u_2\ninst✝ : Lattice α\nr : α → α → Prop\nh₂ : ∀ ⦃x y : α⦄, r x y ↔ r (x ⊓ y) (x ⊔ y)\nh₃ : ∀ ⦃x y z : α⦄, x ≤ y → y ≤ z → r x y → r y z → r x z\nh₄ : ∀ ⦃x y t : α⦄, x ≤ y → r x y → r (x ⊓ t) (y ⊓ t) ∧ r (x ⊔ t) (y ⊔ t)\nx y z : α\nhxy : r x y\nhyz : r y z\n⊢ x ⊓ y ⊓ z ≤ y ⊓ z", "ppTerm": ...
[]
simp [inf_assoc]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.PrimeSeparator
{ "line": 68, "column": 2 }
{ "line": 68, "column": 20 }
{ "line": 70, "column": 2 }
[ { "pp": "case h\nα : Type u_1\ninst✝ : DistribLattice α\nF : PFilter α\nI : Ideal α\nhFI : Disjoint ↑F ↑I\nS : Set (Set α) := {J | IsIdeal J ∧ ↑I ⊆ J ∧ Disjoint (↑F) J}\nIinS : ↑I ∈ S\nchainub : ∀ c ⊆ S, IsChain (fun x1 x2 ↦ x1 ⊆ x2) c → c.Nonempty → ∃ ub ∈ S, ∀ s ∈ c, s ⊆ ub\nJset : Set α\nleft✝ : ↑I ⊆ Jset\nh...
[ "case h\nα : Type u_1\ninst✝ : DistribLattice α\nF : PFilter α\nI : Ideal α\nhFI : Disjoint ↑F ↑I\nS : Set (Set α) := {J | IsIdeal J ∧ ↑I ⊆ J ∧ Disjoint (↑F) J}\nJset : Set α\nleft✝ : ↑I ⊆ Jset\nhmax : Maximal (fun x ↦ x ∈ S) Jset\nJidl : IsIdeal Jset\nIJ : ↑I ⊆ Jset\nJF : Disjoint (↑F) Jset\nJ : Ideal α := Jidl.to...
clear chainub IinS
Lean.Elab.Tactic.evalClear
Lean.Parser.Tactic.clear
Mathlib.Order.Partition.Basic
{ "line": 170, "column": 2 }
{ "line": 170, "column": 48 }
{ "line": 171, "column": 2 }
[ { "pp": "α : Type u_1\ninst✝ : CompleteLattice α\nP : Partition ⊥\nx : α\nhxP : x ∈ P\n⊢ False", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "le_bot_iff", "False", "Lattice.toSemilatticeSup", "CompleteLattice.toLattice", "OrderBot.toBot", "PartialOrder...
[ "α : Type u_1\ninst✝ : CompleteLattice α\nP : Partition ⊥\nhxP : ⊥ ∈ P\n⊢ False" ]
obtain rfl := le_bot_iff.mp <| P.le_of_mem hxP
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Order.Std
{ "line": 282, "column": 6 }
{ "line": 289, "column": 88 }
{ "line": 289, "column": 89 }
[ { "pp": "α : Type u_1\nargs : OfStdArgs α\nthis✝⁵ : LE α := args.le\nthis✝⁴ : LT α := args.lt\nthis✝³ :\n let this := args.le;\n let this_1 := args.lt;\n Std.LawfulOrderLT α\nthis✝² :\n let this := args.le;\n Std.IsLinearOrder α\nthis✝¹ : DecidableLE α := args.decidableLE\nthis✝ : Std.LawfulOrderLeftLeanin...
[]
let := args.ord have := args.lawfulOrderOrd rw [compareOfLessAndEq] split_ifs case _ => rwa [Std.compare_eq_lt] case _ => rwa [Std.compare_eq_iff_eq] case _ h h' => exact Std.compare_eq_gt.mpr <| Std.lt_of_le_of_ne (Std.not_lt.mp h) (Ne.symm h')
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Std
{ "line": 282, "column": 6 }
{ "line": 289, "column": 88 }
{ "line": 289, "column": 89 }
[ { "pp": "α : Type u_1\nargs : OfStdArgs α\nthis✝⁵ : LE α := args.le\nthis✝⁴ : LT α := args.lt\nthis✝³ :\n let this := args.le;\n let this_1 := args.lt;\n Std.LawfulOrderLT α\nthis✝² :\n let this := args.le;\n Std.IsLinearOrder α\nthis✝¹ : DecidableLE α := args.decidableLE\nthis✝ : Std.LawfulOrderLeftLeanin...
[]
let := args.ord have := args.lawfulOrderOrd rw [compareOfLessAndEq] split_ifs case _ => rwa [Std.compare_eq_lt] case _ => rwa [Std.compare_eq_iff_eq] case _ h h' => exact Std.compare_eq_gt.mpr <| Std.lt_of_le_of_ne (Std.not_lt.mp h) (Ne.symm h')
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Probability.Martingale.OptionalStopping
{ "line": 97, "column": 6 }
{ "line": 97, "column": 50 }
{ "line": 97, "column": 50 }
[ { "pp": "Ω : Type u_1\nm0 : MeasurableSpace Ω\nμ : Measure Ω\n𝒢 : Filtration ℕ m0\nf : ℕ → Ω → ℝ\nτ : Ω → WithTop ℕ\ninst✝ : SigmaFiniteFiltration μ 𝒢\nh : Submartingale f 𝒢 μ\nhτ : IsStoppingTime 𝒢 τ\n⊢ Submartingale (stoppedProcess f τ) 𝒢 μ", "ppTerm": "?m.33", "assigned": true, "usedConstant...
[ "Ω : Type u_1\nm0 : MeasurableSpace Ω\nμ : Measure Ω\n𝒢 : Filtration ℕ m0\nf : ℕ → Ω → ℝ\nτ : Ω → WithTop ℕ\ninst✝ : SigmaFiniteFiltration μ 𝒢\nh : Submartingale f 𝒢 μ\nhτ : IsStoppingTime 𝒢 τ\n⊢ ∀ (τ_1 π : Ω → WithTop ℕ),\n IsStoppingTime 𝒢 τ_1 →\n IsStoppingTime 𝒢 π →\n τ_1 ≤ π →\n (...
submartingale_iff_expected_stoppedValue_mono
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Moments.Basic
{ "line": 213, "column": 47 }
{ "line": 213, "column": 75 }
{ "line": 213, "column": 75 }
[ { "pp": "Ω : Type u_1\nm : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nt : ℝ\nhμ : NeZero μ\nhX : Integrable (fun ω ↦ rexp (t * X ω)) μ\n⊢ rexp (log (mgf X μ t)) = mgf X μ t", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "Eq.mpr", "Real", "MeasureTheory.Measure", ...
[ "Ω : Type u_1\nm : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nt : ℝ\nhμ : NeZero μ\nhX : Integrable (fun ω ↦ rexp (t * X ω)) μ\n⊢ mgf X μ t = mgf X μ t" ]
exp_log (mgf_pos' hμ.out hX)
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Moments.ComplexMGF
{ "line": 138, "column": 2 }
{ "line": 138, "column": 40 }
{ "line": 139, "column": 2 }
[ { "pp": "case refine_1\nΩ : Type u_1\nm : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nz : ℂ\nhz : z.re ∈ interior (integrableExpSet X μ)\nn : ℕ\nhX : AEMeasurable X μ\nl u : ℝ\nhlu : z.re ∈ Set.Ioo l u\nh_subset : Set.Ioo l u ⊆ integrableExpSet X μ\nt : ℝ := min (z.re - l) (u - z.re) / 2\nh_pos : 0 < min (z.re...
[ "case refine_2\nΩ : Type u_1\nm : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nz : ℂ\nhz : z.re ∈ interior (integrableExpSet X μ)\nn : ℕ\nhX : AEMeasurable X μ\nl u : ℝ\nhlu : z.re ∈ Set.Ioo l u\nh_subset : Set.Ioo l u ⊆ integrableExpSet X μ\nt : ℝ := min (z.re - l) (u - z.re) / 2\nh_pos : 0 < min (z.re - l) (u - z...
· exact .of_forall fun z ↦ by fun_prop
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Probability.Moments.Basic
{ "line": 246, "column": 6 }
{ "line": 246, "column": 14 }
{ "line": 246, "column": 15 }
[ { "pp": "case e_f\nΩ : Type u_1\nm : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nt α : ℝ\nx : Ω\n⊢ rexp (t * (α + X x)) = rexp (t * α) * rexp (t * X x)", "ppTerm": "?e_f", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "Real", "HMul.hMul", "...
[ "case e_f\nΩ : Type u_1\nm : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nt α : ℝ\nx : Ω\n⊢ rexp (t * α + t * X x) = rexp (t * α) * rexp (t * X x)" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Moments.Basic
{ "line": 297, "column": 30 }
{ "line": 297, "column": 38 }
{ "line": 297, "column": 39 }
[ { "pp": "Ω : Type u_1\nm : MeasurableSpace Ω\nμ : Measure Ω\nt : ℝ\nX Y : Ω → ℝ\nh_indep : X ⟂ᵢ[μ] Y\nhX : AEStronglyMeasurable (fun ω ↦ rexp (t * X ω)) μ\nhY : AEStronglyMeasurable (fun ω ↦ rexp (t * Y ω)) μ\n⊢ ∫ (x : Ω), rexp (t * (X x + Y x)) ∂μ = (∫ (x : Ω), rexp (t * X x) ∂μ) * ∫ (x : Ω), rexp (t * Y x) ∂μ...
[ "Ω : Type u_1\nm : MeasurableSpace Ω\nμ : Measure Ω\nt : ℝ\nX Y : Ω → ℝ\nh_indep : X ⟂ᵢ[μ] Y\nhX : AEStronglyMeasurable (fun ω ↦ rexp (t * X ω)) μ\nhY : AEStronglyMeasurable (fun ω ↦ rexp (t * Y ω)) μ\n⊢ ∫ (x : Ω), rexp (t * X x + t * Y x) ∂μ = (∫ (x : Ω), rexp (t * X x) ∂μ) * ∫ (x : Ω), rexp (t * Y x) ∂μ" ]
mul_add,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Probability.Moments.Basic
{ "line": 322, "column": 25 }
{ "line": 322, "column": 33 }
{ "line": 322, "column": 34 }
[ { "pp": "Ω : Type u_1\nm : MeasurableSpace Ω\nμ : Measure Ω\nt : ℝ\nX Y : Ω → ℝ\nh_int_X : AEStronglyMeasurable (fun ω ↦ rexp (t * X ω)) μ\nh_int_Y : AEStronglyMeasurable (fun ω ↦ rexp (t * Y ω)) μ\n⊢ AEStronglyMeasurable (fun ω ↦ rexp (t * (X ω + Y ω))) μ", "ppTerm": "?m.37", "assigned": true, "use...
[ "Ω : Type u_1\nm : MeasurableSpace Ω\nμ : Measure Ω\nt : ℝ\nX Y : Ω → ℝ\nh_int_X : AEStronglyMeasurable (fun ω ↦ rexp (t * X ω)) μ\nh_int_Y : AEStronglyMeasurable (fun ω ↦ rexp (t * Y ω)) μ\n⊢ AEStronglyMeasurable (fun ω ↦ rexp (t * X ω + t * Y ω)) μ" ]
mul_add,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Probability.Moments.IntegrableExpMul
{ "line": 167, "column": 53 }
{ "line": 167, "column": 63 }
{ "line": 167, "column": 64 }
[ { "pp": "case refine_2.inr\nΩ : Type u_1\nm : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nt v : ℝ\nht_int_pos : Integrable (fun ω ↦ rexp ((v + t) * X ω)) μ\nht_int_neg : Integrable (fun ω ↦ rexp ((v - t) * X ω)) μ\nh_int_add : Integrable (fun a ↦ rexp ((v + t) * X a) + rexp ((v - t) * X a)) μ\nω : Ω\nh_nonpos ...
[ "case refine_2.inr\nΩ : Type u_1\nm : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nt v : ℝ\nht_int_pos : Integrable (fun ω ↦ rexp ((v + t) * X ω)) μ\nht_int_neg : Integrable (fun ω ↦ rexp ((v - t) * X ω)) μ\nh_int_add : Integrable (fun a ↦ rexp ((v + t) * X a) + rexp ((v - t) * X a)) μ\nω : Ω\nh_nonpos : X ω ≤ 0\n⊢...
← mul_neg,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Moments.Basic
{ "line": 344, "column": 25 }
{ "line": 344, "column": 33 }
{ "line": 344, "column": 34 }
[ { "pp": "Ω : Type u_1\nm : MeasurableSpace Ω\nμ : Measure Ω\nt : ℝ\nX Y : Ω → ℝ\nh_indep : X ⟂ᵢ[μ] Y\nh_int_X : Integrable (fun ω ↦ rexp (t * X ω)) μ\nh_int_Y : Integrable (fun ω ↦ rexp (t * Y ω)) μ\n⊢ Integrable (fun ω ↦ rexp (t * (X ω + Y ω))) μ", "ppTerm": "?m.43", "assigned": true, "usedConstant...
[ "Ω : Type u_1\nm : MeasurableSpace Ω\nμ : Measure Ω\nt : ℝ\nX Y : Ω → ℝ\nh_indep : X ⟂ᵢ[μ] Y\nh_int_X : Integrable (fun ω ↦ rexp (t * X ω)) μ\nh_int_Y : Integrable (fun ω ↦ rexp (t * Y ω)) μ\n⊢ Integrable (fun ω ↦ rexp (t * X ω + t * Y ω)) μ" ]
mul_add,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Probability.Martingale.BorelCantelli
{ "line": 308, "column": 2 }
{ "line": 308, "column": 78 }
{ "line": 309, "column": 2 }
[ { "pp": "Ω : Type u_2\nm0 : MeasurableSpace Ω\nμ : Measure Ω\nℱ : Filtration ℕ m0\nf : ℕ → Ω → ℝ\nR : ℝ≥0\ninst✝ : IsFiniteMeasure μ\nhfmono : ∀ᵐ (ω : Ω) ∂μ, ∀ (n : ℕ), f n ω ≤ f (n + 1) ω\nhf : StronglyAdapted ℱ f\nhint : ∀ (n : ℕ), Integrable (f n) μ\nhbdd : ∀ᵐ (ω : Ω) ∂μ, ∀ (n : ℕ), ‖f (n + 1) ω - f n ω‖ ≤ ↑...
[ "Ω : Type u_2\nm0 : MeasurableSpace Ω\nμ : Measure Ω\nℱ : Filtration ℕ m0\nf : ℕ → Ω → ℝ\nR : ℝ≥0\ninst✝ : IsFiniteMeasure μ\nhfmono : ∀ᵐ (ω : Ω) ∂μ, ∀ (n : ℕ), f n ω ≤ f (n + 1) ω\nhf : StronglyAdapted ℱ f\nhint : ∀ (n : ℕ), Integrable (f n) μ\nhbdd : ∀ᵐ (ω : Ω) ∂μ, ∀ (n : ℕ), ‖f (n + 1) ω - f n ω‖ ≤ ↑R\nh₀ : ∀ᵐ (...
have h₁ := (martingale_martingalePart hf hint).ae_not_tendsto_atTop_atTop h₀
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Probability.Moments.IntegrableExpMul
{ "line": 295, "column": 4 }
{ "line": 295, "column": 31 }
{ "line": 296, "column": 4 }
[ { "pp": "case refine_2.refine_3\nΩ : Type u_1\nm : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nt v x : ℝ\nh_int_pos : Integrable (fun ω ↦ rexp ((v + t) * X ω)) μ\nh_int_neg : Integrable (fun ω ↦ rexp ((v - t) * X ω)) μ\nh_nonneg : 0 ≤ x\nhx : x < |t|\np : ℝ\nhp : 0 ≤ p\nht : t ≠ 0\nhX : AEMeasurable X μ\nh_le ...
[ "case refine_2.refine_3\nΩ : Type u_1\nm : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nt v x : ℝ\nh_int_pos : Integrable (fun ω ↦ rexp ((v + t) * X ω)) μ\nh_int_neg : Integrable (fun ω ↦ rexp ((v - t) * X ω)) μ\nh_nonneg : 0 ≤ x\nhx : x < |t|\np : ℝ\nhp : 0 ≤ p\nht : t ≠ 0\nhX : AEMeasurable X μ\nh_le : ∀ (a : Ω),...
refine (h_le ω).trans_eq ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Probability.Distributions.Gaussian.Real
{ "line": 363, "column": 2 }
{ "line": 363, "column": 26 }
{ "line": 364, "column": 2 }
[ { "pp": "μ : ℝ\nv : ℝ≥0\nc : ℝ\n⊢ Measure.map (fun x ↦ x / c) (gaussianReal μ v) = gaussianReal (μ / c) (v / NNReal.mk (c ^ 2) ⋯)", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Real.instIsOrderedRing", "Eq.mpr", "Real.partialOrder", "Real", "DivInvMonoid.toI...
[ "μ : ℝ\nv : ℝ≥0\nc : ℝ\n⊢ Measure.map (fun x ↦ x * c⁻¹) (gaussianReal μ v) = gaussianReal (μ * c⁻¹) (v * (NNReal.mk (c ^ 2) ⋯)⁻¹)" ]
simp_rw [div_eq_mul_inv]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.Probability.Moments.CovarianceBilinDual
{ "line": 228, "column": 4 }
{ "line": 228, "column": 29 }
{ "line": 229, "column": 4 }
[ { "pp": "E : Type u_1\ninst✝² : NormedAddCommGroup E\nmE : MeasurableSpace E\nμ : Measure E\ninst✝¹ : NormedSpace ℝ E\ninst✝ : OpensMeasurableSpace E\nL₁ L₂ : StrongDual ℝ E\nh : MemLp id 2 μ\n⊢ ∫ (x : E), ‖L₁‖ * ‖x‖ * ‖L₂‖ * ‖x‖ ∂μ = ‖L₁‖ * ‖L₂‖ * ∫ (x : E), ‖x‖ ^ 2 ∂μ", "ppTerm": "?m.217", "assigned":...
[ "E : Type u_1\ninst✝² : NormedAddCommGroup E\nmE : MeasurableSpace E\nμ : Measure E\ninst✝¹ : NormedSpace ℝ E\ninst✝ : OpensMeasurableSpace E\nL₁ L₂ : StrongDual ℝ E\nh : MemLp id 2 μ\n⊢ ∫ (x : E), ‖L₁‖ * ‖x‖ * ‖L₂‖ * ‖x‖ ∂μ = ∫ (a : E), ‖L₁‖ * ‖L₂‖ * ‖a‖ ^ 2 ∂μ" ]
rw [← integral_const_mul]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Probability.Distributions.Gaussian.CharFun
{ "line": 59, "column": 33 }
{ "line": 59, "column": 70 }
{ "line": 59, "column": 71 }
[ { "pp": "E : Type u_1\ninst✝⁶ : NormedAddCommGroup E\ninst✝⁵ : SecondCountableTopology E\ninst✝⁴ : CompleteSpace E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\nμ : Measure E\ninst✝¹ : NormedSpace ℝ E\ninst✝ : IsGaussian μ\nL : StrongDual ℝ E\n⊢ cexp ((∫ (x : E), ↑(L x) ∂μ) * I - ↑Var[⇑L; μ] / 2) =\n c...
[ "E : Type u_1\ninst✝⁶ : NormedAddCommGroup E\ninst✝⁵ : SecondCountableTopology E\ninst✝⁴ : CompleteSpace E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\nμ : Measure E\ninst✝¹ : NormedSpace ℝ E\ninst✝ : IsGaussian μ\nL : StrongDual ℝ E\n⊢ cexp ((∫ (x : E), ↑(L x) ∂μ) * I - ↑Var[⇑L; μ] / 2) = cexp (↑(L (∫ (x : ...
covarianceBilinDual_self_eq_variance,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Distributions.Gaussian.Fernique
{ "line": 111, "column": 11 }
{ "line": 113, "column": 23 }
{ "line": 115, "column": 0 }
[ { "pp": "E : Type u_1\ninst✝⁵ : NormedAddCommGroup E\ninst✝⁴ : NormedSpace ℝ E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\nμ : Measure E\ninst✝¹ : IsGaussian μ\ninst✝ : SecondCountableTopology E\nL : StrongDual ℝ E\n⊢ ∫ (x : E), L x ∂μ + ∫ (y : E), L y ∂Measure.map (⇑(ContinuousLinearEquiv.neg ℝ)) μ = 0...
[]
by rw [integral_map (by fun_prop) (by fun_prop)] simp [integral_neg]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Probability.Distributions.Gaussian.Multivariate
{ "line": 113, "column": 56 }
{ "line": 113, "column": 80 }
{ "line": 113, "column": 81 }
[ { "pp": "E : Type u_2\ninst✝⁴ : NormedAddCommGroup E\ninst✝³ : InnerProductSpace ℝ E\ninst✝² : FiniteDimensional ℝ E\ninst✝¹ : MeasurableSpace E\ninst✝ : BorelSpace E\nL : StrongDual ℝ E\n⊢ L (∫ (x : E), x ∂stdGaussian E) = 0", "ppTerm": "?m.54", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[ "E : Type u_2\ninst✝⁴ : NormedAddCommGroup E\ninst✝³ : InnerProductSpace ℝ E\ninst✝² : FiniteDimensional ℝ E\ninst✝¹ : MeasurableSpace E\ninst✝ : BorelSpace E\nL : StrongDual ℝ E\n⊢ L 0 = 0" ]
integral_id_stdGaussian,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Distributions.Gaussian.CharFun
{ "line": 177, "column": 58 }
{ "line": 177, "column": 85 }
{ "line": 177, "column": 85 }
[ { "pp": "E : Type u_1\ninst✝⁶ : NormedAddCommGroup E\ninst✝⁵ : SecondCountableTopology E\ninst✝⁴ : CompleteSpace E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\nμ : Measure E\ninst✝¹ : InnerProductSpace ℝ E\ninst✝ : IsFiniteMeasure μ\nm : E\nf : E →L[ℝ] E →L[ℝ] ℝ\nhf : f.toBilinForm.IsPosSemidef\nh : ∀ (t...
[]
simpa [g] using hf.nonneg _
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Probability.Distributions.Gaussian.CharFun
{ "line": 177, "column": 58 }
{ "line": 177, "column": 85 }
{ "line": 177, "column": 85 }
[ { "pp": "E : Type u_1\ninst✝⁶ : NormedAddCommGroup E\ninst✝⁵ : SecondCountableTopology E\ninst✝⁴ : CompleteSpace E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\nμ : Measure E\ninst✝¹ : InnerProductSpace ℝ E\ninst✝ : IsFiniteMeasure μ\nm : E\nf : E →L[ℝ] E →L[ℝ] ℝ\nhf : f.toBilinForm.IsPosSemidef\nh : ∀ (t...
[]
simpa [g] using hf.nonneg _
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Probability.Distributions.Gaussian.CharFun
{ "line": 177, "column": 58 }
{ "line": 177, "column": 85 }
{ "line": 177, "column": 85 }
[ { "pp": "E : Type u_1\ninst✝⁶ : NormedAddCommGroup E\ninst✝⁵ : SecondCountableTopology E\ninst✝⁴ : CompleteSpace E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\nμ : Measure E\ninst✝¹ : InnerProductSpace ℝ E\ninst✝ : IsFiniteMeasure μ\nm : E\nf : E →L[ℝ] E →L[ℝ] ℝ\nhf : f.toBilinForm.IsPosSemidef\nh : ∀ (t...
[]
simpa [g] using hf.nonneg _
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Probability.Independence.Process.Basic
{ "line": 62, "column": 34 }
{ "line": 62, "column": 37 }
{ "line": 62, "column": 38 }
[ { "pp": "S : Type u_1\nΩ : Type u_3\nmΩ : MeasurableSpace Ω\nα : Type u_4\nmα : MeasurableSpace α\nκ : Kernel α Ω\nP : Measure α\n𝓧 : S → Type u_5\n𝓨 : Type u_6\ninst✝¹ : (i : S) → MeasurableSpace (𝓧 i)\ninst✝ : MeasurableSpace 𝓨\nX X' : (i : S) → Ω → 𝓧 i\nY : Ω → 𝓨\nh1 : IndepFun (fun ω i ↦ X i ω) Y κ P\...
[ "S : Type u_1\nΩ : Type u_3\nmΩ : MeasurableSpace Ω\nα : Type u_4\nmα : MeasurableSpace α\nκ : Kernel α Ω\nP : Measure α\n𝓧 : S → Type u_5\n𝓨 : Type u_6\ninst✝¹ : (i : S) → MeasurableSpace (𝓧 i)\ninst✝ : MeasurableSpace 𝓨\nX X' : (i : S) → Ω → 𝓧 i\nY : Ω → 𝓨\nh1 : IndepFun (fun ω i ↦ X i ω) Y κ P\nh2 : ∀ (i :...
ha1
Lean.Elab.Tactic.evalIntro
ident
Mathlib.Probability.Independence.Process.Basic
{ "line": 229, "column": 32 }
{ "line": 229, "column": 35 }
{ "line": 229, "column": 36 }
[ { "pp": "S : Type u_1\nΩ : Type u_3\nmΩ : MeasurableSpace Ω\nα : Type u_4\nmα : MeasurableSpace α\nκ : Kernel α Ω\nP : Measure α\nT : S → Type u_5\n𝓧 : (i : S) → T i → Type u_6\ninst✝ : (i : S) → (j : T i) → MeasurableSpace (𝓧 i j)\nX X' : (i : S) → (j : T i) → Ω → 𝓧 i j\nh1 : iIndepFun (fun i ω j ↦ X i j ω)...
[ "S : Type u_1\nΩ : Type u_3\nmΩ : MeasurableSpace Ω\nα : Type u_4\nmα : MeasurableSpace α\nκ : Kernel α Ω\nP : Measure α\nT : S → Type u_5\n𝓧 : (i : S) → T i → Type u_6\ninst✝ : (i : S) → (j : T i) → MeasurableSpace (𝓧 i j)\nX X' : (i : S) → (j : T i) → Ω → 𝓧 i j\nh1 : iIndepFun (fun i ω j ↦ X i j ω) κ P\nh2 : ∀...
ha1
Lean.Elab.Tactic.evalIntro
ident
Mathlib.Probability.Independence.Process.HasIndepIncrements.IsGaussianProcess
{ "line": 80, "column": 6 }
{ "line": 80, "column": 45 }
{ "line": 80, "column": 46 }
[ { "pp": "case inr\nT : Type u_1\ninst✝¹ : LinearOrder T\nI : Finset T\ninst✝ : OrderBot T\ni j : Fin (#I + 1)\nhij : i ≤ j\nhi : i ≠ 0\n⊢ I.orderEmbOfFinWithBot i ≤ I.orderEmbOfFinWithBot j", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "Eq.mpr", "Finset.orderEmbOfFin", "...
[ "case inr\nT : Type u_1\ninst✝¹ : LinearOrder T\nI : Finset T\ninst✝ : OrderBot T\ni j : Fin (#I + 1)\nhij : i ≤ j\nhi : i ≠ 0\n⊢ (I.orderEmbOfFin ⋯) (i.pred hi) ≤ I.orderEmbOfFinWithBot j" ]
orderEmbOfFinWithBot_of_ne_zero I i hi,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Independence.Process.HasIndepIncrements.IsGaussianProcess
{ "line": 122, "column": 4 }
{ "line": 140, "column": 70 }
{ "line": 142, "column": 0 }
[ { "pp": "T : Type u_1\nΩ : Type u_2\nE : Type u_3\nmΩ : MeasurableSpace Ω\nP : Measure Ω\ninst✝⁷ : LinearOrder T\ninst✝⁶ : OrderBot T\ninst✝⁵ : NormedAddCommGroup E\ninst✝⁴ : NormedSpace ℝ E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\ninst✝¹ : SecondCountableTopology E\ninst✝ : CompleteSpace E\nX : T → ...
[]
have := (law ⊥).isProbabilityMeasure obtain rfl | hI := I.eq_empty_or_nonempty · -- If `I` is empty, there is nothing to say. exact .of_subsingleton -- Otherwise we know that `(X t₁, ..., X tₙ) = f (X t₁ - X ⊥, X t₂ - X t₁, ..., X tₙ - X tₙ₋₁)` -- almost surely (because `X ⊥ = 0` almost surely) ...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Probability.Independence.Process.HasIndepIncrements.IsGaussianProcess
{ "line": 122, "column": 4 }
{ "line": 140, "column": 70 }
{ "line": 142, "column": 0 }
[ { "pp": "T : Type u_1\nΩ : Type u_2\nE : Type u_3\nmΩ : MeasurableSpace Ω\nP : Measure Ω\ninst✝⁷ : LinearOrder T\ninst✝⁶ : OrderBot T\ninst✝⁵ : NormedAddCommGroup E\ninst✝⁴ : NormedSpace ℝ E\ninst✝³ : MeasurableSpace E\ninst✝² : BorelSpace E\ninst✝¹ : SecondCountableTopology E\ninst✝ : CompleteSpace E\nX : T → ...
[]
have := (law ⊥).isProbabilityMeasure obtain rfl | hI := I.eq_empty_or_nonempty · -- If `I` is empty, there is nothing to say. exact .of_subsingleton -- Otherwise we know that `(X t₁, ..., X tₙ) = f (X t₁ - X ⊥, X t₂ - X t₁, ..., X tₙ - X tₙ₋₁)` -- almost surely (because `X ⊥ = 0` almost surely) ...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Probability.Kernel.Disintegration.MeasurableStieltjes
{ "line": 338, "column": 10 }
{ "line": 338, "column": 13 }
{ "line": 338, "column": 13 }
[ { "pp": "α : Type u_1\nf : α → ℚ → ℝ\ninst✝ : MeasurableSpace α\nhf : IsMeasurableRatCDF f\na : α\nx : ℝ\nh' : ⨅ r, stieltjesFunctionAux f a ↑r = ⨅ r, stieltjesFunctionAux f a ↑↑r\nh'' : ⨅ r, stieltjesFunctionAux f a ↑↑r = ⨅ r, f a ↑r\n⊢ ContinuousWithinAt (stieltjesFunctionAux f a) (Ioi x) x ↔\n Tendsto (st...
[ "α : Type u_1\nf : α → ℚ → ℝ\ninst✝ : MeasurableSpace α\nhf : IsMeasurableRatCDF f\na : α\nx : ℝ\nh' : ⨅ r, stieltjesFunctionAux f a ↑r = ⨅ r, stieltjesFunctionAux f a ↑↑r\nh'' : ⨅ r, stieltjesFunctionAux f a ↑↑r = ⨅ r, f a ↑r\n⊢ ContinuousWithinAt (stieltjesFunctionAux f a) (Ioi x) x ↔\n Tendsto (stieltjesFunct...
h''
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Kernel.Disintegration.CDFToKernel
{ "line": 141, "column": 6 }
{ "line": 143, "column": 39 }
{ "line": 144, "column": 4 }
[ { "pp": "case e_f\nα : Type u_1\nβ : Type u_2\nmα : MeasurableSpace α\nmβ : MeasurableSpace β\nκ : Kernel α (β × ℝ)\nν : Kernel α β\nf : α × β → ℚ → ℝ\ninst✝ : IsFiniteKernel κ\nhf : IsRatCondKernelCDF f κ ν\na : α\nx : ℝ\ns : Set β\nhs : MeasurableSet s\nhρ_zero : ¬(ν a).restrict s = 0\nb : β\n⊢ (stieltjesOfMe...
[]
congr with y : 1 simp only [mem_Iic, mem_iInter, Subtype.forall] exact le_iff_forall_lt_rat_imp_le
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Probability.Kernel.Disintegration.CDFToKernel
{ "line": 141, "column": 6 }
{ "line": 143, "column": 39 }
{ "line": 144, "column": 4 }
[ { "pp": "case e_f\nα : Type u_1\nβ : Type u_2\nmα : MeasurableSpace α\nmβ : MeasurableSpace β\nκ : Kernel α (β × ℝ)\nν : Kernel α β\nf : α × β → ℚ → ℝ\ninst✝ : IsFiniteKernel κ\nhf : IsRatCondKernelCDF f κ ν\na : α\nx : ℝ\ns : Set β\nhs : MeasurableSet s\nhρ_zero : ¬(ν a).restrict s = 0\nb : β\n⊢ (stieltjesOfMe...
[]
congr with y : 1 simp only [mem_Iic, mem_iInter, Subtype.forall] exact le_iff_forall_lt_rat_imp_le
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Probability.Kernel.Disintegration.CondCDF
{ "line": 100, "column": 4 }
{ "line": 100, "column": 28 }
{ "line": 101, "column": 4 }
[ { "pp": "α : Type u_1\nmα : MeasurableSpace α\nρ : Measure (α × ℝ)\ninst✝ : IsFiniteMeasure ρ\ns : Set α\nhs : MeasurableSet s\nh_empty : ρ (s ×ˢ ∅) = 0\nh_neg : Tendsto (fun r ↦ ρ (s ×ˢ Iic ↑(-r))) atTop (𝓝 (ρ (⋂ r, s ×ˢ Iic ↑(-r))))\nh_inter_eq : ⋂ r, s ×ˢ Iic ↑(-r) = ⋂ r, s ×ˢ Iic ↑r\n⊢ Tendsto (fun r ↦ ρ (...
[ "α : Type u_1\nmα : MeasurableSpace α\nρ : Measure (α × ℝ)\ninst✝ : IsFiniteMeasure ρ\ns : Set α\nhs : MeasurableSet s\nh_empty : ρ (s ×ˢ ∅) = 0\nh_neg : Tendsto (fun r ↦ ρ (s ×ˢ Iic ↑(-r))) atTop (𝓝 (ρ (⋂ r, s ×ˢ Iic ↑r)))\nh_inter_eq : ⋂ r, s ×ˢ Iic ↑(-r) = ⋂ r, s ×ˢ Iic ↑r\n⊢ Tendsto (fun r ↦ ρ (s ×ˢ Iic ↑r)) a...
rw [h_inter_eq] at h_neg
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Probability.BrownianMotion.Basic
{ "line": 195, "column": 2 }
{ "line": 195, "column": 68 }
{ "line": 196, "column": 2 }
[ { "pp": "case refine_1\nΩ : Type u_1\nmΩ : MeasurableSpace Ω\nX : ℝ≥0 → Ω → ℝ\nP : Measure Ω\nlaw : ∀ (t : ℝ≥0), HasLaw (X t) (gaussianReal 0 t) P\nincr : HasIndepIncrements X P\nh0 : ∀ᵐ (ω : Ω) ∂P, X 0 ω = 0\n⊢ IsGaussianProcess X P", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ ...
[ "case refine_2\nΩ : Type u_1\nmΩ : MeasurableSpace Ω\nX : ℝ≥0 → Ω → ℝ\nP : Measure Ω\nlaw : ∀ (t : ℝ≥0), HasLaw (X t) (gaussianReal 0 t) P\nincr : HasIndepIncrements X P\nh0 : ∀ᵐ (ω : Ω) ∂P, X 0 ω = 0\nt : ℝ≥0\n⊢ ∫ (x : Ω), X t x ∂P = 0", "case refine_3\nΩ : Type u_1\nmΩ : MeasurableSpace Ω\nX : ℝ≥0 → Ω → ℝ\nP : ...
· exact incr.isGaussianProcess (fun t ↦ (law t).hasGaussianLaw) h0
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Probability.Kernel.Disintegration.CondCDF
{ "line": 155, "column": 4 }
{ "line": 155, "column": 26 }
{ "line": 157, "column": 0 }
[ { "pp": "α : Type u_1\nmα : MeasurableSpace α\nρ : Measure (α × ℝ)\nr : ℚ\ns : Set α\nhs : MeasurableSet s\ninst✝ : IsFiniteMeasure ρ\nthis : ∀ (r : ℚ), ∫⁻ (x : α) in s, preCDF ρ r x ∂ρ.fst = ∫⁻ (x : α) in s, (preCDF ρ r * 1) x ∂ρ.fst\n⊢ Measurable fun x ↦ 1", "ppTerm": "?m.73", "assigned": true, "u...
[]
exact measurable_const
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Probability.Kernel.Disintegration.CondCDF
{ "line": 189, "column": 2 }
{ "line": 189, "column": 72 }
{ "line": 191, "column": 0 }
[ { "pp": "α : Type u_1\nmα : MeasurableSpace α\nρ : Measure (α × ℝ)\nr : ℚ\ninst✝ : IsFiniteMeasure ρ\n⊢ ∫ (x : α), (preCDF ρ r x).toReal ∂ρ.fst = (ρ.IicSnd ↑r).real univ", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "MeasureTheory.Measure.IicSnd", "ProbabilityTheory.preCDF", ...
[]
rw [← setIntegral_univ, setIntegral_preCDF_fst ρ _ MeasurableSet.univ]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Probability.Kernel.Disintegration.CondCDF
{ "line": 189, "column": 2 }
{ "line": 189, "column": 72 }
{ "line": 191, "column": 0 }
[ { "pp": "α : Type u_1\nmα : MeasurableSpace α\nρ : Measure (α × ℝ)\nr : ℚ\ninst✝ : IsFiniteMeasure ρ\n⊢ ∫ (x : α), (preCDF ρ r x).toReal ∂ρ.fst = (ρ.IicSnd ↑r).real univ", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "MeasureTheory.Measure.IicSnd", "ProbabilityTheory.preCDF", ...
[]
rw [← setIntegral_univ, setIntegral_preCDF_fst ρ _ MeasurableSet.univ]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Probability.Kernel.Disintegration.CondCDF
{ "line": 189, "column": 2 }
{ "line": 189, "column": 72 }
{ "line": 191, "column": 0 }
[ { "pp": "α : Type u_1\nmα : MeasurableSpace α\nρ : Measure (α × ℝ)\nr : ℚ\ninst✝ : IsFiniteMeasure ρ\n⊢ ∫ (x : α), (preCDF ρ r x).toReal ∂ρ.fst = (ρ.IicSnd ↑r).real univ", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "MeasureTheory.Measure.IicSnd", "ProbabilityTheory.preCDF", ...
[]
rw [← setIntegral_univ, setIntegral_preCDF_fst ρ _ MeasurableSet.univ]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Probability.Distributions.Gaussian.HasGaussianLaw.Independence
{ "line": 255, "column": 78 }
{ "line": 255, "column": 87 }
{ "line": 255, "column": 88 }
[ { "pp": "case refine_2\nΩ : Type u_1\nmΩ : MeasurableSpace Ω\nP : Measure Ω\nι : Type u_2\ninst✝¹ : Finite ι\nκ : ι → Type u_4\ninst✝ : ∀ (i : ι), Finite (κ i)\nX : (i : ι) → κ i → Ω → ℝ\nhX : HasGaussianLaw (fun ω i j ↦ X i j ω) P\nh : ∀ (i j : ι), i ≠ j → ∀ (k : κ i) (l : κ j), cov[X i k, X j l; P] = 0\nthis✝...
[ "case refine_2\nΩ : Type u_1\nmΩ : MeasurableSpace Ω\nP : Measure Ω\nι : Type u_2\ninst✝¹ : Finite ι\nκ : ι → Type u_4\ninst✝ : ∀ (i : ι), Finite (κ i)\nX : (i : ι) → κ i → Ω → ℝ\nhX : HasGaussianLaw (fun ω i j ↦ X i j ω) P\nh : ∀ (i j : ι), i ≠ j → ∀ (k : κ i) (l : κ j), cov[X i k, X j l; P] = 0\nthis✝² : IsProbab...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Kernel.Disintegration.CDFToKernel
{ "line": 515, "column": 4 }
{ "line": 516, "column": 45 }
{ "line": 517, "column": 2 }
[ { "pp": "case basic\nα : Type u_1\nβ : Type u_2\nmα : MeasurableSpace α\nmβ : MeasurableSpace β\nκ : Kernel α (β × ℝ)\nν : Kernel α β\nf : α × β → StieltjesFunction ℝ\ninst✝ : IsFiniteKernel κ\nhf : IsCondKernelCDF f κ ν\na : α\ns : Set β\nhs : MeasurableSet s\nt✝ t : Set ℝ\nht : t ∈ range Iic\n⊢ ∫⁻ (b : β) in ...
[]
obtain ⟨q, rfl⟩ := ht exact setLIntegral_toKernel_Iic hf a _ hs
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Probability.Kernel.Disintegration.CDFToKernel
{ "line": 515, "column": 4 }
{ "line": 516, "column": 45 }
{ "line": 517, "column": 2 }
[ { "pp": "case basic\nα : Type u_1\nβ : Type u_2\nmα : MeasurableSpace α\nmβ : MeasurableSpace β\nκ : Kernel α (β × ℝ)\nν : Kernel α β\nf : α × β → StieltjesFunction ℝ\ninst✝ : IsFiniteKernel κ\nhf : IsCondKernelCDF f κ ν\na : α\ns : Set β\nhs : MeasurableSet s\nt✝ t : Set ℝ\nht : t ∈ range Iic\n⊢ ∫⁻ (b : β) in ...
[]
obtain ⟨q, rfl⟩ := ht exact setLIntegral_toKernel_Iic hf a _ hs
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Probability.CentralLimitTheorem
{ "line": 128, "column": 32 }
{ "line": 152, "column": 18 }
{ "line": 154, "column": 0 }
[ { "pp": "Ω : Type u_1\nΩ' : Type u_2\nmΩ : MeasurableSpace Ω\nmΩ' : MeasurableSpace Ω'\nP : Measure Ω\nP' : Measure Ω'\nX : ℕ → Ω → ℝ\nY : Ω' → ℝ\ninst✝¹ : IsProbabilityMeasure P\ninst✝ : IsProbabilityMeasure P'\nhY : HasLaw Y (gaussianReal 0 Var[X 0; P].toNNReal) P'\nhX : MemLp (X 0) 2 P\nhindep : iIndepFun X ...
[]
by obtain h | h := eq_or_ne Var[X 0; P] 0 · have : ∀ᵐ ω ∂P, ∀ n, X n ω = P[X 0] := by refine ae_all_iff.2 fun n ↦ ?_ convert! (ae_eq_integral_of_variance_eq_zero ((hident n).memLp_iff.2 hX)) ?_ using 3 · rw [(hident n).integral_eq] · rwa [(hident n).variance_eq] have mX (n : ℕ) := (hiden...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Probability.Distributions.Gaussian.HasGaussianLaw.Independence
{ "line": 321, "column": 21 }
{ "line": 321, "column": 30 }
{ "line": 321, "column": 31 }
[ { "pp": "Ω : Type u_1\nmΩ : MeasurableSpace Ω\nP : Measure Ω\nE : Type u_2\nF : Type u_3\ninst✝¹¹ : NormedAddCommGroup E\ninst✝¹⁰ : MeasurableSpace E\ninst✝⁹ : CompleteSpace E\ninst✝⁸ : BorelSpace E\ninst✝⁷ : SecondCountableTopology E\ninst✝⁶ : NormedAddCommGroup F\ninst✝⁵ : MeasurableSpace F\ninst✝⁴ : Complete...
[ "Ω : Type u_1\nmΩ : MeasurableSpace Ω\nP : Measure Ω\nE : Type u_2\nF : Type u_3\ninst✝¹¹ : NormedAddCommGroup E\ninst✝¹⁰ : MeasurableSpace E\ninst✝⁹ : CompleteSpace E\ninst✝⁸ : BorelSpace E\ninst✝⁷ : SecondCountableTopology E\ninst✝⁶ : NormedAddCommGroup F\ninst✝⁵ : MeasurableSpace F\ninst✝⁴ : CompleteSpace F\nins...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Kernel.Disintegration.StandardBorel
{ "line": 203, "column": 2 }
{ "line": 203, "column": 19 }
{ "line": 205, "column": 0 }
[ { "pp": "α : Type u_1\nmα : MeasurableSpace α\nΩ : Type u_5\ninst✝² : Nonempty Ω\ninst✝¹ : MeasurableSpace Ω\ninst✝ : StandardBorelSpace Ω\nη : Kernel α ℝ\na : α\n⊢ Measure.comap (embeddingReal Ω)\n (if (η a) (range (embeddingReal Ω))ᶜ = 0 then η a else Measure.dirac (Exists.choose ⋯)) =\n if (η a) (ran...
[]
split_ifs <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Probability.Kernel.Disintegration.CDFToKernel
{ "line": 605, "column": 14 }
{ "line": 605, "column": 82 }
{ "line": 605, "column": 82 }
[ { "pp": "case e_f\nα : Type u_1\nβ : Type u_2\nmα : MeasurableSpace α\nmβ : MeasurableSpace β\nκ : Kernel α (β × ℝ)\nν : Kernel α β\nf : α × β → StieltjesFunction ℝ\ninst✝ : IsFiniteKernel κ\nhf : IsCondKernelCDF f κ ν\na : α\ns : Set (β × ℝ)\nf' : ℕ → Set (β × ℝ)\nhf_disj : Pairwise (Disjoint on f')\nhf_meas :...
[ "case e_f\nα : Type u_1\nβ : Type u_2\nmα : MeasurableSpace α\nmβ : MeasurableSpace β\nκ : Kernel α (β × ℝ)\nν : Kernel α β\nf : α × β → StieltjesFunction ℝ\ninst✝ : IsFiniteKernel κ\nhf : IsCondKernelCDF f κ ν\na : α\ns : Set (β × ℝ)\nf' : ℕ → Set (β × ℝ)\nhf_disj : Pairwise (Disjoint on f')\nhf_meas : ∀ (i : ℕ), ...
measure_iUnion (h_disj x) fun i ↦ measurable_prodMk_left (hf_meas i)
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Distributions.Gaussian.HasGaussianLaw.Independence
{ "line": 352, "column": 2 }
{ "line": 353, "column": 56 }
{ "line": 354, "column": 2 }
[ { "pp": "case refine_1\nΩ : Type u_1\nmΩ : MeasurableSpace Ω\nP : Measure Ω\nι : Type u_4\nκ : Type u_5\ninst✝¹ : Finite ι\ninst✝ : Finite κ\nX : ι → Ω → ℝ\nY : κ → Ω → ℝ\nhXY : HasGaussianLaw (fun ω ↦ (fun i ↦ X i ω, fun j ↦ Y j ω)) P\nh : ∀ (i : ι) (j : κ), cov[X i, Y j; P] = 0\nthis✝¹ : IsProbabilityMeasure ...
[ "case refine_2\nΩ : Type u_1\nmΩ : MeasurableSpace Ω\nP : Measure Ω\nι : Type u_4\nκ : Type u_5\ninst✝¹ : Finite ι\ninst✝ : Finite κ\nX : ι → Ω → ℝ\nY : κ → Ω → ℝ\nhXY : HasGaussianLaw (fun ω ↦ (fun i ↦ X i ω, fun j ↦ Y j ω)) P\nh : ∀ (i : ι) (j : κ), cov[X i, Y j; P] = 0\nthis✝¹ : IsProbabilityMeasure P\nhX : (fun...
· exact hXY.map_equiv (.prodCongr (PiLp.continuousLinearEquiv 2 ℝ (fun _ ↦ ℝ)).symm (PiLp.continuousLinearEquiv 2 ℝ (fun _ ↦ ℝ)).symm)
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Probability.Distributions.Gaussian.HasGaussianLaw.Independence
{ "line": 360, "column": 66 }
{ "line": 360, "column": 75 }
{ "line": 360, "column": 76 }
[ { "pp": "case refine_2\nΩ : Type u_1\nmΩ : MeasurableSpace Ω\nP : Measure Ω\nι : Type u_4\nκ : Type u_5\ninst✝¹ : Finite ι\ninst✝ : Finite κ\nX : ι → Ω → ℝ\nY : κ → Ω → ℝ\nhXY : HasGaussianLaw (fun ω ↦ (fun i ↦ X i ω, fun j ↦ Y j ω)) P\nh : ∀ (i : ι) (j : κ), cov[X i, Y j; P] = 0\nthis✝¹ : IsProbabilityMeasure ...
[ "case refine_2\nΩ : Type u_1\nmΩ : MeasurableSpace Ω\nP : Measure Ω\nι : Type u_4\nκ : Type u_5\ninst✝¹ : Finite ι\ninst✝ : Finite κ\nX : ι → Ω → ℝ\nY : κ → Ω → ℝ\nhXY : HasGaussianLaw (fun ω ↦ (fun i ↦ X i ω, fun j ↦ Y j ω)) P\nh : ∀ (i : ι) (j : κ), cov[X i, Y j; P] = 0\nthis✝¹ : IsProbabilityMeasure P\nhX : (fun...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Probability.Kernel.CondDistrib
{ "line": 77, "column": 2 }
{ "line": 79, "column": 38 }
{ "line": 81, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nΩ : Type u_3\ninst✝⁴ : MeasurableSpace Ω\ninst✝³ : StandardBorelSpace Ω\ninst✝² : Nonempty Ω\nmα : MeasurableSpace α\nμ : Measure α\ninst✝¹ : IsFiniteMeasure μ\nX : α → β\nY : α → Ω\nmβ : MeasurableSpace β\ninst✝ : MeasurableSingletonClass β\nhX : Measurable X\nhY : Measurab...
[]
rw [condDistrib, Measure.condKernel_apply_of_ne_zero _ s] · rw [Measure.fst_map_prodMk hX hY] · rwa [Measure.fst_map_prodMk hX hY]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Probability.Kernel.CondDistrib
{ "line": 77, "column": 2 }
{ "line": 79, "column": 38 }
{ "line": 81, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nΩ : Type u_3\ninst✝⁴ : MeasurableSpace Ω\ninst✝³ : StandardBorelSpace Ω\ninst✝² : Nonempty Ω\nmα : MeasurableSpace α\nμ : Measure α\ninst✝¹ : IsFiniteMeasure μ\nX : α → β\nY : α → Ω\nmβ : MeasurableSpace β\ninst✝ : MeasurableSingletonClass β\nhX : Measurable X\nhY : Measurab...
[]
rw [condDistrib, Measure.condKernel_apply_of_ne_zero _ s] · rw [Measure.fst_map_prodMk hX hY] · rwa [Measure.fst_map_prodMk hX hY]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Probability.Kernel.CondDistrib
{ "line": 94, "column": 45 }
{ "line": 94, "column": 59 }
{ "line": 96, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nΩ : Type u_3\ninst✝³ : MeasurableSpace Ω\ninst✝² : StandardBorelSpace Ω\ninst✝¹ : Nonempty Ω\nmα : MeasurableSpace α\nμ : Measure α\ninst✝ : IsFiniteMeasure μ\nX : α → β\nY : α → Ω\nmβ : MeasurableSpace β\nX' : α → β\nY' : α → Ω\nhY : Y =ᵐ[μ] Y'\nhX : X =ᵐ[μ] X'\na : α\nha :...
[]
by rw [ha, hb]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Probability.Kernel.Integral
{ "line": 111, "column": 29 }
{ "line": 111, "column": 46 }
{ "line": 113, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nmα : MeasurableSpace α\nmβ : MeasurableSpace β\nκ : Kernel α β\nE : Type u_3\ninst✝² : NormedAddCommGroup E\ninst✝¹ : NormedSpace ℝ E\nη : Kernel α β\ns : Set α\nhs : MeasurableSet s\ninst✝ : DecidablePred fun x ↦ x ∈ s\na : α\ng : β → E\n⊢ (∫ (b : β), g b ∂if a ∈ s then κ a...
[]
split_ifs <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Probability.Kernel.Integral
{ "line": 116, "column": 29 }
{ "line": 116, "column": 46 }
{ "line": 118, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nmα : MeasurableSpace α\nmβ : MeasurableSpace β\nκ : Kernel α β\nE : Type u_3\ninst✝² : NormedAddCommGroup E\ninst✝¹ : NormedSpace ℝ E\nη : Kernel α β\ns : Set α\nhs : MeasurableSet s\ninst✝ : DecidablePred fun x ↦ x ∈ s\na : α\ng : β → E\nt : Set β\n⊢ (∫ (b : β) in t, g b ∂i...
[]
split_ifs <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Probability.CondVar
{ "line": 145, "column": 6 }
{ "line": 145, "column": 85 }
{ "line": 146, "column": 6 }
[ { "pp": "Ω : Type u_1\nm₀ m : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nhm : m ≤ m₀\ninst✝ : IsProbabilityMeasure μ\nhX : MemLp X 2 μ\n⊢ ∫ (x : Ω), (μ[X ^ 2 | m] - μ[X | m] ^ 2) x ∂μ + (∫ (x : Ω), (μ[X | m] ^ 2) x ∂μ - (∫ (x : Ω), μ[X | m] x ∂μ) ^ 2) =\n ∫ (x : Ω), (X ^ 2) x ∂μ - ∫ (x : Ω), (μ[X | m] ^ 2)...
[ "Ω : Type u_1\nm₀ m : MeasurableSpace Ω\nX : Ω → ℝ\nμ : Measure Ω\nhm : m ≤ m₀\ninst✝ : IsProbabilityMeasure μ\nhX : MemLp X 2 μ\n⊢ Integrable (μ[X | m] ^ 2) μ" ]
rw [integral_sub' integrable_condExp, integral_condExp hm, integral_condExp hm]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq