chore: revert reducibility change PartialOrder.rel (#12407)

This PR is similar to #12403.

We previously conjectured that "all type class fields that are types
should be marked as reducible." The problem is that propositions are
types, but they are also used as data (with `Decidable`). For example,
we often see the proposition `x <= y` as a Boolean. So, we refined the
conjecture to:

"All type class fields that are types (and not propositions) should be
marked as reducible."
This commit is contained in:
Leonardo de Moura 2026-02-10 11:46:36 -08:00 committed by GitHub
parent 14b595e952
commit c4d85b7622
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,8 +50,6 @@ class PartialOrder (α : Sort u) where
/-- The “less-or-equal-to” or “approximates” relation is antisymmetric. -/
rel_antisymm : ∀ {x y}, rel x y → rel y x → x = y
attribute [reducible] PartialOrder.rel
@[inherit_doc] scoped infix:50 " ⊑ " => PartialOrder.rel
section PartialOrder