Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Mathlib/Algebra/Module/ZLattice/Covolume.lean
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ section Basic
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E]
variable [MeasurableSpace E] [BorelSpace E]
variable (L : Submodule ℤ E) [DiscreteTopology L] [IsZLattice ℝ L]
#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (μ : Measure E := by volume_tac) [Measure.IsAddHaarMeasure μ]

set_option backward.privateInPublic true in
Expand Down
8 changes: 8 additions & 0 deletions Mathlib/AlgebraicTopology/SimplicialSet/CompStruct.lean
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ lemma ext {e e' : Edge x₀ x₁} (h : e.edge = e'.edge) :

section

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (edge : X _⦋1⦌) (src_eq : X.δ 1 edge = x₀ := by cat_disch)
(tgt_eq : X.δ 0 edge = x₁ := by cat_disch)

Expand Down Expand Up @@ -202,6 +206,10 @@ end

section

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (simplex : X _⦋2⦌)
(d₂ : X.δ 2 simplex = e₀₁.edge := by cat_disch)
(d₀ : X.δ 0 simplex = e₁₂.edge := by cat_disch)
Expand Down
4 changes: 4 additions & 0 deletions Mathlib/AlgebraicTopology/SimplicialSet/StrictSegal.lean
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ lemma spineToSimplex_spine_apply (m : ℕ) (h : m ≤ n + 1) (Δ : X _⦋m⦌ₙ

section autoParam

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (m : ℕ) (h : m ≤ n + 1 := by lia)

set_option backward.privateInPublic true in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,20 @@ noncomputable irreducible_def cfcₙ (f : R → R) (a : A) : A :=
else 0

variable (f g : R → R) (a : A)
#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (hf : ContinuousOn f (σₙ R a) := by cfc_cont_tac) (hf0 : f 0 = 0 := by cfc_zero_tac)
#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (hg : ContinuousOn g (σₙ R a) := by cfc_cont_tac) (hg0 : g 0 = 0 := by cfc_zero_tac)
#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (ha : p a := by cfc_tac)

set_option backward.privateInPublic true in
Expand Down Expand Up @@ -586,7 +598,15 @@ variable [IsTopologicalRing R] [ContinuousStar R] [TopologicalSpace A] [NonUnita
variable [StarRing A] [Module R A] [IsScalarTower R A A] [SMulCommClass R A A]
variable [NonUnitalContinuousFunctionalCalculus R A p]
variable (f g : R → R) (a : A)
#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (hf : ContinuousOn f (σₙ R a) := by cfc_cont_tac) (hf0 : f 0 = 0 := by cfc_zero_tac)
#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (hg : ContinuousOn g (σₙ R a) := by cfc_cont_tac) (hg0 : g 0 = 0 := by cfc_zero_tac)

set_option backward.privateInPublic true in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,20 @@ noncomputable irreducible_def cfc (f : R → R) (a : A) : A :=
then cfcHom h.1 ⟨_, h.2.domRestrict⟩
else 0

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (f g : R → R) (a : A) (ha : p a := by cfc_tac)
#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (hf : ContinuousOn f (spectrum R a) := by cfc_cont_tac)
#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (hg : ContinuousOn g (spectrum R a) := by cfc_cont_tac)

set_option backward.privateInPublic true in
Expand Down Expand Up @@ -877,7 +889,15 @@ section Neg
variable {R A : Type*} {p : A → Prop} [CommRing R] [StarRing R] [MetricSpace R]
variable [IsTopologicalRing R] [ContinuousStar R] [TopologicalSpace A]
variable [Ring A] [StarRing A] [Algebra R A] [ContinuousFunctionalCalculus R A p]
#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (f g : R → R) (a : A) (hf : ContinuousOn f (spectrum R a) := by cfc_cont_tac)
#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (hg : ContinuousOn g (spectrum R a) := by cfc_cont_tac)

set_option backward.privateInPublic true in
Expand Down
8 changes: 8 additions & 0 deletions Mathlib/Analysis/Distribution/TemperedDistribution.lean
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ variable [NormedAddCommGroup E] [NormedSpace ℝ E]

namespace MeasureTheory.Measure

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable [MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E]
(μ : Measure E := by volume_tac) [hμ : μ.HasTemperateGrowth]

Expand All @@ -89,6 +93,10 @@ end MeasureTheory.Measure

namespace Function.HasTemperateGrowth

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable [MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E]
(μ : Measure E := by volume_tac) [hμ : μ.HasTemperateGrowth]

Expand Down
20 changes: 20 additions & 0 deletions Mathlib/CategoryTheory/ComposableArrows/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,10 @@ def homMkSucc (α : F.obj' 0 ⟶ G.obj' 0) (β : F.δ₀ ⟶ G.δ₀)
· exact w
· exact naturality' β i (i + 1))

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable (α : F.obj' 0 ⟶ G.obj' 0) (β : F.δ₀ ⟶ G.δ₀)
(w : F.map' 0 1 ≫ app' β 0 = α ≫ G.map' 0 1 := by cat_disch)

Expand Down Expand Up @@ -654,6 +658,10 @@ lemma precomp_surjective (F : ComposableArrows C (n + 1)) :

section

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable
{f g : ComposableArrows C 2}
(app₀ : f.obj' 0 ⟶ g.obj' 0) (app₁ : f.obj' 1 ⟶ g.obj' 1) (app₂ : f.obj' 2 ⟶ g.obj' 2)
Expand Down Expand Up @@ -730,6 +738,10 @@ lemma ext₂_of_arrow {f g : ComposableArrows C 2}

section

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable
{f g : ComposableArrows C 3}
(app₀ : f.obj' 0 ⟶ g.obj' 0) (app₁ : f.obj' 1 ⟶ g.obj' 1) (app₂ : f.obj' 2 ⟶ g.obj' 2)
Expand Down Expand Up @@ -801,6 +813,10 @@ lemma mk₃_surjective (X : ComposableArrows C 3) :

section

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable
{f g : ComposableArrows C 4}
(app₀ : f.obj' 0 ⟶ g.obj' 0) (app₁ : f.obj' 1 ⟶ g.obj' 1) (app₂ : f.obj' 2 ⟶ g.obj' 2)
Expand Down Expand Up @@ -887,6 +903,10 @@ lemma mk₄_surjective (X : ComposableArrows C 4) :

section

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable
{f g : ComposableArrows C 5}
(app₀ : f.obj' 0 ⟶ g.obj' 0) (app₁ : f.obj' 1 ⟶ g.obj' 1) (app₂ : f.obj' 2 ⟶ g.obj' 2)
Expand Down
4 changes: 4 additions & 0 deletions Mathlib/CategoryTheory/Join/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,10 @@ def mkNatTrans {F : C ⋆ D ⥤ E} {F' : C ⋆ D ⥤ E}

section

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable {F : C ⋆ D ⥤ E} {F' : C ⋆ D ⥤ E}
(αₗ : inclLeft C D ⋙ F ⟶ inclLeft C D ⋙ F') (αᵣ : inclRight C D ⋙ F ⟶ inclRight C D ⋙ F')
(h : whiskerRight (edgeTransform C D) F ≫ whiskerLeft (Prod.snd C D) αᵣ =
Expand Down
4 changes: 4 additions & 0 deletions Mathlib/CategoryTheory/Limits/Shapes/Reflexive.lean
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@ open WalkingReflexivePair WalkingReflexivePair.Hom
section
section NatTrans

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable {F G : WalkingReflexivePair ⥤ C}
(e₀ : F.obj zero ⟶ G.obj zero) (e₁ : F.obj one ⟶ G.obj one)
(h₁ : F.map left ≫ e₀ = e₁ ≫ G.map left := by cat_disch)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ theorem hom_ext {W : C} {φ₁ φ₂ : W ⟶ pullbackObj f g} (h₁ : φ₁ ≫

section Lift

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable {W : C} (a : W ⟶ Y) (b : W ⟶ Z) (h : a ≫ f = b ≫ g := by cat_disch)

set_option backward.privateInPublic true in
Expand Down
4 changes: 4 additions & 0 deletions Mathlib/CategoryTheory/Monoidal/Braided/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,10 @@ def fullyFaithfulForget : (forget (C := C) (D := D)).FullyFaithful :=

section

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable {F G : LaxBraidedFunctor C D} (e : ∀ X, F.obj X ≅ G.obj X)
(naturality : ∀ {X Y : C} (f : X ⟶ Y), F.map f ≫ (e Y).hom = (e X).hom ≫ G.map f := by
cat_disch)
Expand Down
4 changes: 4 additions & 0 deletions Mathlib/CategoryTheory/Monoidal/CommGrp_.lean
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ def mkIso' {G H : C} (e : G ≅ H) [GrpObj G] [IsCommMonObj G] [GrpObj H] [IsCom

section

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable {G H : CommGrp C} (e : G.X ≅ H.X) (one_f : η[G.X] ≫ e.hom = η[H.X] := by cat_disch)
(mul_f : μ[G.X] ≫ e.hom = (e.hom ⊗ₘ e.hom) ≫ μ[H.X] := by cat_disch)

Expand Down
4 changes: 4 additions & 0 deletions Mathlib/CategoryTheory/Monoidal/Functor.lean
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ end

section

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable {F : C ⥤ D}
/- unit morphism -/
(ε : 𝟙_ D ⟶ F.obj (𝟙_ C))
Expand Down
4 changes: 4 additions & 0 deletions Mathlib/CategoryTheory/Sites/Point/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ lemma presheafFiber_map_shrinkYoneda_map_shrinkYonedaCompPresheafFiberIso_inv_ap

section

#adaptation_note
/-- The autoParam in this `variable` generates a private helper declaration, so every public
declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable {P : Cᵒᵖ ⥤ A} {T : A}
(φ : ∀ (X : C) (_ : Φ.fiber.obj X), P.obj (op X) ⟶ T)
(hφ : ∀ ⦃X Y : C⦄ (f : X ⟶ Y) (x : Φ.fiber.obj X),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ open Category

namespace SmallObject

#adaptation_note
/-- The tactic proof in this `variable`'s type generates a private helper declaration, so every
public declaration using the variable needs `set_option backward.privateInPublic true in`; see
https://github.com/leanprover/lean4/issues/14708. Once that is fixed, those `set_option`s can go. -/
variable {C : Type*} [Category* C]
{J : Type u} [LinearOrder J] [SuccOrder J] {j : J} (hj : ¬IsMax j)
(F : Set.Iic j ⥤ C) {X : C} (τ : F.obj ⟨j, by simp⟩ ⟶ X)
Expand Down
Loading