Skip to content

Commit dfd747a

Browse files
sgouezelriccardobrasca
authored andcommitted
chore: use fast_instance% in classes of continuous maps (leanprover-community#37629)
Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
1 parent 3abbc41 commit dfd747a

5 files changed

Lines changed: 70 additions & 63 deletions

File tree

Mathlib/Topology/ContinuousMap/Algebra.lean

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -245,35 +245,35 @@ namespace ContinuousMap
245245
variable {α β : Type*} [TopologicalSpace α] [TopologicalSpace β]
246246

247247
@[to_additive]
248-
instance [Semigroup β] [ContinuousMul β] : Semigroup C(α, β) :=
248+
instance [Semigroup β] [ContinuousMul β] : Semigroup C(α, β) := fast_instance%
249249
coe_injective.semigroup _ coe_mul
250250

251251
@[to_additive]
252-
instance [CommSemigroup β] [ContinuousMul β] : CommSemigroup C(α, β) :=
252+
instance [CommSemigroup β] [ContinuousMul β] : CommSemigroup C(α, β) := fast_instance%
253253
coe_injective.commSemigroup _ coe_mul
254254

255255
@[to_additive]
256-
instance [MulOneClass β] [ContinuousMul β] : MulOneClass C(α, β) :=
256+
instance [MulOneClass β] [ContinuousMul β] : MulOneClass C(α, β) := fast_instance%
257257
coe_injective.mulOneClass _ coe_one coe_mul
258258

259-
instance [MulZeroClass β] [ContinuousMul β] : MulZeroClass C(α, β) :=
259+
instance [MulZeroClass β] [ContinuousMul β] : MulZeroClass C(α, β) := fast_instance%
260260
coe_injective.mulZeroClass _ coe_zero coe_mul
261261

262-
instance [SemigroupWithZero β] [ContinuousMul β] : SemigroupWithZero C(α, β) :=
262+
instance [SemigroupWithZero β] [ContinuousMul β] : SemigroupWithZero C(α, β) := fast_instance%
263263
coe_injective.semigroupWithZero _ coe_zero coe_mul
264264

265265
@[to_additive]
266-
instance [Monoid β] [ContinuousMul β] : Monoid C(α, β) :=
266+
instance [Monoid β] [ContinuousMul β] : Monoid C(α, β) := fast_instance%
267267
coe_injective.monoid _ coe_one coe_mul coe_pow
268268

269-
instance [MonoidWithZero β] [ContinuousMul β] : MonoidWithZero C(α, β) :=
269+
instance [MonoidWithZero β] [ContinuousMul β] : MonoidWithZero C(α, β) := fast_instance%
270270
coe_injective.monoidWithZero _ coe_zero coe_one coe_mul coe_pow
271271

272272
@[to_additive]
273-
instance [CommMonoid β] [ContinuousMul β] : CommMonoid C(α, β) :=
273+
instance [CommMonoid β] [ContinuousMul β] : CommMonoid C(α, β) := fast_instance%
274274
coe_injective.commMonoid _ coe_one coe_mul coe_pow
275275

276-
instance [CommMonoidWithZero β] [ContinuousMul β] : CommMonoidWithZero C(α, β) :=
276+
instance [CommMonoidWithZero β] [ContinuousMul β] : CommMonoidWithZero C(α, β) := fast_instance%
277277
coe_injective.commMonoidWithZero _ coe_zero coe_one coe_mul coe_pow
278278

279279
@[to_additive]
@@ -326,11 +326,12 @@ theorem prod_apply [CommMonoid β] [ContinuousMul β] {ι : Type*} (s : Finset
326326
(a : α) : (∏ i ∈ s, f i) a = ∏ i ∈ s, f i a := by simp
327327

328328
@[to_additive]
329-
instance [Group β] [IsTopologicalGroup β] : Group C(α, β) :=
329+
instance [Group β] [IsTopologicalGroup β] : Group C(α, β) := fast_instance%
330330
coe_injective.group _ coe_one coe_mul coe_inv coe_div coe_pow coe_zpow
331331

332332
@[to_additive]
333-
instance instCommGroupContinuousMap [CommGroup β] [IsTopologicalGroup β] : CommGroup C(α, β) :=
333+
instance instCommGroupContinuousMap [CommGroup β] [IsTopologicalGroup β] :
334+
CommGroup C(α, β) := fast_instance%
334335
coe_injective.commGroup _ coe_one coe_mul coe_inv coe_div coe_pow coe_zpow
335336

336337
@[to_additive]
@@ -409,56 +410,59 @@ namespace ContinuousMap
409410

410411
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β]
411412
[NonUnitalNonAssocSemiring β] [IsTopologicalSemiring β] : NonUnitalNonAssocSemiring C(α, β) :=
413+
fast_instance%
412414
coe_injective.nonUnitalNonAssocSemiring _ coe_zero coe_add coe_mul coe_nsmul
413415

414416
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β] [NonUnitalSemiring β]
415-
[IsTopologicalSemiring β] : NonUnitalSemiring C(α, β) :=
417+
[IsTopologicalSemiring β] : NonUnitalSemiring C(α, β) := fast_instance%
416418
coe_injective.nonUnitalSemiring _ coe_zero coe_add coe_mul coe_nsmul
417419

