Context
stringlengths
57
6.04k
file_name
stringlengths
21
79
start
int64
14
1.49k
end
int64
18
1.5k
theorem
stringlengths
25
1.55k
proof
stringlengths
5
7.36k
num_lines
int64
1
150
complexity_score
float64
2.72
139,370,958,066,637,970,000,000,000,000,000,000,000,000,000,000,000,000,000B
diff_level
int64
0
2
file_diff_level
float64
0
2
theorem_same_file
int64
1
32
rank_file
int64
0
2.51k
import Mathlib.Analysis.Convex.Between import Mathlib.MeasureTheory.Constructions.BorelSpace.Basic import Mathlib.MeasureTheory.Measure.Lebesgue.Basic import Mathlib.Topology.MetricSpace.Holder import Mathlib.Topology.MetricSpace.MetricSeparated #align_import measure_theory.measure.hausdorff from "leanprover-communit...
Mathlib/MeasureTheory/Measure/Hausdorff.lean
286
290
theorem tendsto_pre (m : Set X β†’ ℝβ‰₯0∞) (s : Set X) : Tendsto (fun r => pre m r s) (𝓝[>] 0) (𝓝 <| mkMetric' m s) := by
rw [← map_coe_Ioi_atBot, tendsto_map'_iff] simp only [mkMetric', OuterMeasure.iSup_apply, iSup_subtype'] exact tendsto_atBot_iSup fun r r' hr => mono_pre _ hr _
3
20.085537
1
1.428571
7
1,520
import Mathlib.Analysis.Convex.Between import Mathlib.MeasureTheory.Constructions.BorelSpace.Basic import Mathlib.MeasureTheory.Measure.Lebesgue.Basic import Mathlib.Topology.MetricSpace.Holder import Mathlib.Topology.MetricSpace.MetricSeparated #align_import measure_theory.measure.hausdorff from "leanprover-communit...
Mathlib/MeasureTheory/Measure/Hausdorff.lean
293
297
theorem tendsto_pre_nat (m : Set X β†’ ℝβ‰₯0∞) (s : Set X) : Tendsto (fun n : β„• => pre m n⁻¹ s) atTop (𝓝 <| mkMetric' m s) := by
refine (tendsto_pre m s).comp (tendsto_inf.2 ⟨ENNReal.tendsto_inv_nat_nhds_zero, ?_⟩) refine tendsto_principal.2 (eventually_of_forall fun n => ?_) simp
3
20.085537
1
1.428571
7
1,520
import Mathlib.Analysis.Convex.Between import Mathlib.MeasureTheory.Constructions.BorelSpace.Basic import Mathlib.MeasureTheory.Measure.Lebesgue.Basic import Mathlib.Topology.MetricSpace.Holder import Mathlib.Topology.MetricSpace.MetricSeparated #align_import measure_theory.measure.hausdorff from "leanprover-communit...
Mathlib/MeasureTheory/Measure/Hausdorff.lean
300
304
theorem eq_iSup_nat (m : Set X β†’ ℝβ‰₯0∞) : mkMetric' m = ⨆ n : β„•, mkMetric'.pre m n⁻¹ := by
ext1 s rw [iSup_apply] refine tendsto_nhds_unique (mkMetric'.tendsto_pre_nat m s) (tendsto_atTop_iSup fun k l hkl => mkMetric'.mono_pre_nat m hkl s)
4
54.59815
2
1.428571
7
1,520
import Mathlib.Analysis.Convex.Between import Mathlib.MeasureTheory.Constructions.BorelSpace.Basic import Mathlib.MeasureTheory.Measure.Lebesgue.Basic import Mathlib.Topology.MetricSpace.Holder import Mathlib.Topology.MetricSpace.MetricSeparated #align_import measure_theory.measure.hausdorff from "leanprover-communit...
Mathlib/MeasureTheory/Measure/Hausdorff.lean
309
315
theorem trim_pre [MeasurableSpace X] [OpensMeasurableSpace X] (m : Set X β†’ ℝβ‰₯0∞) (hcl : βˆ€ s, m (closure s) = m s) (r : ℝβ‰₯0∞) : (pre m r).trim = pre m r := by
refine le_antisymm (le_pre.2 fun s hs => ?_) (le_trim _) rw [trim_eq_iInf] refine iInf_le_of_le (closure s) <| iInf_le_of_le subset_closure <| iInf_le_of_le measurableSet_closure ((pre_le ?_).trans_eq (hcl _)) rwa [diam_closure]
5
148.413159
2
1.428571
7
1,520
import Mathlib.SetTheory.Game.State #align_import set_theory.game.domineering from "leanprover-community/mathlib"@"b134b2f5cf6dd25d4bbfd3c498b6e36c11a17225" namespace SetTheory namespace PGame namespace Domineering open Function @[simps!] def shiftUp : β„€ Γ— β„€ ≃ β„€ Γ— β„€ := (Equiv.refl β„€).prodCongr (Equiv.addRig...
Mathlib/SetTheory/Game/Domineering.lean
79
83
theorem fst_pred_mem_erase_of_mem_right {b : Board} {m : β„€ Γ— β„€} (h : m ∈ right b) : (m.1 - 1, m.2) ∈ b.erase m := by
rw [mem_right] at h apply Finset.mem_erase_of_ne_of_mem _ h.2 exact ne_of_apply_ne Prod.fst (pred_ne_self m.1)
3
20.085537
1
1.428571
7
1,521
import Mathlib.SetTheory.Game.State #align_import set_theory.game.domineering from "leanprover-community/mathlib"@"b134b2f5cf6dd25d4bbfd3c498b6e36c11a17225" namespace SetTheory namespace PGame namespace Domineering open Function @[simps!] def shiftUp : β„€ Γ— β„€ ≃ β„€ Γ— β„€ := (Equiv.refl β„€).prodCongr (Equiv.addRig...
Mathlib/SetTheory/Game/Domineering.lean
86
90
theorem snd_pred_mem_erase_of_mem_left {b : Board} {m : β„€ Γ— β„€} (h : m ∈ left b) : (m.1, m.2 - 1) ∈ b.erase m := by
rw [mem_left] at h apply Finset.mem_erase_of_ne_of_mem _ h.2 exact ne_of_apply_ne Prod.snd (pred_ne_self m.2)
3
20.085537
1
1.428571
7
1,521
import Mathlib.SetTheory.Game.State #align_import set_theory.game.domineering from "leanprover-community/mathlib"@"b134b2f5cf6dd25d4bbfd3c498b6e36c11a17225" namespace SetTheory namespace PGame namespace Domineering open Function @[simps!] def shiftUp : β„€ Γ— β„€ ≃ β„€ Γ— β„€ := (Equiv.refl β„€).prodCongr (Equiv.addRig...
Mathlib/SetTheory/Game/Domineering.lean
93
98
theorem card_of_mem_left {b : Board} {m : β„€ Γ— β„€} (h : m ∈ left b) : 2 ≀ Finset.card b := by
have w₁ : m ∈ b := (Finset.mem_inter.1 h).1 have wβ‚‚ : (m.1, m.2 - 1) ∈ b.erase m := snd_pred_mem_erase_of_mem_left h have i₁ := Finset.card_erase_lt_of_mem w₁ have iβ‚‚ := Nat.lt_of_le_of_lt (Nat.zero_le _) (Finset.card_erase_lt_of_mem wβ‚‚) exact Nat.lt_of_le_of_lt iβ‚‚ i₁
5
148.413159
2
1.428571
7
1,521
import Mathlib.SetTheory.Game.State #align_import set_theory.game.domineering from "leanprover-community/mathlib"@"b134b2f5cf6dd25d4bbfd3c498b6e36c11a17225" namespace SetTheory namespace PGame namespace Domineering open Function @[simps!] def shiftUp : β„€ Γ— β„€ ≃ β„€ Γ— β„€ := (Equiv.refl β„€).prodCongr (Equiv.addRig...
Mathlib/SetTheory/Game/Domineering.lean
101
106
theorem card_of_mem_right {b : Board} {m : β„€ Γ— β„€} (h : m ∈ right b) : 2 ≀ Finset.card b := by
have w₁ : m ∈ b := (Finset.mem_inter.1 h).1 have wβ‚‚ := fst_pred_mem_erase_of_mem_right h have i₁ := Finset.card_erase_lt_of_mem w₁ have iβ‚‚ := Nat.lt_of_le_of_lt (Nat.zero_le _) (Finset.card_erase_lt_of_mem wβ‚‚) exact Nat.lt_of_le_of_lt iβ‚‚ i₁
5
148.413159
2
1.428571
7
1,521
import Mathlib.SetTheory.Game.State #align_import set_theory.game.domineering from "leanprover-community/mathlib"@"b134b2f5cf6dd25d4bbfd3c498b6e36c11a17225" namespace SetTheory namespace PGame namespace Domineering open Function @[simps!] def shiftUp : β„€ Γ— β„€ ≃ β„€ Γ— β„€ := (Equiv.refl β„€).prodCongr (Equiv.addRig...
Mathlib/SetTheory/Game/Domineering.lean
109
114
theorem moveLeft_card {b : Board} {m : β„€ Γ— β„€} (h : m ∈ left b) : Finset.card (moveLeft b m) + 2 = Finset.card b := by
dsimp [moveLeft] rw [Finset.card_erase_of_mem (snd_pred_mem_erase_of_mem_left h)] rw [Finset.card_erase_of_mem (Finset.mem_of_mem_inter_left h)] exact tsub_add_cancel_of_le (card_of_mem_left h)
4
54.59815
2
1.428571
7
1,521
import Mathlib.SetTheory.Game.State #align_import set_theory.game.domineering from "leanprover-community/mathlib"@"b134b2f5cf6dd25d4bbfd3c498b6e36c11a17225" namespace SetTheory namespace PGame namespace Domineering open Function @[simps!] def shiftUp : β„€ Γ— β„€ ≃ β„€ Γ— β„€ := (Equiv.refl β„€).prodCongr (Equiv.addRig...
Mathlib/SetTheory/Game/Domineering.lean
117
122
theorem moveRight_card {b : Board} {m : β„€ Γ— β„€} (h : m ∈ right b) : Finset.card (moveRight b m) + 2 = Finset.card b := by
dsimp [moveRight] rw [Finset.card_erase_of_mem (fst_pred_mem_erase_of_mem_right h)] rw [Finset.card_erase_of_mem (Finset.mem_of_mem_inter_left h)] exact tsub_add_cancel_of_le (card_of_mem_right h)
4
54.59815
2
1.428571
7
1,521
import Mathlib.SetTheory.Game.State #align_import set_theory.game.domineering from "leanprover-community/mathlib"@"b134b2f5cf6dd25d4bbfd3c498b6e36c11a17225" namespace SetTheory namespace PGame namespace Domineering open Function @[simps!] def shiftUp : β„€ Γ— β„€ ≃ β„€ Γ— β„€ := (Equiv.refl β„€).prodCongr (Equiv.addRig...
Mathlib/SetTheory/Game/Domineering.lean
125
126
theorem moveLeft_smaller {b : Board} {m : β„€ Γ— β„€} (h : m ∈ left b) : Finset.card (moveLeft b m) / 2 < Finset.card b / 2 := by
simp [← moveLeft_card h, lt_add_one]
1
2.718282
0
1.428571
7
1,521
import Mathlib.Algebra.Order.Group.TypeTags import Mathlib.FieldTheory.RatFunc.Degree import Mathlib.RingTheory.DedekindDomain.IntegralClosure import Mathlib.RingTheory.IntegrallyClosed import Mathlib.Topology.Algebra.ValuedField #align_import number_theory.function_field from "leanprover-community/mathlib"@"70fd9563...
Mathlib/NumberTheory/FunctionField.lean
62
80
theorem functionField_iff (Fqt : Type*) [Field Fqt] [Algebra Fq[X] Fqt] [IsFractionRing Fq[X] Fqt] [Algebra (RatFunc Fq) F] [Algebra Fqt F] [Algebra Fq[X] F] [IsScalarTower Fq[X] Fqt F] [IsScalarTower Fq[X] (RatFunc Fq) F] : FunctionField Fq F ↔ FiniteDimensional Fqt F := by
let e := IsLocalization.algEquiv Fq[X]⁰ (RatFunc Fq) Fqt have : βˆ€ (c) (x : F), e c β€’ x = c β€’ x := by intro c x rw [Algebra.smul_def, Algebra.smul_def] congr refine congr_fun (f := fun c => algebraMap Fqt F (e c)) ?_ c -- Porting note: Added `(f := _)` refine IsLocalization.ext (nonZeroDivisors ...
15
3,269,017.372472
2
1.428571
7
1,522
import Mathlib.Algebra.Order.Group.TypeTags import Mathlib.FieldTheory.RatFunc.Degree import Mathlib.RingTheory.DedekindDomain.IntegralClosure import Mathlib.RingTheory.IntegrallyClosed import Mathlib.Topology.Algebra.ValuedField #align_import number_theory.function_field from "leanprover-community/mathlib"@"70fd9563...
Mathlib/NumberTheory/FunctionField.lean
83
86
theorem algebraMap_injective [Algebra Fq[X] F] [Algebra (RatFunc Fq) F] [IsScalarTower Fq[X] (RatFunc Fq) F] : Function.Injective (⇑(algebraMap Fq[X] F)) := by
rw [IsScalarTower.algebraMap_eq Fq[X] (RatFunc Fq) F] exact (algebraMap (RatFunc Fq) F).injective.comp (IsFractionRing.injective Fq[X] (RatFunc Fq))
2
7.389056
1
1.428571
7
1,522
import Mathlib.Algebra.Order.Group.TypeTags import Mathlib.FieldTheory.RatFunc.Degree import Mathlib.RingTheory.DedekindDomain.IntegralClosure import Mathlib.RingTheory.IntegrallyClosed import Mathlib.Topology.Algebra.ValuedField #align_import number_theory.function_field from "leanprover-community/mathlib"@"70fd9563...
Mathlib/NumberTheory/FunctionField.lean
113
121
theorem algebraMap_injective : Function.Injective (⇑(algebraMap Fq[X] (ringOfIntegers Fq F))) := by
have hinj : Function.Injective (⇑(algebraMap Fq[X] F)) := by rw [IsScalarTower.algebraMap_eq Fq[X] (RatFunc Fq) F] exact (algebraMap (RatFunc Fq) F).injective.comp (IsFractionRing.injective Fq[X] (RatFunc Fq)) rw [injective_iff_map_eq_zero (algebraMap Fq[X] (β†₯(ringOfIntegers Fq F)))] intro p hp rw [← S...
8
2,980.957987
2
1.428571
7
1,522
import Mathlib.Algebra.Order.Group.TypeTags import Mathlib.FieldTheory.RatFunc.Degree import Mathlib.RingTheory.DedekindDomain.IntegralClosure import Mathlib.RingTheory.IntegrallyClosed import Mathlib.Topology.Algebra.ValuedField #align_import number_theory.function_field from "leanprover-community/mathlib"@"70fd9563...
Mathlib/NumberTheory/FunctionField.lean
124
127
theorem not_isField : Β¬IsField (ringOfIntegers Fq F) := by
simpa [← (IsIntegralClosure.isIntegral_algebra Fq[X] F).isField_iff_isField (algebraMap_injective Fq F)] using Polynomial.not_isField Fq
3
20.085537
1
1.428571
7
1,522
import Mathlib.Algebra.Order.Group.TypeTags import Mathlib.FieldTheory.RatFunc.Degree import Mathlib.RingTheory.DedekindDomain.IntegralClosure import Mathlib.RingTheory.IntegrallyClosed import Mathlib.Topology.Algebra.ValuedField #align_import number_theory.function_field from "leanprover-community/mathlib"@"70fd9563...
Mathlib/NumberTheory/FunctionField.lean
168
176
theorem InftyValuation.map_mul' (x y : RatFunc Fq) : inftyValuationDef Fq (x * y) = inftyValuationDef Fq x * inftyValuationDef Fq y := by
rw [inftyValuationDef, inftyValuationDef, inftyValuationDef] by_cases hx : x = 0 Β· rw [hx, zero_mul, if_pos (Eq.refl _), zero_mul] Β· by_cases hy : y = 0 Β· rw [hy, mul_zero, if_pos (Eq.refl _), mul_zero] Β· rw [if_neg hx, if_neg hy, if_neg (mul_ne_zero hx hy), ← WithZero.coe_mul, WithZero.coe_inj, ...
7
1,096.633158
2
1.428571
7
1,522
import Mathlib.Algebra.Order.Group.TypeTags import Mathlib.FieldTheory.RatFunc.Degree import Mathlib.RingTheory.DedekindDomain.IntegralClosure import Mathlib.RingTheory.IntegrallyClosed import Mathlib.Topology.Algebra.ValuedField #align_import number_theory.function_field from "leanprover-community/mathlib"@"70fd9563...
Mathlib/NumberTheory/FunctionField.lean
179
195
theorem InftyValuation.map_add_le_max' (x y : RatFunc Fq) : inftyValuationDef Fq (x + y) ≀ max (inftyValuationDef Fq x) (inftyValuationDef Fq y) := by
by_cases hx : x = 0 Β· rw [hx, zero_add] conv_rhs => rw [inftyValuationDef, if_pos (Eq.refl _)] rw [max_eq_right (WithZero.zero_le (inftyValuationDef Fq y))] Β· by_cases hy : y = 0 Β· rw [hy, add_zero] conv_rhs => rw [max_comm, inftyValuationDef, if_pos (Eq.refl _)] rw [max_eq_right (WithZer...
15
3,269,017.372472
2
1.428571
7
1,522
import Mathlib.Algebra.Order.Group.TypeTags import Mathlib.FieldTheory.RatFunc.Degree import Mathlib.RingTheory.DedekindDomain.IntegralClosure import Mathlib.RingTheory.IntegrallyClosed import Mathlib.Topology.Algebra.ValuedField #align_import number_theory.function_field from "leanprover-community/mathlib"@"70fd9563...
Mathlib/NumberTheory/FunctionField.lean
199
201
theorem inftyValuation_of_nonzero {x : RatFunc Fq} (hx : x β‰  0) : inftyValuationDef Fq x = Multiplicative.ofAdd x.intDegree := by
rw [inftyValuationDef, if_neg hx]
1
2.718282
0
1.428571
7
1,522
import Mathlib.Topology.GDelta #align_import topology.metric_space.baire from "leanprover-community/mathlib"@"b9e46fe101fc897fb2e7edaf0bf1f09ea49eb81a" noncomputable section open scoped Topology open Filter Set TopologicalSpace variable {X Ξ± : Type*} {ΞΉ : Sort*} section BaireTheorem variable [TopologicalSpace...
Mathlib/Topology/Baire/Lemmas.lean
50
55
theorem dense_sInter_of_isOpen {S : Set (Set X)} (ho : βˆ€ s ∈ S, IsOpen s) (hS : S.Countable) (hd : βˆ€ s ∈ S, Dense s) : Dense (β‹‚β‚€ S) := by
rcases S.eq_empty_or_nonempty with h | h · simp [h] · rcases hS.exists_eq_range h with ⟨f, rfl⟩ exact dense_iInter_of_isOpen_nat (forall_mem_range.1 ho) (forall_mem_range.1 hd)
4
54.59815
2
1.428571
7
1,523
import Mathlib.Topology.GDelta #align_import topology.metric_space.baire from "leanprover-community/mathlib"@"b9e46fe101fc897fb2e7edaf0bf1f09ea49eb81a" noncomputable section open scoped Topology open Filter Set TopologicalSpace variable {X Ξ± : Type*} {ΞΉ : Sort*} section BaireTheorem variable [TopologicalSpace...
Mathlib/Topology/Baire/Lemmas.lean
60
63
theorem dense_biInter_of_isOpen {S : Set Ξ±} {f : Ξ± β†’ Set X} (ho : βˆ€ s ∈ S, IsOpen (f s)) (hS : S.Countable) (hd : βˆ€ s ∈ S, Dense (f s)) : Dense (β‹‚ s ∈ S, f s) := by
rw [← sInter_image] refine dense_sInter_of_isOpen ?_ (hS.image _) ?_ <;> rwa [forall_mem_image]
2
7.389056
1
1.428571
7
1,523
import Mathlib.Topology.GDelta #align_import topology.metric_space.baire from "leanprover-community/mathlib"@"b9e46fe101fc897fb2e7edaf0bf1f09ea49eb81a" noncomputable section open scoped Topology open Filter Set TopologicalSpace variable {X Ξ± : Type*} {ΞΉ : Sort*} section BaireTheorem variable [TopologicalSpace...
Mathlib/Topology/Baire/Lemmas.lean
74
81
theorem mem_residual {s : Set X} : s ∈ residual X ↔ βˆƒ t βŠ† s, IsGΞ΄ t ∧ Dense t := by
constructor · rw [mem_residual_iff] rintro ⟨S, hSo, hSd, Sct, Ss⟩ refine ⟨_, Ss, ⟨_, fun t ht => hSo _ ht, Sct, rfl⟩, ?_⟩ exact dense_sInter_of_isOpen hSo Sct hSd rintro ⟨t, ts, ho, hd⟩ exact mem_of_superset (residual_of_dense_Gδ ho hd) ts
7
1,096.633158
2
1.428571
7
1,523
import Mathlib.Topology.GDelta #align_import topology.metric_space.baire from "leanprover-community/mathlib"@"b9e46fe101fc897fb2e7edaf0bf1f09ea49eb81a" noncomputable section open scoped Topology open Filter Set TopologicalSpace variable {X Ξ± : Type*} {ΞΉ : Sort*} section BaireTheorem variable [TopologicalSpace...
Mathlib/Topology/Baire/Lemmas.lean
85
88
theorem eventually_residual {p : X β†’ Prop} : (βˆ€αΆ  x in residual X, p x) ↔ βˆƒ t : Set X, IsGΞ΄ t ∧ Dense t ∧ βˆ€ x ∈ t, p x := by
simp only [Filter.Eventually, mem_residual, subset_def, mem_setOf_eq] tauto
2
7.389056
1
1.428571
7
1,523
import Mathlib.Topology.GDelta #align_import topology.metric_space.baire from "leanprover-community/mathlib"@"b9e46fe101fc897fb2e7edaf0bf1f09ea49eb81a" noncomputable section open scoped Topology open Filter Set TopologicalSpace variable {X Ξ± : Type*} {ΞΉ : Sort*} section BaireTheorem variable [TopologicalSpace...
Mathlib/Topology/Baire/Lemmas.lean
114
118
theorem dense_biInter_of_GΞ΄ {S : Set Ξ±} {f : βˆ€ x ∈ S, Set X} (ho : βˆ€ s (H : s ∈ S), IsGΞ΄ (f s H)) (hS : S.Countable) (hd : βˆ€ s (H : s ∈ S), Dense (f s H)) : Dense (β‹‚ s ∈ S, f s β€Ή_β€Ί) := by
rw [biInter_eq_iInter] haveI := hS.to_subtype exact dense_iInter_of_GΞ΄ (fun s => ho s s.2) fun s => hd s s.2
3
20.085537
1
1.428571
7
1,523
import Mathlib.Topology.GDelta #align_import topology.metric_space.baire from "leanprover-community/mathlib"@"b9e46fe101fc897fb2e7edaf0bf1f09ea49eb81a" noncomputable section open scoped Topology open Filter Set TopologicalSpace variable {X Ξ± : Type*} {ΞΉ : Sort*} section BaireTheorem variable [TopologicalSpace...
Mathlib/Topology/Baire/Lemmas.lean
123
126
theorem Dense.inter_of_Gδ {s t : Set X} (hs : IsGδ s) (ht : IsGδ t) (hsc : Dense s) (htc : Dense t) : Dense (s ∩ t) := by
rw [inter_eq_iInter] apply dense_iInter_of_GΞ΄ <;> simp [Bool.forall_bool, *]
2
7.389056
1
1.428571
7
1,523
import Mathlib.Topology.GDelta #align_import topology.metric_space.baire from "leanprover-community/mathlib"@"b9e46fe101fc897fb2e7edaf0bf1f09ea49eb81a" noncomputable section open scoped Topology open Filter Set TopologicalSpace variable {X Ξ± : Type*} {ΞΉ : Sort*} section BaireTheorem variable [TopologicalSpace...
Mathlib/Topology/Baire/Lemmas.lean
132
145
theorem IsGΞ΄.dense_iUnion_interior_of_closed [Countable ΞΉ] {s : Set X} (hs : IsGΞ΄ s) (hd : Dense s) {f : ΞΉ β†’ Set X} (hc : βˆ€ i, IsClosed (f i)) (hU : s βŠ† ⋃ i, f i) : Dense (⋃ i, interior (f i)) := by
let g i := (frontier (f i))ᢜ have hgo : βˆ€ i, IsOpen (g i) := fun i => isClosed_frontier.isOpen_compl have hgd : Dense (β‹‚ i, g i) := by refine dense_iInter_of_isOpen hgo fun i x => ?_ rw [closure_compl, interior_frontier (hc _)] exact id refine (hd.inter_of_GΞ΄ hs (.iInter_of_isOpen fun i => (hgo i))...
11
59,874.141715
2
1.428571
7
1,523
import Mathlib.Combinatorics.Enumerative.DoubleCounting import Mathlib.Combinatorics.SimpleGraph.AdjMatrix import Mathlib.Combinatorics.SimpleGraph.Basic import Mathlib.Data.Set.Finite #align_import combinatorics.simple_graph.strongly_regular from "leanprover-community/mathlib"@"2b35fc7bea4640cb75e477e83f32fbd5389208...
Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean
84
95
theorem IsSRGWith.card_neighborFinset_union_eq {v w : V} (h : G.IsSRGWith n k β„“ ΞΌ) : (G.neighborFinset v βˆͺ G.neighborFinset w).card = 2 * k - Fintype.card (G.commonNeighbors v w) := by
apply Nat.add_right_cancel (m := Fintype.card (G.commonNeighbors v w)) rw [Nat.sub_add_cancel, ← Set.toFinset_card] -- Porting note: Set.toFinset_inter needs workaround to use unification to solve for one of the -- instance arguments: Β· simp [commonNeighbors, @Set.toFinset_inter _ _ _ _ _ _ (_), ← neig...
9
8,103.083928
2
1.428571
7
1,524
import Mathlib.Combinatorics.Enumerative.DoubleCounting import Mathlib.Combinatorics.SimpleGraph.AdjMatrix import Mathlib.Combinatorics.SimpleGraph.Basic import Mathlib.Data.Set.Finite #align_import combinatorics.simple_graph.strongly_regular from "leanprover-community/mathlib"@"2b35fc7bea4640cb75e477e83f32fbd5389208...
Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean
102
106
theorem IsSRGWith.card_neighborFinset_union_of_not_adj {v w : V} (h : G.IsSRGWith n k β„“ ΞΌ) (hne : v β‰  w) (ha : Β¬G.Adj v w) : (G.neighborFinset v βˆͺ G.neighborFinset w).card = 2 * k - ΞΌ := by
rw [← h.of_not_adj hne ha] apply h.card_neighborFinset_union_eq
2
7.389056
1
1.428571
7
1,524
import Mathlib.Combinatorics.Enumerative.DoubleCounting import Mathlib.Combinatorics.SimpleGraph.AdjMatrix import Mathlib.Combinatorics.SimpleGraph.Basic import Mathlib.Data.Set.Finite #align_import combinatorics.simple_graph.strongly_regular from "leanprover-community/mathlib"@"2b35fc7bea4640cb75e477e83f32fbd5389208...
Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean
110
113
theorem IsSRGWith.card_neighborFinset_union_of_adj {v w : V} (h : G.IsSRGWith n k β„“ ΞΌ) (ha : G.Adj v w) : (G.neighborFinset v βˆͺ G.neighborFinset w).card = 2 * k - β„“ := by
rw [← h.of_adj v w ha] apply h.card_neighborFinset_union_eq
2
7.389056
1
1.428571
7
1,524
import Mathlib.Combinatorics.Enumerative.DoubleCounting import Mathlib.Combinatorics.SimpleGraph.AdjMatrix import Mathlib.Combinatorics.SimpleGraph.Basic import Mathlib.Data.Set.Finite #align_import combinatorics.simple_graph.strongly_regular from "leanprover-community/mathlib"@"2b35fc7bea4640cb75e477e83f32fbd5389208...
Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean
117
122
theorem compl_neighborFinset_sdiff_inter_eq {v w : V} : (G.neighborFinset v)ᢜ \ {v} ∩ ((G.neighborFinset w)ᢜ \ {w}) = ((G.neighborFinset v)ᢜ ∩ (G.neighborFinset w)ᢜ) \ ({w} βˆͺ {v}) := by
ext rw [← not_iff_not] simp [imp_iff_not_or, or_assoc, or_comm, or_left_comm]
3
20.085537
1
1.428571
7
1,524
import Mathlib.Combinatorics.Enumerative.DoubleCounting import Mathlib.Combinatorics.SimpleGraph.AdjMatrix import Mathlib.Combinatorics.SimpleGraph.Basic import Mathlib.Data.Set.Finite #align_import combinatorics.simple_graph.strongly_regular from "leanprover-community/mathlib"@"2b35fc7bea4640cb75e477e83f32fbd5389208...
Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean
125
134
theorem sdiff_compl_neighborFinset_inter_eq {v w : V} (h : G.Adj v w) : ((G.neighborFinset v)ᢜ ∩ (G.neighborFinset w)ᢜ) \ ({w} βˆͺ {v}) = (G.neighborFinset v)ᢜ ∩ (G.neighborFinset w)ᢜ := by
ext simp only [and_imp, mem_union, mem_sdiff, mem_compl, and_iff_left_iff_imp, mem_neighborFinset, mem_inter, mem_singleton] rintro hnv hnw (rfl | rfl) Β· exact hnv h Β· apply hnw rwa [adj_comm]
7
1,096.633158
2
1.428571
7
1,524
import Mathlib.Combinatorics.Enumerative.DoubleCounting import Mathlib.Combinatorics.SimpleGraph.AdjMatrix import Mathlib.Combinatorics.SimpleGraph.Basic import Mathlib.Data.Set.Finite #align_import combinatorics.simple_graph.strongly_regular from "leanprover-community/mathlib"@"2b35fc7bea4640cb75e477e83f32fbd5389208...
Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean
137
140
theorem IsSRGWith.compl_is_regular (h : G.IsSRGWith n k β„“ ΞΌ) : Gᢜ.IsRegularOfDegree (n - k - 1) := by
rw [← h.card, Nat.sub_sub, add_comm, ← Nat.sub_sub] exact h.regular.compl
2
7.389056
1
1.428571
7
1,524
import Mathlib.Combinatorics.Enumerative.DoubleCounting import Mathlib.Combinatorics.SimpleGraph.AdjMatrix import Mathlib.Combinatorics.SimpleGraph.Basic import Mathlib.Data.Set.Finite #align_import combinatorics.simple_graph.strongly_regular from "leanprover-community/mathlib"@"2b35fc7bea4640cb75e477e83f32fbd5389208...
Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean
144
156
theorem IsSRGWith.card_commonNeighbors_eq_of_adj_compl (h : G.IsSRGWith n k β„“ ΞΌ) {v w : V} (ha : Gᢜ.Adj v w) : Fintype.card (Gᢜ.commonNeighbors v w) = n - (2 * k - ΞΌ) - 2 := by
simp only [← Set.toFinset_card, commonNeighbors, Set.toFinset_inter, neighborSet_compl, Set.toFinset_diff, Set.toFinset_singleton, Set.toFinset_compl, ← neighborFinset_def] simp_rw [compl_neighborFinset_sdiff_inter_eq] have hne : v β‰  w := ne_of_adj _ ha rw [compl_adj] at ha rw [card_sdiff, ← insert_eq, c...
11
59,874.141715
2
1.428571
7
1,524
import Mathlib.Init.Core import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots import Mathlib.NumberTheory.NumberField.Basic import Mathlib.FieldTheory.Galois #align_import number_theory.cyclotomic.basic from "leanprover-community/mathlib"@"4b05d3f4f0601dca8abf99c4ec99187682ed0bba" open Polynomial Algebra FiniteD...
Mathlib/NumberTheory/Cyclotomic/Basic.lean
100
103
theorem iff_singleton : IsCyclotomicExtension {n} A B ↔ (βˆƒ r : B, IsPrimitiveRoot r n) ∧ βˆ€ x, x ∈ adjoin A {b : B | b ^ (n : β„•) = 1} := by
simp [isCyclotomicExtension_iff]
1
2.718282
0
1.428571
7
1,525
import Mathlib.Init.Core import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots import Mathlib.NumberTheory.NumberField.Basic import Mathlib.FieldTheory.Galois #align_import number_theory.cyclotomic.basic from "leanprover-community/mathlib"@"4b05d3f4f0601dca8abf99c4ec99187682ed0bba" open Polynomial Algebra FiniteD...
Mathlib/NumberTheory/Cyclotomic/Basic.lean
107
108
theorem empty [h : IsCyclotomicExtension βˆ… A B] : (βŠ₯ : Subalgebra A B) = ⊀ := by
simpa [Algebra.eq_top_iff, isCyclotomicExtension_iff] using h
1
2.718282
0
1.428571
7
1,525
import Mathlib.Init.Core import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots import Mathlib.NumberTheory.NumberField.Basic import Mathlib.FieldTheory.Galois #align_import number_theory.cyclotomic.basic from "leanprover-community/mathlib"@"4b05d3f4f0601dca8abf99c4ec99187682ed0bba" open Polynomial Algebra FiniteD...
Mathlib/NumberTheory/Cyclotomic/Basic.lean
120
126
theorem singleton_zero_of_bot_eq_top (h : (βŠ₯ : Subalgebra A B) = ⊀) : IsCyclotomicExtension βˆ… A B := by
-- Porting note: Lean3 is able to infer `A`. refine (iff_adjoin_eq_top _ A _).2 ⟨fun s hs => by simp at hs, _root_.eq_top_iff.2 fun x hx => ?_⟩ rw [← h] at hx simpa using hx
5
148.413159
2
1.428571
7
1,525
import Mathlib.Init.Core import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots import Mathlib.NumberTheory.NumberField.Basic import Mathlib.FieldTheory.Galois #align_import number_theory.cyclotomic.basic from "leanprover-community/mathlib"@"4b05d3f4f0601dca8abf99c4ec99187682ed0bba" open Polynomial Algebra FiniteD...
Mathlib/NumberTheory/Cyclotomic/Basic.lean
132
150
theorem trans (C : Type w) [CommRing C] [Algebra A C] [Algebra B C] [IsScalarTower A B C] [hS : IsCyclotomicExtension S A B] [hT : IsCyclotomicExtension T B C] (h : Function.Injective (algebraMap B C)) : IsCyclotomicExtension (S βˆͺ T) A C := by
refine ⟨fun hn => ?_, fun x => ?_⟩ · cases' hn with hn hn · obtain ⟨b, hb⟩ := ((isCyclotomicExtension_iff _ _ _).1 hS).1 hn refine ⟨algebraMap B C b, ?_⟩ exact hb.map_of_injective h · exact ((isCyclotomicExtension_iff _ _ _).1 hT).1 hn · refine adjoin_induction (((isCyclotomicExtension_iff T ...
16
8,886,110.520508
2
1.428571
7
1,525
import Mathlib.Init.Core import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots import Mathlib.NumberTheory.NumberField.Basic import Mathlib.FieldTheory.Galois #align_import number_theory.cyclotomic.basic from "leanprover-community/mathlib"@"4b05d3f4f0601dca8abf99c4ec99187682ed0bba" open Polynomial Algebra FiniteD...
Mathlib/NumberTheory/Cyclotomic/Basic.lean
154
168
theorem subsingleton_iff [Subsingleton B] : IsCyclotomicExtension S A B ↔ S = { } ∨ S = {1} := by
have : Subsingleton (Subalgebra A B) := inferInstance constructor Β· rintro ⟨hprim, -⟩ rw [← subset_singleton_iff_eq] intro t ht obtain ⟨΢, h΢⟩ := hprim ht rw [mem_singleton_iff, ← PNat.coe_eq_one_iff] exact mod_cast hΞΆ.unique (IsPrimitiveRoot.of_subsingleton ΞΆ) Β· rintro (rfl | rfl) -- Porti...
14
1,202,604.284165
2
1.428571
7
1,525
import Mathlib.Init.Core import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots import Mathlib.NumberTheory.NumberField.Basic import Mathlib.FieldTheory.Galois #align_import number_theory.cyclotomic.basic from "leanprover-community/mathlib"@"4b05d3f4f0601dca8abf99c4ec99187682ed0bba" open Polynomial Algebra FiniteD...
Mathlib/NumberTheory/Cyclotomic/Basic.lean
368
384
theorem adjoin_roots_cyclotomic_eq_adjoin_nth_roots [IsDomain B] {ΞΆ : B} {n : β„•+} (hΞΆ : IsPrimitiveRoot ΞΆ n) : adjoin A ((cyclotomic n A).rootSet B) = adjoin A {b : B | βˆƒ a : β„•+, a ∈ ({n} : Set β„•+) ∧ b ^ (a : β„•) = 1} := by
simp only [mem_singleton_iff, exists_eq_left, map_cyclotomic] refine le_antisymm (adjoin_mono fun x hx => ?_) (adjoin_le fun x hx => ?_) · rw [mem_rootSet'] at hx simp only [mem_singleton_iff, exists_eq_left, mem_setOf_eq] rw [isRoot_of_unity_iff n.pos] refine ⟨n, Nat.mem_divisors_self n n.ne_zero, ?...
13
442,413.392009
2
1.428571
7
1,525
import Mathlib.Init.Core import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots import Mathlib.NumberTheory.NumberField.Basic import Mathlib.FieldTheory.Galois #align_import number_theory.cyclotomic.basic from "leanprover-community/mathlib"@"4b05d3f4f0601dca8abf99c4ec99187682ed0bba" open Polynomial Algebra FiniteD...
Mathlib/NumberTheory/Cyclotomic/Basic.lean
387
399
theorem adjoin_roots_cyclotomic_eq_adjoin_root_cyclotomic {n : β„•+} [IsDomain B] {ΞΆ : B} (hΞΆ : IsPrimitiveRoot ΞΆ n) : adjoin A ((cyclotomic n A).rootSet B) = adjoin A {ΞΆ} := by
refine le_antisymm (adjoin_le fun x hx => ?_) (adjoin_mono fun x hx => ?_) · suffices hx : x ^ n.1 = 1 by obtain ⟨i, _, rfl⟩ := h΢.eq_pow_of_pow_eq_one hx n.pos exact SetLike.mem_coe.2 (Subalgebra.pow_mem _ (subset_adjoin <| mem_singleton ΢) _) refine (isRoot_of_unity_iff n.pos B).2 ?_ refine ⟨...
11
59,874.141715
2
1.428571
7
1,525
import Mathlib.Algebra.Polynomial.Div import Mathlib.RingTheory.Polynomial.Basic import Mathlib.RingTheory.Ideal.QuotientOperations #align_import ring_theory.polynomial.quotient from "leanprover-community/mathlib"@"4f840b8d28320b20c87db17b3a6eef3d325fca87" set_option linter.uppercaseLean3 false open Polynomial ...
Mathlib/RingTheory/Polynomial/Quotient.lean
87
91
theorem quotient_map_C_eq_zero {I : Ideal R} : βˆ€ a ∈ I, ((Quotient.mk (map (C : R β†’+* R[X]) I : Ideal R[X])).comp C) a = 0 := by
intro a ha rw [RingHom.comp_apply, Quotient.eq_zero_iff_mem] exact mem_map_of_mem _ ha
3
20.085537
1
1.428571
7
1,526
import Mathlib.Algebra.Polynomial.Div import Mathlib.RingTheory.Polynomial.Basic import Mathlib.RingTheory.Ideal.QuotientOperations #align_import ring_theory.polynomial.quotient from "leanprover-community/mathlib"@"4f840b8d28320b20c87db17b3a6eef3d325fca87" set_option linter.uppercaseLean3 false open Polynomial ...
Mathlib/RingTheory/Polynomial/Quotient.lean
94
107
theorem evalβ‚‚_C_mk_eq_zero {I : Ideal R} : βˆ€ f ∈ (map (C : R β†’+* R[X]) I : Ideal R[X]), evalβ‚‚RingHom (C.comp (Quotient.mk I)) X f = 0 := by
intro a ha rw [← sum_monomial_eq a] dsimp rw [evalβ‚‚_sum] refine Finset.sum_eq_zero fun n _ => ?_ dsimp rw [evalβ‚‚_monomial (C.comp (Quotient.mk I)) X] refine mul_eq_zero_of_left (Polynomial.ext fun m => ?_) (X ^ n) erw [coeff_C] by_cases h : m = 0 Β· simpa [h] using Quotient.eq_zero_iff_mem.2 ((mem...
12
162,754.791419
2
1.428571
7
1,526
import Mathlib.Algebra.Polynomial.Div import Mathlib.RingTheory.Polynomial.Basic import Mathlib.RingTheory.Ideal.QuotientOperations #align_import ring_theory.polynomial.quotient from "leanprover-community/mathlib"@"4f840b8d28320b20c87db17b3a6eef3d325fca87" set_option linter.uppercaseLean3 false open Polynomial ...
Mathlib/RingTheory/Polynomial/Quotient.lean
150
154
theorem polynomialQuotientEquivQuotientPolynomial_symm_mk (I : Ideal R) (f : R[X]) : I.polynomialQuotientEquivQuotientPolynomial.symm (Quotient.mk _ f) = f.map (Quotient.mk I) := by
rw [polynomialQuotientEquivQuotientPolynomial, RingEquiv.symm_mk, RingEquiv.coe_mk, Equiv.coe_fn_mk, Quotient.lift_mk, coe_evalβ‚‚RingHom, evalβ‚‚_eq_eval_map, ← Polynomial.map_map, ← evalβ‚‚_eq_eval_map, Polynomial.evalβ‚‚_C_X]
3
20.085537
1
1.428571
7
1,526
import Mathlib.Algebra.Polynomial.Div import Mathlib.RingTheory.Polynomial.Basic import Mathlib.RingTheory.Ideal.QuotientOperations #align_import ring_theory.polynomial.quotient from "leanprover-community/mathlib"@"4f840b8d28320b20c87db17b3a6eef3d325fca87" set_option linter.uppercaseLean3 false open Polynomial ...
Mathlib/RingTheory/Polynomial/Quotient.lean
158
162
theorem polynomialQuotientEquivQuotientPolynomial_map_mk (I : Ideal R) (f : R[X]) : I.polynomialQuotientEquivQuotientPolynomial (f.map <| Quotient.mk I) = Quotient.mk (map C I : Ideal R[X]) f := by
apply (polynomialQuotientEquivQuotientPolynomial I).symm.injective rw [RingEquiv.symm_apply_apply, polynomialQuotientEquivQuotientPolynomial_symm_mk]
2
7.389056
1
1.428571
7
1,526
import Mathlib.Algebra.Polynomial.Div import Mathlib.RingTheory.Polynomial.Basic import Mathlib.RingTheory.Ideal.QuotientOperations #align_import ring_theory.polynomial.quotient from "leanprover-community/mathlib"@"4f840b8d28320b20c87db17b3a6eef3d325fca87" set_option linter.uppercaseLean3 false open Polynomial ...
Mathlib/RingTheory/Polynomial/Quotient.lean
175
194
theorem eq_zero_of_polynomial_mem_map_range (I : Ideal R[X]) (x : ((Quotient.mk I).comp C).range) (hx : C x ∈ I.map (Polynomial.mapRingHom ((Quotient.mk I).comp C).rangeRestrict)) : x = 0 := by
let i := ((Quotient.mk I).comp C).rangeRestrict have hi' : RingHom.ker (Polynomial.mapRingHom i) ≀ I := by refine fun f hf => polynomial_mem_ideal_of_coeff_mem_ideal I f fun n => ?_ rw [mem_comap, ← Quotient.eq_zero_iff_mem, ← RingHom.comp_apply] rw [RingHom.mem_ker, coe_mapRingHom] at hf replace h...
18
65,659,969.137331
2
1.428571
7
1,526
import Mathlib.Algebra.Polynomial.Div import Mathlib.RingTheory.Polynomial.Basic import Mathlib.RingTheory.Ideal.QuotientOperations #align_import ring_theory.polynomial.quotient from "leanprover-community/mathlib"@"4f840b8d28320b20c87db17b3a6eef3d325fca87" set_option linter.uppercaseLean3 false open Polynomial ...
Mathlib/RingTheory/Polynomial/Quotient.lean
205
209
theorem quotient_map_C_eq_zero {I : Ideal R} {i : R} (hi : i ∈ I) : (Ideal.Quotient.mk (Ideal.map (C : R β†’+* MvPolynomial Οƒ R) I : Ideal (MvPolynomial Οƒ R))).comp C i = 0 := by
simp only [Function.comp_apply, RingHom.coe_comp, Ideal.Quotient.eq_zero_iff_mem] exact Ideal.mem_map_of_mem _ hi
2
7.389056
1
1.428571
7
1,526
import Mathlib.Algebra.Polynomial.Div import Mathlib.RingTheory.Polynomial.Basic import Mathlib.RingTheory.Ideal.QuotientOperations #align_import ring_theory.polynomial.quotient from "leanprover-community/mathlib"@"4f840b8d28320b20c87db17b3a6eef3d325fca87" set_option linter.uppercaseLean3 false open Polynomial ...
Mathlib/RingTheory/Polynomial/Quotient.lean
212
223
theorem evalβ‚‚_C_mk_eq_zero {I : Ideal R} {a : MvPolynomial Οƒ R} (ha : a ∈ (Ideal.map (C : R β†’+* MvPolynomial Οƒ R) I : Ideal (MvPolynomial Οƒ R))) : evalβ‚‚Hom (C.comp (Ideal.Quotient.mk I)) X a = 0 := by
rw [as_sum a] rw [coe_evalβ‚‚Hom, evalβ‚‚_sum] refine Finset.sum_eq_zero fun n _ => ?_ simp only [evalβ‚‚_monomial, Function.comp_apply, RingHom.coe_comp] refine mul_eq_zero_of_left ?_ _ suffices coeff n a ∈ I by rw [← @Ideal.mk_ker R _ I, RingHom.mem_ker] at this simp only [this, C_0] exact mem_map_C_...
9
8,103.083928
2
1.428571
7
1,526
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.LinearAlgebra.Matrix.ToLin #align_import linear_algebra.matrix.charpoly.linear_map from "leanprover-community/mathlib"@"62c0a4ef1441edb463095ea02a06e87f3dfe135c" variable {ΞΉ : Type*} [Fintype ΞΉ] variable {M : Type*} [AddCommGroup M] (R : Type*) [Co...
Mathlib/LinearAlgebra/Matrix/Charpoly/LinearMap.lean
43
46
theorem PiToModule.fromMatrix_apply_single_one [DecidableEq ΞΉ] (A : Matrix ΞΉ ΞΉ R) (j : ΞΉ) : PiToModule.fromMatrix R b A (Pi.single j 1) = βˆ‘ i : ΞΉ, A i j β€’ b i := by
rw [PiToModule.fromMatrix_apply, Fintype.total_apply, Matrix.mulVec_single] simp_rw [mul_one]
2
7.389056
1
1.444444
9
1,527
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.LinearAlgebra.Matrix.ToLin #align_import linear_algebra.matrix.charpoly.linear_map from "leanprover-community/mathlib"@"62c0a4ef1441edb463095ea02a06e87f3dfe135c" variable {ΞΉ : Type*} [Fintype ΞΉ] variable {M : Type*} [AddCommGroup M] (R : Type*) [Co...
Mathlib/LinearAlgebra/Matrix/Charpoly/LinearMap.lean
60
65
theorem PiToModule.fromEnd_apply_single_one [DecidableEq ΞΉ] (f : Module.End R M) (i : ΞΉ) : PiToModule.fromEnd R b f (Pi.single i 1) = f (b i) := by
rw [PiToModule.fromEnd_apply] congr convert Fintype.total_apply_single (S := R) R b i (1 : R) rw [one_smul]
4
54.59815
2
1.444444
9
1,527
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.LinearAlgebra.Matrix.ToLin #align_import linear_algebra.matrix.charpoly.linear_map from "leanprover-community/mathlib"@"62c0a4ef1441edb463095ea02a06e87f3dfe135c" variable {ΞΉ : Type*} [Fintype ΞΉ] variable {M : Type*} [AddCommGroup M] (R : Type*) [Co...
Mathlib/LinearAlgebra/Matrix/Charpoly/LinearMap.lean
68
75
theorem PiToModule.fromEnd_injective (hb : Submodule.span R (Set.range b) = ⊀) : Function.Injective (PiToModule.fromEnd R b) := by
intro x y e ext m obtain ⟨m, rfl⟩ : m ∈ LinearMap.range (Fintype.total R R b) := by rw [(Fintype.range_total R b).trans hb] exact Submodule.mem_top exact (LinearMap.congr_fun e m : _)
6
403.428793
2
1.444444
9
1,527
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.LinearAlgebra.Matrix.ToLin #align_import linear_algebra.matrix.charpoly.linear_map from "leanprover-community/mathlib"@"62c0a4ef1441edb463095ea02a06e87f3dfe135c" variable {ΞΉ : Type*} [Fintype ΞΉ] variable {M : Type*} [AddCommGroup M] (R : Type*) [Co...
Mathlib/LinearAlgebra/Matrix/Charpoly/LinearMap.lean
100
111
theorem Matrix.represents_iff' {A : Matrix ΞΉ ΞΉ R} {f : Module.End R M} : A.Represents b f ↔ βˆ€ j, βˆ‘ i : ΞΉ, A i j β€’ b i = f (b j) := by
constructor Β· intro h i have := LinearMap.congr_fun h (Pi.single i 1) rwa [PiToModule.fromEnd_apply_single_one, PiToModule.fromMatrix_apply_single_one] at this Β· intro h -- Porting note: was `ext` refine LinearMap.pi_ext' (fun i => LinearMap.ext_ring ?_) simp_rw [LinearMap.comp_apply, LinearM...
10
22,026.465795
2
1.444444
9
1,527
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.LinearAlgebra.Matrix.ToLin #align_import linear_algebra.matrix.charpoly.linear_map from "leanprover-community/mathlib"@"62c0a4ef1441edb463095ea02a06e87f3dfe135c" variable {ΞΉ : Type*} [Fintype ΞΉ] variable {M : Type*} [AddCommGroup M] (R : Type*) [Co...
Mathlib/LinearAlgebra/Matrix/Charpoly/LinearMap.lean
114
121
theorem Matrix.Represents.mul {A A' : Matrix ΞΉ ΞΉ R} {f f' : Module.End R M} (h : A.Represents b f) (h' : Matrix.Represents b A' f') : (A * A').Represents b (f * f') := by
delta Matrix.Represents PiToModule.fromMatrix rw [LinearMap.comp_apply, AlgEquiv.toLinearMap_apply, _root_.map_mul] ext dsimp [PiToModule.fromEnd] rw [← h'.congr_fun, ← h.congr_fun] rfl
6
403.428793
2
1.444444
9
1,527
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.LinearAlgebra.Matrix.ToLin #align_import linear_algebra.matrix.charpoly.linear_map from "leanprover-community/mathlib"@"62c0a4ef1441edb463095ea02a06e87f3dfe135c" variable {ΞΉ : Type*} [Fintype ΞΉ] variable {M : Type*} [AddCommGroup M] (R : Type*) [Co...
Mathlib/LinearAlgebra/Matrix/Charpoly/LinearMap.lean
124
128
theorem Matrix.Represents.one : (1 : Matrix ΞΉ ΞΉ R).Represents b 1 := by
delta Matrix.Represents PiToModule.fromMatrix rw [LinearMap.comp_apply, AlgEquiv.toLinearMap_apply, _root_.map_one] ext rfl
4
54.59815
2
1.444444
9
1,527
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.LinearAlgebra.Matrix.ToLin #align_import linear_algebra.matrix.charpoly.linear_map from "leanprover-community/mathlib"@"62c0a4ef1441edb463095ea02a06e87f3dfe135c" variable {ΞΉ : Type*} [Fintype ΞΉ] variable {M : Type*} [AddCommGroup M] (R : Type*) [Co...
Mathlib/LinearAlgebra/Matrix/Charpoly/LinearMap.lean
131
133
theorem Matrix.Represents.add {A A' : Matrix ΞΉ ΞΉ R} {f f' : Module.End R M} (h : A.Represents b f) (h' : Matrix.Represents b A' f') : (A + A').Represents b (f + f') := by
delta Matrix.Represents at h h' ⊒; rw [map_add, map_add, h, h']
1
2.718282
0
1.444444
9
1,527
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.LinearAlgebra.Matrix.ToLin #align_import linear_algebra.matrix.charpoly.linear_map from "leanprover-community/mathlib"@"62c0a4ef1441edb463095ea02a06e87f3dfe135c" variable {ΞΉ : Type*} [Fintype ΞΉ] variable {M : Type*} [AddCommGroup M] (R : Type*) [Co...
Mathlib/LinearAlgebra/Matrix/Charpoly/LinearMap.lean
136
138
theorem Matrix.Represents.zero : (0 : Matrix ΞΉ ΞΉ R).Represents b 0 := by
delta Matrix.Represents rw [map_zero, map_zero]
2
7.389056
1
1.444444
9
1,527
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.LinearAlgebra.Matrix.ToLin #align_import linear_algebra.matrix.charpoly.linear_map from "leanprover-community/mathlib"@"62c0a4ef1441edb463095ea02a06e87f3dfe135c" variable {ΞΉ : Type*} [Fintype ΞΉ] variable {M : Type*} [AddCommGroup M] (R : Type*) [Co...
Mathlib/LinearAlgebra/Matrix/Charpoly/LinearMap.lean
141
144
theorem Matrix.Represents.smul {A : Matrix ΞΉ ΞΉ R} {f : Module.End R M} (h : A.Represents b f) (r : R) : (r β€’ A).Represents b (r β€’ f) := by
delta Matrix.Represents at h ⊒ rw [_root_.map_smul, _root_.map_smul, h]
2
7.389056
1
1.444444
9
1,527
import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.constructions.borel_space.basic from "leanprover-community/mathlib"@"9f55d0d4363ae59948c33864cbc52e0b12e0e8ce" open Set Filter MeasureTheory MeasurableSpace open scoped Classical Topology NNReal ENNReal MeasureTheory univers...
Mathlib/MeasureTheory/Constructions/BorelSpace/Real.lean
44
54
theorem borel_eq_generateFrom_Iio_rat : borel ℝ = .generateFrom (⋃ a : β„š, {Iio (a : ℝ)}) := by
rw [borel_eq_generateFrom_Iio] refine le_antisymm (generateFrom_le ?_) (generateFrom_mono <| iUnion_subset fun q ↦ singleton_subset_iff.mpr <| mem_range_self _) rintro _ ⟨a, rfl⟩ have : IsLUB (range ((↑) : β„š β†’ ℝ) ∩ Iio a) a := by simp [isLUB_iff_le_iff, mem_upperBounds, ← le_iff_forall_rat_lt_imp_l...
10
22,026.465795
2
1.444444
9
1,528
import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.constructions.borel_space.basic from "leanprover-community/mathlib"@"9f55d0d4363ae59948c33864cbc52e0b12e0e8ce" open Set Filter MeasureTheory MeasurableSpace open scoped Classical Topology NNReal ENNReal MeasureTheory univers...
Mathlib/MeasureTheory/Constructions/BorelSpace/Real.lean
56
66
theorem borel_eq_generateFrom_Ioi_rat : borel ℝ = .generateFrom (⋃ a : β„š, {Ioi (a : ℝ)}) := by
rw [borel_eq_generateFrom_Ioi] refine le_antisymm (generateFrom_le ?_) (generateFrom_mono <| iUnion_subset fun q ↦ singleton_subset_iff.mpr <| mem_range_self _) rintro _ ⟨a, rfl⟩ have : IsGLB (range ((↑) : β„š β†’ ℝ) ∩ Ioi a) a := by simp [isGLB_iff_le_iff, mem_lowerBounds, ← le_iff_forall_lt_rat_imp_l...
10
22,026.465795
2
1.444444
9
1,528
import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.constructions.borel_space.basic from "leanprover-community/mathlib"@"9f55d0d4363ae59948c33864cbc52e0b12e0e8ce" open Set Filter MeasureTheory MeasurableSpace open scoped Classical Topology NNReal ENNReal MeasureTheory univers...
Mathlib/MeasureTheory/Constructions/BorelSpace/Real.lean
68
74
theorem borel_eq_generateFrom_Iic_rat : borel ℝ = .generateFrom (⋃ a : β„š, {Iic (a : ℝ)}) := by
rw [borel_eq_generateFrom_Ioi_rat, iUnion_singleton_eq_range, iUnion_singleton_eq_range] refine le_antisymm (generateFrom_le ?_) (generateFrom_le ?_) <;> rintro _ ⟨q, rfl⟩ <;> dsimp only <;> [rw [← compl_Iic]; rw [← compl_Ioi]] <;> exact MeasurableSet.compl (GenerateMeasurable.basic _ (mem_range_self q))
6
403.428793
2
1.444444
9
1,528
import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.constructions.borel_space.basic from "leanprover-community/mathlib"@"9f55d0d4363ae59948c33864cbc52e0b12e0e8ce" open Set Filter MeasureTheory MeasurableSpace open scoped Classical Topology NNReal ENNReal MeasureTheory univers...
Mathlib/MeasureTheory/Constructions/BorelSpace/Real.lean
76
82
theorem borel_eq_generateFrom_Ici_rat : borel ℝ = .generateFrom (⋃ a : β„š, {Ici (a : ℝ)}) := by
rw [borel_eq_generateFrom_Iio_rat, iUnion_singleton_eq_range, iUnion_singleton_eq_range] refine le_antisymm (generateFrom_le ?_) (generateFrom_le ?_) <;> rintro _ ⟨q, rfl⟩ <;> dsimp only <;> [rw [← compl_Ici]; rw [← compl_Iio]] <;> exact MeasurableSet.compl (GenerateMeasurable.basic _ (mem_range_self q))
6
403.428793
2
1.444444
9
1,528
import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.constructions.borel_space.basic from "leanprover-community/mathlib"@"9f55d0d4363ae59948c33864cbc52e0b12e0e8ce" open Set Filter MeasureTheory MeasurableSpace open scoped Classical Topology NNReal ENNReal MeasureTheory univers...
Mathlib/MeasureTheory/Constructions/BorelSpace/Real.lean
84
88
theorem isPiSystem_Ioo_rat : IsPiSystem (⋃ (a : β„š) (b : β„š) (_ : a < b), {Ioo (a : ℝ) (b : ℝ)}) := by
convert isPiSystem_Ioo ((↑) : β„š β†’ ℝ) ((↑) : β„š β†’ ℝ) ext x simp [eq_comm]
3
20.085537
1
1.444444
9
1,528
import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.constructions.borel_space.basic from "leanprover-community/mathlib"@"9f55d0d4363ae59948c33864cbc52e0b12e0e8ce" open Set Filter MeasureTheory MeasurableSpace open scoped Classical Topology NNReal ENNReal MeasureTheory univers...
Mathlib/MeasureTheory/Constructions/BorelSpace/Real.lean
91
94
theorem isPiSystem_Iio_rat : IsPiSystem (⋃ a : β„š, {Iio (a : ℝ)}) := by
convert isPiSystem_image_Iio (((↑) : β„š β†’ ℝ) '' univ) ext x simp only [iUnion_singleton_eq_range, mem_range, image_univ, mem_image, exists_exists_eq_and]
3
20.085537
1
1.444444
9
1,528
import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.constructions.borel_space.basic from "leanprover-community/mathlib"@"9f55d0d4363ae59948c33864cbc52e0b12e0e8ce" open Set Filter MeasureTheory MeasurableSpace open scoped Classical Topology NNReal ENNReal MeasureTheory univers...
Mathlib/MeasureTheory/Constructions/BorelSpace/Real.lean
96
99
theorem isPiSystem_Ioi_rat : IsPiSystem (⋃ a : β„š, {Ioi (a : ℝ)}) := by
convert isPiSystem_image_Ioi (((↑) : β„š β†’ ℝ) '' univ) ext x simp only [iUnion_singleton_eq_range, mem_range, image_univ, mem_image, exists_exists_eq_and]
3
20.085537
1
1.444444
9
1,528
import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.constructions.borel_space.basic from "leanprover-community/mathlib"@"9f55d0d4363ae59948c33864cbc52e0b12e0e8ce" open Set Filter MeasureTheory MeasurableSpace open scoped Classical Topology NNReal ENNReal MeasureTheory univers...
Mathlib/MeasureTheory/Constructions/BorelSpace/Real.lean
101
104
theorem isPiSystem_Iic_rat : IsPiSystem (⋃ a : β„š, {Iic (a : ℝ)}) := by
convert isPiSystem_image_Iic (((↑) : β„š β†’ ℝ) '' univ) ext x simp only [iUnion_singleton_eq_range, mem_range, image_univ, mem_image, exists_exists_eq_and]
3
20.085537
1
1.444444
9
1,528
import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.constructions.borel_space.basic from "leanprover-community/mathlib"@"9f55d0d4363ae59948c33864cbc52e0b12e0e8ce" open Set Filter MeasureTheory MeasurableSpace open scoped Classical Topology NNReal ENNReal MeasureTheory univers...
Mathlib/MeasureTheory/Constructions/BorelSpace/Real.lean
106
109
theorem isPiSystem_Ici_rat : IsPiSystem (⋃ a : β„š, {Ici (a : ℝ)}) := by
convert isPiSystem_image_Ici (((↑) : β„š β†’ ℝ) '' univ) ext x simp only [iUnion_singleton_eq_range, mem_range, image_univ, mem_image, exists_exists_eq_and]
3
20.085537
1
1.444444
9
1,528
import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Sym.Sym2 namespace List variable {Ξ± : Type*} section Sym2 protected def sym2 : List Ξ± β†’ List (Sym2 Ξ±) | [] => [] | x :: xs => (x :: xs).map (fun y => s(x, y)) ++ xs.sym2
Mathlib/Data/List/Sym.lean
40
43
theorem mem_sym2_cons_iff {x : Ξ±} {xs : List Ξ±} {z : Sym2 Ξ±} : z ∈ (x :: xs).sym2 ↔ z = s(x, x) ∨ (βˆƒ y, y ∈ xs ∧ z = s(x, y)) ∨ z ∈ xs.sym2 := by
simp only [List.sym2, map_cons, cons_append, mem_cons, mem_append, mem_map] simp only [eq_comm]
2
7.389056
1
1.444444
9
1,529
import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Sym.Sym2 namespace List variable {Ξ± : Type*} section Sym2 protected def sym2 : List Ξ± β†’ List (Sym2 Ξ±) | [] => [] | x :: xs => (x :: xs).map (fun y => s(x, y)) ++ xs.sym2 theorem mem_sym2_cons_iff {x : Ξ±} {xs : List Ξ±} {z : Sym2 Ξ±} : z ∈ (x :: xs)...
Mathlib/Data/List/Sym.lean
46
47
theorem sym2_eq_nil_iff {xs : List Ξ±} : xs.sym2 = [] ↔ xs = [] := by
cases xs <;> simp [List.sym2]
1
2.718282
0
1.444444
9
1,529
import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Sym.Sym2 namespace List variable {Ξ± : Type*} section Sym2 protected def sym2 : List Ξ± β†’ List (Sym2 Ξ±) | [] => [] | x :: xs => (x :: xs).map (fun y => s(x, y)) ++ xs.sym2 theorem mem_sym2_cons_iff {x : Ξ±} {xs : List Ξ±} {z : Sym2 Ξ±} : z ∈ (x :: xs)...
Mathlib/Data/List/Sym.lean
49
61
theorem left_mem_of_mk_mem_sym2 {xs : List α} {a b : α} (h : s(a, b) ∈ xs.sym2) : a ∈ xs := by
induction xs with | nil => exact (not_mem_nil _ h).elim | cons x xs ih => rw [mem_cons] rw [mem_sym2_cons_iff] at h obtain (h | ⟨c, hc, h⟩ | h) := h Β· rw [Sym2.eq_iff, ← and_or_left] at h exact .inl h.1 Β· rw [Sym2.eq_iff] at h obtain (⟨rfl, rfl⟩ | ⟨rfl, rfl⟩) := h <;> simp [hc] ...
11
59,874.141715
2
1.444444
9
1,529
import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Sym.Sym2 namespace List variable {Ξ± : Type*} section Sym2 protected def sym2 : List Ξ± β†’ List (Sym2 Ξ±) | [] => [] | x :: xs => (x :: xs).map (fun y => s(x, y)) ++ xs.sym2 theorem mem_sym2_cons_iff {x : Ξ±} {xs : List Ξ±} {z : Sym2 Ξ±} : z ∈ (x :: xs)...
Mathlib/Data/List/Sym.lean
63
66
theorem right_mem_of_mk_mem_sym2 {xs : List α} {a b : α} (h : s(a, b) ∈ xs.sym2) : b ∈ xs := by
rw [Sym2.eq_swap] at h exact left_mem_of_mk_mem_sym2 h
2
7.389056
1
1.444444
9
1,529
import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Sym.Sym2 namespace List variable {Ξ± : Type*} section Sym2 protected def sym2 : List Ξ± β†’ List (Sym2 Ξ±) | [] => [] | x :: xs => (x :: xs).map (fun y => s(x, y)) ++ xs.sym2 theorem mem_sym2_cons_iff {x : Ξ±} {xs : List Ξ±} {z : Sym2 Ξ±} : z ∈ (x :: xs)...
Mathlib/Data/List/Sym.lean
68
79
theorem mk_mem_sym2 {xs : List α} {a b : α} (ha : a ∈ xs) (hb : b ∈ xs) : s(a, b) ∈ xs.sym2 := by
induction xs with | nil => simp at ha | cons x xs ih => rw [mem_sym2_cons_iff] rw [mem_cons] at ha hb obtain (rfl | ha) := ha <;> obtain (rfl | hb) := hb Β· left; rfl Β· right; left; use b Β· right; left; rw [Sym2.eq_swap]; use a Β· right; right; exact ih ha hb
10
22,026.465795
2
1.444444
9
1,529
import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Sym.Sym2 namespace List variable {Ξ± : Type*} section Sym2 protected def sym2 : List Ξ± β†’ List (Sym2 Ξ±) | [] => [] | x :: xs => (x :: xs).map (fun y => s(x, y)) ++ xs.sym2 theorem mem_sym2_cons_iff {x : Ξ±} {xs : List Ξ±} {z : Sym2 Ξ±} : z ∈ (x :: xs)...
Mathlib/Data/List/Sym.lean
81
87
theorem mk_mem_sym2_iff {xs : List Ξ±} {a b : Ξ±} : s(a, b) ∈ xs.sym2 ↔ a ∈ xs ∧ b ∈ xs := by
constructor · intro h exact ⟨left_mem_of_mk_mem_sym2 h, right_mem_of_mk_mem_sym2 h⟩ · rintro ⟨ha, hb⟩ exact mk_mem_sym2 ha hb
5
148.413159
2
1.444444
9
1,529
import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Sym.Sym2 namespace List variable {Ξ± : Type*} section Sym2 protected def sym2 : List Ξ± β†’ List (Sym2 Ξ±) | [] => [] | x :: xs => (x :: xs).map (fun y => s(x, y)) ++ xs.sym2 theorem mem_sym2_cons_iff {x : Ξ±} {xs : List Ξ±} {z : Sym2 Ξ±} : z ∈ (x :: xs)...
Mathlib/Data/List/Sym.lean
89
92
theorem mem_sym2_iff {xs : List Ξ±} {z : Sym2 Ξ±} : z ∈ xs.sym2 ↔ βˆ€ y ∈ z, y ∈ xs := by
refine z.ind (fun a b => ?_) simp [mk_mem_sym2_iff]
2
7.389056
1
1.444444
9
1,529
import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Sym.Sym2 namespace List variable {Ξ± : Type*} section Sym2 protected def sym2 : List Ξ± β†’ List (Sym2 Ξ±) | [] => [] | x :: xs => (x :: xs).map (fun y => s(x, y)) ++ xs.sym2 theorem mem_sym2_cons_iff {x : Ξ±} {xs : List Ξ±} {z : Sym2 Ξ±} : z ∈ (x :: xs)...
Mathlib/Data/List/Sym.lean
146
151
theorem length_sym2 {xs : List Ξ±} : xs.sym2.length = Nat.choose (xs.length + 1) 2 := by
induction xs with | nil => rfl | cons x xs ih => rw [List.sym2, length_append, length_map, length_cons, Nat.choose_succ_succ, ← ih, Nat.choose_one_right]
5
148.413159
2
1.444444
9
1,529
import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Sym.Sym2 namespace List variable {Ξ± : Type*} section Sym protected def sym : (n : β„•) β†’ List Ξ± β†’ List (Sym Ξ± n) | 0, _ => [.nil] | _, [] => [] | n + 1, x :: xs => ((x :: xs).sym n |>.map fun p => x ::β‚› p) ++ xs.sym (n + 1) variable {xs ys : List Ξ±} ...
Mathlib/Data/List/Sym.lean
165
169
theorem sym_one_eq : xs.sym 1 = xs.map (Β· ::β‚› .nil) := by
induction xs with | nil => simp only [List.sym, Nat.succ_eq_add_one, Nat.reduceAdd, map_nil] | cons x xs ih => rw [map_cons, ← ih, List.sym, List.sym, map_singleton, singleton_append]
4
54.59815
2
1.444444
9
1,529
import Mathlib.Topology.MetricSpace.HausdorffDistance import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.measure.regular from "leanprover-community/mathlib"@"bf6a01357ff5684b1ebcd0f1a13be314fc82c0bf" open Set Filter ENNReal Topology NNReal TopologicalSpace namespace MeasureTh...
Mathlib/MeasureTheory/Measure/Regular.lean
215
219
theorem measure_eq_iSup (H : InnerRegularWRT ΞΌ p q) (hU : q U) : ΞΌ U = ⨆ (K) (_ : K βŠ† U) (_ : p K), ΞΌ K := by
refine le_antisymm (le_of_forall_lt fun r hr => ?_) (iSupβ‚‚_le fun K hK => iSup_le fun _ => ΞΌ.mono hK) simpa only [lt_iSup_iff, exists_prop] using H hU r hr
3
20.085537
1
1.444444
9
1,530
import Mathlib.Topology.MetricSpace.HausdorffDistance import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.measure.regular from "leanprover-community/mathlib"@"bf6a01357ff5684b1ebcd0f1a13be314fc82c0bf" open Set Filter ENNReal Topology NNReal TopologicalSpace namespace MeasureTh...
Mathlib/MeasureTheory/Measure/Regular.lean
222
228
theorem exists_subset_lt_add (H : InnerRegularWRT ΞΌ p q) (h0 : p βˆ…) (hU : q U) (hΞΌU : ΞΌ U β‰  ∞) (hΞ΅ : Ξ΅ β‰  0) : βˆƒ K, K βŠ† U ∧ p K ∧ ΞΌ U < ΞΌ K + Ξ΅ := by
rcases eq_or_ne (ΞΌ U) 0 with hβ‚€ | hβ‚€ Β· refine βŸ¨βˆ…, empty_subset _, h0, ?_⟩ rwa [measure_empty, hβ‚€, zero_add, pos_iff_ne_zero] Β· rcases H hU _ (ENNReal.sub_lt_self hΞΌU hβ‚€ hΞ΅) with ⟨K, hKU, hKc, hrK⟩ exact ⟨K, hKU, hKc, ENNReal.lt_add_of_sub_lt_right (Or.inl hΞΌU) hrK⟩
5
148.413159
2
1.444444
9
1,530
import Mathlib.Topology.MetricSpace.HausdorffDistance import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.measure.regular from "leanprover-community/mathlib"@"bf6a01357ff5684b1ebcd0f1a13be314fc82c0bf" open Set Filter ENNReal Topology NNReal TopologicalSpace namespace MeasureTh...
Mathlib/MeasureTheory/Measure/Regular.lean
244
252
theorem map' {Ξ± Ξ²} [MeasurableSpace Ξ±] [MeasurableSpace Ξ²] {ΞΌ : Measure Ξ±} {pa qa : Set Ξ± β†’ Prop} (H : InnerRegularWRT ΞΌ pa qa) (f : Ξ± ≃ᡐ Ξ²) {pb qb : Set Ξ² β†’ Prop} (hAB : βˆ€ U, qb U β†’ qa (f ⁻¹' U)) (hAB' : βˆ€ K, pa K β†’ pb (f '' K)) : InnerRegularWRT (map f ΞΌ) pb qb := by
intro U hU r hr rw [f.map_apply U] at hr rcases H (hAB U hU) r hr with ⟨K, hKU, hKc, hK⟩ refine ⟨f '' K, image_subset_iff.2 hKU, hAB' _ hKc, ?_⟩ rwa [f.map_apply, f.preimage_image]
5
148.413159
2
1.444444
9
1,530
import Mathlib.Topology.MetricSpace.HausdorffDistance import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.measure.regular from "leanprover-community/mathlib"@"bf6a01357ff5684b1ebcd0f1a13be314fc82c0bf" open Set Filter ENNReal Topology NNReal TopologicalSpace namespace MeasureTh...
Mathlib/MeasureTheory/Measure/Regular.lean
254
257
theorem smul (H : InnerRegularWRT ΞΌ p q) (c : ℝβ‰₯0∞) : InnerRegularWRT (c β€’ ΞΌ) p q := by
intro U hU r hr rw [smul_apply, H.measure_eq_iSup hU, smul_eq_mul] at hr simpa only [ENNReal.mul_iSup, lt_iSup_iff, exists_prop] using hr
3
20.085537
1
1.444444
9
1,530
import Mathlib.Topology.MetricSpace.HausdorffDistance import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.measure.regular from "leanprover-community/mathlib"@"bf6a01357ff5684b1ebcd0f1a13be314fc82c0bf" open Set Filter ENNReal Topology NNReal TopologicalSpace namespace MeasureTh...
Mathlib/MeasureTheory/Measure/Regular.lean
260
264
theorem trans {q' : Set Ξ± β†’ Prop} (H : InnerRegularWRT ΞΌ p q) (H' : InnerRegularWRT ΞΌ q q') : InnerRegularWRT ΞΌ p q' := by
intro U hU r hr rcases H' hU r hr with ⟨F, hFU, hqF, hF⟩; rcases H hqF _ hF with ⟨K, hKF, hpK, hrK⟩ exact ⟨K, hKF.trans hFU, hpK, hrK⟩
3
20.085537
1
1.444444
9
1,530
import Mathlib.Topology.MetricSpace.HausdorffDistance import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.measure.regular from "leanprover-community/mathlib"@"bf6a01357ff5684b1ebcd0f1a13be314fc82c0bf" open Set Filter ENNReal Topology NNReal TopologicalSpace namespace MeasureTh...
Mathlib/MeasureTheory/Measure/Regular.lean
339
344
theorem _root_.Set.exists_isOpen_lt_of_lt [OuterRegular ΞΌ] (A : Set Ξ±) (r : ℝβ‰₯0∞) (hr : ΞΌ A < r) : βˆƒ U, U βŠ‡ A ∧ IsOpen U ∧ ΞΌ U < r := by
rcases OuterRegular.outerRegular (measurableSet_toMeasurable μ A) r (by rwa [measure_toMeasurable]) with ⟨U, hAU, hUo, hU⟩ exact ⟨U, (subset_toMeasurable _ _).trans hAU, hUo, hU⟩
4
54.59815
2
1.444444
9
1,530
import Mathlib.Topology.MetricSpace.HausdorffDistance import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.measure.regular from "leanprover-community/mathlib"@"bf6a01357ff5684b1ebcd0f1a13be314fc82c0bf" open Set Filter ENNReal Topology NNReal TopologicalSpace namespace MeasureTh...
Mathlib/MeasureTheory/Measure/Regular.lean
349
353
theorem _root_.Set.measure_eq_iInf_isOpen (A : Set Ξ±) (ΞΌ : Measure Ξ±) [OuterRegular ΞΌ] : ΞΌ A = β¨… (U : Set Ξ±) (_ : A βŠ† U) (_ : IsOpen U), ΞΌ U := by
refine le_antisymm (le_iInfβ‚‚ fun s hs => le_iInf fun _ => ΞΌ.mono hs) ?_ refine le_of_forall_lt' fun r hr => ?_ simpa only [iInf_lt_iff, exists_prop] using A.exists_isOpen_lt_of_lt r hr
3
20.085537
1
1.444444
9
1,530
import Mathlib.Topology.MetricSpace.HausdorffDistance import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.measure.regular from "leanprover-community/mathlib"@"bf6a01357ff5684b1ebcd0f1a13be314fc82c0bf" open Set Filter ENNReal Topology NNReal TopologicalSpace namespace MeasureTh...
Mathlib/MeasureTheory/Measure/Regular.lean
361
366
theorem _root_.Set.exists_isOpen_le_add (A : Set Ξ±) (ΞΌ : Measure Ξ±) [OuterRegular ΞΌ] {Ξ΅ : ℝβ‰₯0∞} (hΞ΅ : Ξ΅ β‰  0) : βˆƒ U, U βŠ‡ A ∧ IsOpen U ∧ ΞΌ U ≀ ΞΌ A + Ξ΅ := by
rcases eq_or_ne (μ A) ∞ with (H | H) · exact ⟨univ, subset_univ _, isOpen_univ, by simp only [H, _root_.top_add, le_top]⟩ · rcases A.exists_isOpen_lt_add H hΡ with ⟨U, AU, U_open, hU⟩ exact ⟨U, AU, U_open, hU.le⟩
4
54.59815
2
1.444444
9
1,530
import Mathlib.Topology.MetricSpace.HausdorffDistance import Mathlib.MeasureTheory.Constructions.BorelSpace.Order #align_import measure_theory.measure.regular from "leanprover-community/mathlib"@"bf6a01357ff5684b1ebcd0f1a13be314fc82c0bf" open Set Filter ENNReal Topology NNReal TopologicalSpace namespace MeasureTh...
Mathlib/MeasureTheory/Measure/Regular.lean
369
374
theorem _root_.MeasurableSet.exists_isOpen_diff_lt [OuterRegular ΞΌ] {A : Set Ξ±} (hA : MeasurableSet A) (hA' : ΞΌ A β‰  ∞) {Ξ΅ : ℝβ‰₯0∞} (hΞ΅ : Ξ΅ β‰  0) : βˆƒ U, U βŠ‡ A ∧ IsOpen U ∧ ΞΌ U < ∞ ∧ ΞΌ (U \ A) < Ξ΅ := by
rcases A.exists_isOpen_lt_add hA' hΡ with ⟨U, hAU, hUo, hU⟩ use U, hAU, hUo, hU.trans_le le_top exact measure_diff_lt_of_lt_add hA hAU hA' hU
3
20.085537
1
1.444444
9
1,530
import Mathlib.Probability.IdentDistrib import Mathlib.MeasureTheory.Integral.DominatedConvergence import Mathlib.Analysis.SpecificLimits.FloorPow import Mathlib.Analysis.PSeries import Mathlib.Analysis.Asymptotics.SpecificAsymptotics #align_import probability.strong_law from "leanprover-community/mathlib"@"f2ce60867...
Mathlib/Probability/StrongLaw.lean
82
85
theorem _root_.MeasureTheory.AEStronglyMeasurable.truncation (hf : AEStronglyMeasurable f ΞΌ) {A : ℝ} : AEStronglyMeasurable (truncation f A) ΞΌ := by
apply AEStronglyMeasurable.comp_aemeasurable _ hf.aemeasurable exact (stronglyMeasurable_id.indicator measurableSet_Ioc).aestronglyMeasurable
2
7.389056
1
1.444444
9
1,531
import Mathlib.Probability.IdentDistrib import Mathlib.MeasureTheory.Integral.DominatedConvergence import Mathlib.Analysis.SpecificLimits.FloorPow import Mathlib.Analysis.PSeries import Mathlib.Analysis.Asymptotics.SpecificAsymptotics #align_import probability.strong_law from "leanprover-community/mathlib"@"f2ce60867...
Mathlib/Probability/StrongLaw.lean
88
92
theorem abs_truncation_le_bound (f : Ξ± β†’ ℝ) (A : ℝ) (x : Ξ±) : |truncation f A x| ≀ |A| := by
simp only [truncation, Set.indicator, Set.mem_Icc, id, Function.comp_apply] split_ifs with h Β· exact abs_le_abs h.2 (neg_le.2 h.1.le) Β· simp [abs_nonneg]
4
54.59815
2
1.444444
9
1,531
import Mathlib.Probability.IdentDistrib import Mathlib.MeasureTheory.Integral.DominatedConvergence import Mathlib.Analysis.SpecificLimits.FloorPow import Mathlib.Analysis.PSeries import Mathlib.Analysis.Asymptotics.SpecificAsymptotics #align_import probability.strong_law from "leanprover-community/mathlib"@"f2ce60867...
Mathlib/Probability/StrongLaw.lean
96
96
theorem truncation_zero (f : Ξ± β†’ ℝ) : truncation f 0 = 0 := by
simp [truncation]; rfl
1
2.718282
0
1.444444
9
1,531
import Mathlib.Probability.IdentDistrib import Mathlib.MeasureTheory.Integral.DominatedConvergence import Mathlib.Analysis.SpecificLimits.FloorPow import Mathlib.Analysis.PSeries import Mathlib.Analysis.Asymptotics.SpecificAsymptotics #align_import probability.strong_law from "leanprover-community/mathlib"@"f2ce60867...
Mathlib/Probability/StrongLaw.lean
99
103
theorem abs_truncation_le_abs_self (f : Ξ± β†’ ℝ) (A : ℝ) (x : Ξ±) : |truncation f A x| ≀ |f x| := by
simp only [truncation, indicator, Set.mem_Icc, id, Function.comp_apply] split_ifs Β· exact le_rfl Β· simp [abs_nonneg]
4
54.59815
2
1.444444
9
1,531
import Mathlib.Probability.IdentDistrib import Mathlib.MeasureTheory.Integral.DominatedConvergence import Mathlib.Analysis.SpecificLimits.FloorPow import Mathlib.Analysis.PSeries import Mathlib.Analysis.Asymptotics.SpecificAsymptotics #align_import probability.strong_law from "leanprover-community/mathlib"@"f2ce60867...
Mathlib/Probability/StrongLaw.lean
106
111
theorem truncation_eq_self {f : Ξ± β†’ ℝ} {A : ℝ} {x : Ξ±} (h : |f x| < A) : truncation f A x = f x := by
simp only [truncation, indicator, Set.mem_Icc, id, Function.comp_apply, ite_eq_left_iff] intro H apply H.elim simp [(abs_lt.1 h).1, (abs_lt.1 h).2.le]
4
54.59815
2
1.444444
9
1,531
import Mathlib.Probability.IdentDistrib import Mathlib.MeasureTheory.Integral.DominatedConvergence import Mathlib.Analysis.SpecificLimits.FloorPow import Mathlib.Analysis.PSeries import Mathlib.Analysis.Asymptotics.SpecificAsymptotics #align_import probability.strong_law from "leanprover-community/mathlib"@"f2ce60867...
Mathlib/Probability/StrongLaw.lean
114
123
theorem truncation_eq_of_nonneg {f : Ξ± β†’ ℝ} {A : ℝ} (h : βˆ€ x, 0 ≀ f x) : truncation f A = indicator (Set.Ioc 0 A) id ∘ f := by
ext x rcases (h x).lt_or_eq with (hx | hx) Β· simp only [truncation, indicator, hx, Set.mem_Ioc, id, Function.comp_apply, true_and_iff] by_cases h'x : f x ≀ A Β· have : -A < f x := by linarith [h x] simp only [this, true_and_iff] Β· simp only [h'x, and_false_iff] Β· simp only [truncation, indicat...
8
2,980.957987
2
1.444444
9
1,531
import Mathlib.Probability.IdentDistrib import Mathlib.MeasureTheory.Integral.DominatedConvergence import Mathlib.Analysis.SpecificLimits.FloorPow import Mathlib.Analysis.PSeries import Mathlib.Analysis.Asymptotics.SpecificAsymptotics #align_import probability.strong_law from "leanprover-community/mathlib"@"f2ce60867...
Mathlib/Probability/StrongLaw.lean
135
137
theorem _root_.MeasureTheory.AEStronglyMeasurable.integrable_truncation [IsFiniteMeasure ΞΌ] (hf : AEStronglyMeasurable f ΞΌ) {A : ℝ} : Integrable (truncation f A) ΞΌ := by
rw [← memβ„’p_one_iff_integrable]; exact hf.memβ„’p_truncation
1
2.718282
0
1.444444
9
1,531
import Mathlib.Probability.IdentDistrib import Mathlib.MeasureTheory.Integral.DominatedConvergence import Mathlib.Analysis.SpecificLimits.FloorPow import Mathlib.Analysis.PSeries import Mathlib.Analysis.Asymptotics.SpecificAsymptotics #align_import probability.strong_law from "leanprover-community/mathlib"@"f2ce60867...
Mathlib/Probability/StrongLaw.lean
140
148
theorem moment_truncation_eq_intervalIntegral (hf : AEStronglyMeasurable f ΞΌ) {A : ℝ} (hA : 0 ≀ A) {n : β„•} (hn : n β‰  0) : ∫ x, truncation f A x ^ n βˆ‚ΞΌ = ∫ y in -A..A, y ^ n βˆ‚Measure.map f ΞΌ := by
have M : MeasurableSet (Set.Ioc (-A) A) := measurableSet_Ioc change ∫ x, (fun z => indicator (Set.Ioc (-A) A) id z ^ n) (f x) βˆ‚ΞΌ = _ rw [← integral_map (f := fun z => _ ^ n) hf.aemeasurable, intervalIntegral.integral_of_le, ← integral_indicator M] Β· simp only [indicator, zero_pow hn, id, ite_pow] Β· linar...
7
1,096.633158
2
1.444444
9
1,531
import Mathlib.Probability.IdentDistrib import Mathlib.MeasureTheory.Integral.DominatedConvergence import Mathlib.Analysis.SpecificLimits.FloorPow import Mathlib.Analysis.PSeries import Mathlib.Analysis.Asymptotics.SpecificAsymptotics #align_import probability.strong_law from "leanprover-community/mathlib"@"f2ce60867...
Mathlib/Probability/StrongLaw.lean
151
175
theorem moment_truncation_eq_intervalIntegral_of_nonneg (hf : AEStronglyMeasurable f ΞΌ) {A : ℝ} {n : β„•} (hn : n β‰  0) (h'f : 0 ≀ f) : ∫ x, truncation f A x ^ n βˆ‚ΞΌ = ∫ y in (0)..A, y ^ n βˆ‚Measure.map f ΞΌ := by
have M : MeasurableSet (Set.Ioc 0 A) := measurableSet_Ioc have M' : MeasurableSet (Set.Ioc A 0) := measurableSet_Ioc rw [truncation_eq_of_nonneg h'f] change ∫ x, (fun z => indicator (Set.Ioc 0 A) id z ^ n) (f x) βˆ‚ΞΌ = _ rcases le_or_lt 0 A with (hA | hA) Β· rw [← integral_map (f := fun z => _ ^ n) hf.aemeasu...
22
3,584,912,846.131591
2
1.444444
9
1,531
import Mathlib.Algebra.Order.Ring.Abs import Mathlib.Tactic.Ring #align_import data.nat.hyperoperation from "leanprover-community/mathlib"@"f7fc89d5d5ff1db2d1242c7bb0e9062ce47ef47c" def hyperoperation : β„• β†’ β„• β†’ β„• β†’ β„• | 0, _, k => k + 1 | 1, m, 0 => m | 2, _, 0 => 0 | _ + 3, _, 0 => 1 | n + 1, m, k + 1 ...
Mathlib/Data/Nat/Hyperoperation.lean
49
50
theorem hyperoperation_ge_three_eq_one (n m : β„•) : hyperoperation (n + 3) m 0 = 1 := by
rw [hyperoperation]
1
2.718282
0
1.444444
9
1,532
import Mathlib.Algebra.Order.Ring.Abs import Mathlib.Tactic.Ring #align_import data.nat.hyperoperation from "leanprover-community/mathlib"@"f7fc89d5d5ff1db2d1242c7bb0e9062ce47ef47c" def hyperoperation : β„• β†’ β„• β†’ β„• β†’ β„• | 0, _, k => k + 1 | 1, m, 0 => m | 2, _, 0 => 0 | _ + 3, _, 0 => 1 | n + 1, m, k + 1 ...
Mathlib/Data/Nat/Hyperoperation.lean
53
55
theorem hyperoperation_recursion (n m k : β„•) : hyperoperation (n + 1) m (k + 1) = hyperoperation n m (hyperoperation (n + 1) m k) := by
rw [hyperoperation]
1
2.718282
0
1.444444
9
1,532
import Mathlib.Algebra.Order.Ring.Abs import Mathlib.Tactic.Ring #align_import data.nat.hyperoperation from "leanprover-community/mathlib"@"f7fc89d5d5ff1db2d1242c7bb0e9062ce47ef47c" def hyperoperation : β„• β†’ β„• β†’ β„• β†’ β„• | 0, _, k => k + 1 | 1, m, 0 => m | 2, _, 0 => 0 | _ + 3, _, 0 => 1 | n + 1, m, k + 1 ...
Mathlib/Data/Nat/Hyperoperation.lean
60
65
theorem hyperoperation_one : hyperoperation 1 = (Β· + Β·) := by
ext m k induction' k with bn bih Β· rw [Nat.add_zero m, hyperoperation] Β· rw [hyperoperation_recursion, bih, hyperoperation_zero] exact Nat.add_assoc m bn 1
5
148.413159
2
1.444444
9
1,532
import Mathlib.Algebra.Order.Ring.Abs import Mathlib.Tactic.Ring #align_import data.nat.hyperoperation from "leanprover-community/mathlib"@"f7fc89d5d5ff1db2d1242c7bb0e9062ce47ef47c" def hyperoperation : β„• β†’ β„• β†’ β„• β†’ β„• | 0, _, k => k + 1 | 1, m, 0 => m | 2, _, 0 => 0 | _ + 3, _, 0 => 1 | n + 1, m, k + 1 ...
Mathlib/Data/Nat/Hyperoperation.lean
69
78
theorem hyperoperation_two : hyperoperation 2 = (Β· * Β·) := by
ext m k induction' k with bn bih Β· rw [hyperoperation] exact (Nat.mul_zero m).symm Β· rw [hyperoperation_recursion, hyperoperation_one, bih] -- Porting note: was `ring` dsimp only nth_rewrite 1 [← mul_one m] rw [← mul_add, add_comm]
9
8,103.083928
2
1.444444
9
1,532
import Mathlib.Algebra.Order.Ring.Abs import Mathlib.Tactic.Ring #align_import data.nat.hyperoperation from "leanprover-community/mathlib"@"f7fc89d5d5ff1db2d1242c7bb0e9062ce47ef47c" def hyperoperation : β„• β†’ β„• β†’ β„• β†’ β„• | 0, _, k => k + 1 | 1, m, 0 => m | 2, _, 0 => 0 | _ + 3, _, 0 => 1 | n + 1, m, k + 1 ...
Mathlib/Data/Nat/Hyperoperation.lean
82
88
theorem hyperoperation_three : hyperoperation 3 = (Β· ^ Β·) := by
ext m k induction' k with bn bih Β· rw [hyperoperation_ge_three_eq_one] exact (pow_zero m).symm Β· rw [hyperoperation_recursion, hyperoperation_two, bih] exact (pow_succ' m bn).symm
6
403.428793
2
1.444444
9
1,532
import Mathlib.Algebra.Order.Ring.Abs import Mathlib.Tactic.Ring #align_import data.nat.hyperoperation from "leanprover-community/mathlib"@"f7fc89d5d5ff1db2d1242c7bb0e9062ce47ef47c" def hyperoperation : β„• β†’ β„• β†’ β„• β†’ β„• | 0, _, k => k + 1 | 1, m, 0 => m | 2, _, 0 => 0 | _ + 3, _, 0 => 1 | n + 1, m, k + 1 ...
Mathlib/Data/Nat/Hyperoperation.lean
91
95
theorem hyperoperation_ge_two_eq_self (n m : β„•) : hyperoperation (n + 2) m 1 = m := by
induction' n with nn nih Β· rw [hyperoperation_two] ring Β· rw [hyperoperation_recursion, hyperoperation_ge_three_eq_one, nih]
4
54.59815
2
1.444444
9
1,532
import Mathlib.Algebra.Order.Ring.Abs import Mathlib.Tactic.Ring #align_import data.nat.hyperoperation from "leanprover-community/mathlib"@"f7fc89d5d5ff1db2d1242c7bb0e9062ce47ef47c" def hyperoperation : β„• β†’ β„• β†’ β„• β†’ β„• | 0, _, k => k + 1 | 1, m, 0 => m | 2, _, 0 => 0 | _ + 3, _, 0 => 1 | n + 1, m, k + 1 ...
Mathlib/Data/Nat/Hyperoperation.lean
98
101
theorem hyperoperation_two_two_eq_four (n : β„•) : hyperoperation (n + 1) 2 2 = 4 := by
induction' n with nn nih Β· rw [hyperoperation_one] Β· rw [hyperoperation_recursion, hyperoperation_ge_two_eq_self, nih]
3
20.085537
1
1.444444
9
1,532
import Mathlib.Algebra.Order.Ring.Abs import Mathlib.Tactic.Ring #align_import data.nat.hyperoperation from "leanprover-community/mathlib"@"f7fc89d5d5ff1db2d1242c7bb0e9062ce47ef47c" def hyperoperation : β„• β†’ β„• β†’ β„• β†’ β„• | 0, _, k => k + 1 | 1, m, 0 => m | 2, _, 0 => 0 | _ + 3, _, 0 => 1 | n + 1, m, k + 1 ...
Mathlib/Data/Nat/Hyperoperation.lean
104
113
theorem hyperoperation_ge_three_one (n : β„•) : βˆ€ k : β„•, hyperoperation (n + 3) 1 k = 1 := by
induction' n with nn nih Β· intro k rw [hyperoperation_three] dsimp rw [one_pow] Β· intro k cases k Β· rw [hyperoperation_ge_three_eq_one] Β· rw [hyperoperation_recursion, nih]
9
8,103.083928
2
1.444444
9
1,532
import Mathlib.Algebra.Order.Ring.Abs import Mathlib.Tactic.Ring #align_import data.nat.hyperoperation from "leanprover-community/mathlib"@"f7fc89d5d5ff1db2d1242c7bb0e9062ce47ef47c" def hyperoperation : β„• β†’ β„• β†’ β„• β†’ β„• | 0, _, k => k + 1 | 1, m, 0 => m | 2, _, 0 => 0 | _ + 3, _, 0 => 1 | n + 1, m, k + 1 ...
Mathlib/Data/Nat/Hyperoperation.lean
116
126
theorem hyperoperation_ge_four_zero (n k : β„•) : hyperoperation (n + 4) 0 k = if Even k then 1 else 0 := by
induction' k with kk kih Β· rw [hyperoperation_ge_three_eq_one] simp only [Nat.zero_eq, even_zero, if_true] Β· rw [hyperoperation_recursion] rw [kih] simp_rw [Nat.even_add_one] split_ifs Β· exact hyperoperation_ge_two_eq_self (n + 1) 0 Β· exact hyperoperation_ge_three_eq_one n 0
9
8,103.083928
2
1.444444
9
1,532