Skip to content

Commit

Permalink
chore: remove unused unification hints (#7304)
Browse files Browse the repository at this point in the history
These unification hints appear to do nothing.
  • Loading branch information
mattrobball committed Sep 21, 2023
1 parent 89ce9cf commit 2e62146
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Mathlib/AlgebraicGeometry/GammaSpecAdjunction.lean
Expand Up @@ -333,17 +333,6 @@ theorem right_triangle (R : CommRingCat) :
· intro r; apply toOpen_res
#align algebraic_geometry.Γ_Spec.right_triangle AlgebraicGeometry.ΓSpec.right_triangle

-- Porting note : the two unification hint is to help compile `locallyRingedSpaceAdjunction`
-- faster, from 900000 to normal maxHeartbeats
/-- opposite of composition of two functors -/
unif_hint uh_functor_op1 where
Functor.op (Spec.toLocallyRingedSpace.rightOp ⋙ Γ) ≟
Spec.toLocallyRingedSpace.{u} ⋙ Γ.rightOp in

/-- opposite of identity functor -/
unif_hint uh_functor_op2 where
Functor.op (𝟭 CommRingCat.{u}) ≟ 𝟭 CommRingCatᵒᵖ in

/-- The adjunction `Γ ⊣ Spec` from `CommRingᵒᵖ` to `LocallyRingedSpace`. -/
--Porting Note: `simps` cause a time out, so `Unit` and `counit` will be added manually
def locallyRingedSpaceAdjunction : Γ.rightOp ⊣ Spec.toLocallyRingedSpace.{u} :=
Expand Down

0 comments on commit 2e62146

Please sign in to comment.