418420
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β] [AddMonoidWithOne β]
419-
[ContinuousAdd β] : AddMonoidWithOne C(α, β) :=
421+
[ContinuousAdd β] : AddMonoidWithOne C(α, β) := fast_instance%
420422
coe_injective.addMonoidWithOne _ coe_zero coe_one coe_add coe_nsmul coe_natCast
421423

422424
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β] [NonAssocSemiring β]
423-
[IsTopologicalSemiring β] : NonAssocSemiring C(α, β) :=
425+
[IsTopologicalSemiring β] : NonAssocSemiring C(α, β) := fast_instance%
424426
coe_injective.nonAssocSemiring _ coe_zero coe_one coe_add coe_mul coe_nsmul coe_natCast
425427

426428
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β] [Semiring β]
427-
[IsTopologicalSemiring β] : Semiring C(α, β) :=
429+
[IsTopologicalSemiring β] : Semiring C(α, β) := fast_instance%
428430
coe_injective.semiring _ coe_zero coe_one coe_add coe_mul coe_nsmul coe_pow coe_natCast
429431

430432
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β]
431433
[NonUnitalNonAssocRing β] [IsTopologicalRing β] : NonUnitalNonAssocRing C(α, β) :=
434+
fast_instance%
432435
coe_injective.nonUnitalNonAssocRing _ coe_zero coe_add coe_mul coe_neg coe_sub coe_nsmul coe_zsmul
433436

434437
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β] [NonUnitalRing β]
435-
[IsTopologicalRing β] : NonUnitalRing C(α, β) :=
438+
[IsTopologicalRing β] : NonUnitalRing C(α, β) := fast_instance%
436439
coe_injective.nonUnitalRing _ coe_zero coe_add coe_mul coe_neg coe_sub coe_nsmul coe_zsmul
437440

438441
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β] [NonAssocRing β]
439-
[IsTopologicalRing β] : NonAssocRing C(α, β) :=
442+
[IsTopologicalRing β] : NonAssocRing C(α, β) := fast_instance%
440443
coe_injective.nonAssocRing _ coe_zero coe_one coe_add coe_mul coe_neg coe_sub coe_nsmul coe_zsmul
441444
coe_natCast coe_intCast
442445

443446
instance instRing {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β] [Ring β]
444-
[IsTopologicalRing β] : Ring C(α, β) :=
447+
[IsTopologicalRing β] : Ring C(α, β) := fast_instance%
445448
coe_injective.ring _ coe_zero coe_one coe_add coe_mul coe_neg coe_sub coe_nsmul coe_zsmul coe_pow
446449
coe_natCast coe_intCast
447450

448451
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β]
449452
[NonUnitalCommSemiring β] [IsTopologicalSemiring β] : NonUnitalCommSemiring C(α, β) :=
453+
fast_instance%
450454
coe_injective.nonUnitalCommSemiring _ coe_zero coe_add coe_mul coe_nsmul
451455

452456
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β] [CommSemiring β]
453-
[IsTopologicalSemiring β] : CommSemiring C(α, β) :=
457+
[IsTopologicalSemiring β] : CommSemiring C(α, β) := fast_instance%
454458
coe_injective.commSemiring _ coe_zero coe_one coe_add coe_mul coe_nsmul coe_pow coe_natCast
455459

456460
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β] [NonUnitalCommRing β]
457-
[IsTopologicalRing β] : NonUnitalCommRing C(α, β) :=
461+
[IsTopologicalRing β] : NonUnitalCommRing C(α, β) := fast_instance%
458462
coe_injective.nonUnitalCommRing _ coe_zero coe_add coe_mul coe_neg coe_sub coe_nsmul coe_zsmul
459463

460464
instance {α : Type*} {β : Type*} [TopologicalSpace α] [TopologicalSpace β] [CommRing β]
461-
[IsTopologicalRing β] : CommRing C(α, β) :=
465+
[IsTopologicalRing β] : CommRing C(α, β) := fast_instance%
462466
coe_injective.commRing _ coe_zero coe_one coe_add coe_mul coe_neg coe_sub coe_nsmul coe_zsmul
463467
coe_pow coe_natCast coe_intCast
464468

@@ -572,17 +576,17 @@ instance [SMul R M] [ContinuousConstSMul R M] [Mul M] [ContinuousMul M] [SMulCom
572576
smul_comm _ _ _ := ext fun _ => smul_comm (_ : M) ..
573577

574578
instance [Monoid R] [MulAction R M] [ContinuousConstSMul R M] : MulAction R C(α, M) :=
575-
Function.Injective.mulAction _ coe_injective coe_smul
579+
fast_instance% Function.Injective.mulAction _ coe_injective coe_smul
576580

577581
instance [Monoid R] [AddMonoid M] [DistribMulAction R M] [ContinuousAdd M]
578-
[ContinuousConstSMul R M] : DistribMulAction R C(α, M) :=
582+
[ContinuousConstSMul R M] : DistribMulAction R C(α, M) := fast_instance%
579583
Function.Injective.distribMulAction coeFnAddMonoidHom coe_injective coe_smul
580584

581585
variable [Semiring R] [AddCommMonoid M] [AddCommMonoid M₂]
582586
variable [ContinuousAdd M] [Module R M] [ContinuousConstSMul R M]
583587
variable [ContinuousAdd M₂] [Module R M₂] [ContinuousConstSMul R M₂]
584588

585-
instance module : Module R C(α, M) :=
589+
instance module : Module R C(α, M) := fast_instance%
586590
Function.Injective.module R coeFnAddMonoidHom coe_injective coe_smul
587591

588592
variable (R)

Mathlib/Topology/ContinuousMap/CompactlySupported.lean

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,11 @@ theorem smulc_apply [Zero β] [TopologicalSpace γ] [SMulZeroClass γ β] [Conti
217217
(f • g) x = f x • g x :=
218218
rfl
219219

220-
instance [MulZeroClass β] [ContinuousMul β] : MulZeroClass C_c(α, β) :=
220+
instance [MulZeroClass β] [ContinuousMul β] : MulZeroClass C_c(α, β) := fast_instance%
221221
DFunLike.coe_injective.mulZeroClass _ coe_zero coe_mul
222222

223223
instance [SemigroupWithZero β] [ContinuousMul β] :
224-
SemigroupWithZero C_c(α, β) :=
224+
SemigroupWithZero C_c(α, β) := fast_instance%
225225
DFunLike.coe_injective.semigroupWithZero _ coe_zero coe_mul
226226

227227
instance [AddZeroClass β] [ContinuousAdd β] : Add C_c(α, β) :=
@@ -234,7 +234,7 @@ theorem coe_add [AddZeroClass β] [ContinuousAdd β] (f g : C_c(α, β)) : ⇑(f
234234
theorem add_apply [AddZeroClass β] [ContinuousAdd β] (f g : C_c(α, β)) : (f + g) x = f x + g x :=
235235
rfl
236236

237-
instance [AddZeroClass β] [ContinuousAdd β] : AddZeroClass C_c(α, β) :=
237+
instance [AddZeroClass β] [ContinuousAdd β] : AddZeroClass C_c(α, β) := fast_instance%
238238
DFunLike.coe_injective.addZeroClass _ coe_zero coe_add
239239

240240
/-- Coercion to a function as a `AddMonoidHom`. Similar to `AddMonoidHom.coeFn`. -/
@@ -244,7 +244,7 @@ def coeFnMonoidHom [AddMonoid β] [ContinuousAdd β] : C_c(α, β) →+ α →
244244
map_add' := coe_add
245245

246246
instance [Zero β] {R : Type*} [SMulZeroClass R β] [ContinuousConstSMul R β] :
247-
SMul R C_c(α, β) :=
247+
SMul R C_c(α, β) := fast_instance%
248248
fun r f => ⟨⟨r • ⇑f, (map_continuous f).const_smul r⟩, HasCompactSupport.smul_left f.2⟩⟩
249249

250250
@[simp, norm_cast]
@@ -258,12 +258,12 @@ theorem smul_apply [Zero β] {R : Type*} [SMulZeroClass R β] [ContinuousConstSM
258258

259259
section AddMonoid
260260

261-
instance [AddMonoid β] [ContinuousAdd β] : AddMonoid C_c(α, β) :=
261+
instance [AddMonoid β] [ContinuousAdd β] : AddMonoid C_c(α, β) := fast_instance%
262262
DFunLike.coe_injective.addMonoid _ coe_zero coe_add fun _ _ => rfl
263263

264264
end AddMonoid
265265

266-
instance [AddCommMonoid β] [ContinuousAdd β] : AddCommMonoid C_c(α, β) :=
266+
instance [AddCommMonoid β] [ContinuousAdd β] : AddCommMonoid C_c(α, β) := fast_instance%
267267
DFunLike.coe_injective.addCommMonoid _ coe_zero coe_add fun _ _ => rfl
268268

269269
@[simp]
@@ -303,12 +303,12 @@ theorem coe_sub : ⇑(f - g) = f - g :=
303303
theorem sub_apply : (f - g) x = f x - g x :=
304304
rfl
305305

306-
instance : AddGroup C_c(α, β) :=
306+
instance : AddGroup C_c(α, β) := fast_instance%
307307
DFunLike.coe_injective.addGroup _ coe_zero coe_add coe_neg coe_sub (fun _ _ => rfl) fun _ _ => rfl
308308

309309
end AddGroup
310310

311-
instance [AddCommGroup β] [IsTopologicalAddGroup β] : AddCommGroup C_c(α, β) :=
311+
instance [AddCommGroup β] [IsTopologicalAddGroup β] : AddCommGroup C_c(α, β) := fast_instance%
312312
DFunLike.coe_injective.addCommGroup _ coe_zero coe_add coe_neg coe_sub (fun _ _ => rfl) fun _ _ =>
313313
rfl
314314

@@ -317,40 +317,40 @@ instance [Zero β] {R : Type*} [Zero R] [SMulWithZero R β] [SMulWithZero Rᵐ
317317
fun _ _ => ext fun _ => op_smul_eq_smul _ _⟩
318318

319319
instance [Zero β] {R : Type*} [Zero R] [SMulWithZero R β]
320-
[ContinuousConstSMul R β] : SMulWithZero R C_c(α, β) :=
320+
[ContinuousConstSMul R β] : SMulWithZero R C_c(α, β) := fast_instance%
321321
Function.Injective.smulWithZero ⟨_, coe_zero⟩ DFunLike.coe_injective coe_smul
322322

323323
instance [Zero β] {R : Type*} [MonoidWithZero R] [MulActionWithZero R β]
324-
[ContinuousConstSMul R β] : MulActionWithZero R C_c(α, β) :=
324+
[ContinuousConstSMul R β] : MulActionWithZero R C_c(α, β) := fast_instance%
325325
Function.Injective.mulActionWithZero ⟨_, coe_zero⟩ DFunLike.coe_injective coe_smul
326326

327327
instance [AddCommMonoid β] [ContinuousAdd β] {R : Type*} [Semiring R] [Module R β]
328-
[ContinuousConstSMul R β] : Module R C_c(α, β) :=
328+
[ContinuousConstSMul R β] : Module R C_c(α, β) := fast_instance%
329329
Function.Injective.module R ⟨⟨_, coe_zero⟩, coe_add⟩ DFunLike.coe_injective coe_smul
330330

331331
instance [NonUnitalNonAssocSemiring β] [IsTopologicalSemiring β] :
332-
NonUnitalNonAssocSemiring C_c(α, β) :=
332+
NonUnitalNonAssocSemiring C_c(α, β) := fast_instance%
333333
DFunLike.coe_injective.nonUnitalNonAssocSemiring _ coe_zero coe_add coe_mul fun _ _ => rfl
334334

335335
instance [NonUnitalSemiring β] [IsTopologicalSemiring β] :
336-
NonUnitalSemiring C_c(α, β) :=
336+
NonUnitalSemiring C_c(α, β) := fast_instance%
337337
DFunLike.coe_injective.nonUnitalSemiring _ coe_zero coe_add coe_mul fun _ _ => rfl
338338

339339
instance [NonUnitalCommSemiring β] [IsTopologicalSemiring β] :
340-
NonUnitalCommSemiring C_c(α, β) :=
340+
NonUnitalCommSemiring C_c(α, β) := fast_instance%
341341
DFunLike.coe_injective.nonUnitalCommSemiring _ coe_zero coe_add coe_mul fun _ _ => rfl
342342

343343
instance [NonUnitalNonAssocRing β] [IsTopologicalRing β] :
344-
NonUnitalNonAssocRing C_c(α, β) :=
344+
NonUnitalNonAssocRing C_c(α, β) := fast_instance%
345345
DFunLike.coe_injective.nonUnitalNonAssocRing _ coe_zero coe_add coe_mul coe_neg coe_sub
346346
(fun _ _ => rfl) fun _ _ => rfl
347347

348-
instance [NonUnitalRing β] [IsTopologicalRing β] : NonUnitalRing C_c(α, β) :=
348+
instance [NonUnitalRing β] [IsTopologicalRing β] : NonUnitalRing C_c(α, β) := fast_instance%
349349
DFunLike.coe_injective.nonUnitalRing _ coe_zero coe_add coe_mul coe_neg coe_sub (fun _ _ => rfl)
350350
fun _ _ => rfl
351351

352352
instance [NonUnitalCommRing β] [IsTopologicalRing β] :
353-
NonUnitalCommRing C_c(α, β) :=
353+
NonUnitalCommRing C_c(α, β) := fast_instance%
354354
DFunLike.coe_injective.nonUnitalCommRing _ coe_zero coe_add coe_mul coe_neg coe_sub
355355
(fun _ _ => rfl) fun _ _ => rfl
356356

@@ -445,7 +445,8 @@ When `β` is equipped with a partial order, `C_c(α, β)` is given the pointwise
445445

446446
variable {β : Type*} [TopologicalSpace β] [Zero β] [PartialOrder β]
447447

448-
instance partialOrder : PartialOrder C_c(α, β) := PartialOrder.lift (⇑) DFunLike.coe_injective
448+
instance partialOrder : PartialOrder C_c(α, β) :=
449+
fast_instance% PartialOrder.lift (⇑) DFunLike.coe_injective
449450

450451
theorem le_def {f g : C_c(α, β)} : f ≤ g ↔ ∀ a, f a ≤ g a := Pi.le_def
451452

@@ -466,7 +467,7 @@ instance instSup : Max C_c(α, β) where max f g :=
466467

467468
@[simp] lemma sup_apply (f g : C_c(α, β)) (a : α) : (f ⊔ g) a = f a ⊔ g a := rfl
468469

469-
instance semilatticeSup : SemilatticeSup C_c(α, β) :=
470+
instance semilatticeSup : SemilatticeSup C_c(α, β) := fast_instance%
470471
DFunLike.coe_injective.semilatticeSup _ .rfl .rfl coe_sup
471472

472473
lemma finsetSup'_apply {ι : Type*} {s : Finset ι} (H : s.Nonempty) (f : ι → C_c(α, β)) (a : α) :
@@ -492,7 +493,7 @@ instance instInf : Min C_c(α, β) where min f g :=
492493

493494
@[simp] lemma inf_apply (f g : C_c(α, β)) (a : α) : (f ⊓ g) a = f a ⊓ g a := rfl
494495

495-
instance semilatticeInf : SemilatticeInf C_c(α, β) :=
496+
instance semilatticeInf : SemilatticeInf C_c(α, β) := fast_instance%
496497
DFunLike.coe_injective.semilatticeInf _ .rfl .rfl coe_inf
497498

498499
lemma finsetInf'_apply {ι : Type*} {s : Finset ι} (H : s.Nonempty) (f : ι → C_c(α, β)) (a : α) :

Mathlib/Topology/ContinuousMap/ContinuousMapZero.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ def comp (g : C(Y, R)₀) (f : C(X, Y)₀) : C(X, R)₀ where
8686
@[simp]
8787
lemma comp_apply (g : C(Y, R)₀) (f : C(X, Y)₀) (x : X) : g.comp f x = g (f x) := rfl
8888

89-
instance instPartialOrder [PartialOrder R] : PartialOrder C(X, R)₀ :=
89+
instance instPartialOrder [PartialOrder R] : PartialOrder C(X, R)₀ := fast_instance%
9090
.lift _ DFunLike.coe_injective'
9191

9292
lemma le_def [PartialOrder R] (f g : C(X, R)₀) : f ≤ g ↔ ∀ x, f x ≤ g x := Iff.rfl
9393

94-
protected instance instTopologicalSpace : TopologicalSpace C(X, R)₀ :=
94+
protected instance instTopologicalSpace : TopologicalSpace C(X, R)₀ := fast_instance%
9595
TopologicalSpace.induced ((↑) : C(X, R)₀ → C(X, R)) inferInstance
9696

9797
lemma isEmbedding_toContinuousMap : IsEmbedding ((↑) : C(X, R)₀ → C(X, R)) where

Mathlib/Topology/ContinuousMap/Ordered.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ We now set up the partial order and lattice structure (given by pointwise min an
2626
on continuous functions.
2727
-/
2828

29-
instance partialOrder [PartialOrder β] : PartialOrder C(α, β) :=
29+
instance partialOrder [PartialOrder β] : PartialOrder C(α, β) := fast_instance%
3030
PartialOrder.lift (fun f => f.toFun) (fun f g _ => by aesop)
3131

3232
theorem le_def [PartialOrder β] {f g : C(α, β)} : f ≤ g ↔ ∀ a, f a ≤ g a :=
@@ -44,7 +44,7 @@ instance sup : Max C(α, β) where max f g := { toFun := fun a ↦ f a ⊔ g a }
4444

4545
@[simp] lemma sup_apply (f g : C(α, β)) (a : α) : (f ⊔ g) a = f a ⊔ g a := rfl
4646

47-
instance semilatticeSup : SemilatticeSup C(α, β) :=
47+
instance semilatticeSup : SemilatticeSup C(α, β) := fast_instance%
4848
DFunLike.coe_injective.semilatticeSup _ .rfl .rfl fun _ _ ↦ rfl
4949

5050
lemma sup'_apply {ι : Type*} {s : Finset ι} (H : s.Nonempty) (f : ι → C(α, β)) (a : α) :
@@ -66,7 +66,7 @@ instance inf : Min C(α, β) where min f g := { toFun := fun a ↦ f a ⊓ g a }
6666

6767
@[simp] lemma inf_apply (f g : C(α, β)) (a : α) : (f ⊓ g) a = f a ⊓ g a := rfl
6868

69-
instance semilatticeInf : SemilatticeInf C(α, β) :=
69+
instance semilatticeInf : SemilatticeInf C(α, β) := fast_instance%
7070
DFunLike.coe_injective.semilatticeInf _ .rfl .rfl fun _ _ ↦ rfl
7171

7272
lemma inf'_apply {ι : Type*} {s : Finset ι} (H : s.Nonempty) (f : ι → C(α, β)) (a : α) :

0 commit comments

Comments
 (0)