You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lean is unable to automatically infer ordered_smul instance for fin n → ℝ from docs#ordered_smul'. This in turns leads to issues with defining the docs#convex_cone.positive in these vector spaces.
docs#pi.ordered_smul is true more generally without needing linear_ordered_field. (This is most certainly true. But it is not clear if this is the reason for the bug.)
The text was updated successfully, but these errors were encountered:
apurvnakade
changed the title
Lean is unable to infer ordered_smul inferences from pi.ordered_smul'
Lean is unable to infer ordered_smul instance from pi.ordered_smul'Aug 12, 2022
Make `algebra.order.module` do what it says on the tin. Namely, move everything that wasn't about `module` to `algebra.order.smul` and generalize accordingly.
As a bonus, add a shortcut instance for `ordered_smul 𝕜 (ι → 𝕜)` as this solves #16021.
Make `algebra.order.module` do what it says on the tin. Namely, move everything that wasn't about `module` to `algebra.order.smul` and generalize accordingly.
As a bonus, add a shortcut instance for `ordered_smul 𝕜 (ι → 𝕜)` as this solves #16021.
Lean is unable to automatically infer
ordered_smul
instance forfin n → ℝ
from docs#ordered_smul'. This in turns leads to issues with defining the docs#convex_cone.positive in these vector spaces.Zulip thread
mwe
Possible reasons suggested in the Zulip thread:
linear_ordered_field
. (This is most certainly true. But it is not clear if this is the reason for the bug.)The text was updated successfully, but these errors were encountered: