Skip to content

Rat-dependent ring functionality #1189

Closed

Description

@hrmacbeth

Examples mixing ring with division, like

import Mathlib.Data.Rat.Order
import Mathlib.Tactic.Ring

example {u : ℚ} : u / 2 + u / 2 = u := by ring -- unsolved goals ⊢ u / 2 * 2 = u

worked in mathlib3 but don't currently work in mathlib4. This will need #1102 to be fixed before it can be addressed (ring imports norm_num), but there's more after that to do: per @digama0 (Zulip)

a bit more work is required, because ring has to recognize that u / 2 means 1/2 * u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions