Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(Rat): Numerator and denominator of q ^ n #12506

Closed
wants to merge 9 commits into from

Commits on Apr 29, 2024

  1. feat(Rat): Numerator and denominator of q ^ n

    Prove `(q ^ n).num = q.num ^ n` and `(q ^ n).den = q.den ^ n` by making those defeq. It is somewhat painful. `(q ^ n).den = q.den ^ n` is also defeq for `NNRat`, but not `(q ^ n).num = q.num ^ n` due to the `Int.natAbs` in the definition of `NNRat.num`.
    YaelDillies committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    8f36fda View commit details
    Browse the repository at this point in the history
  2. divInt_pow

    YaelDillies committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    0821c2c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e09f61e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    944e267 View commit details
    Browse the repository at this point in the history
  5. indebt

    Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
    YaelDillies and eric-wieser committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    617308f View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. style

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    YaelDillies and github-actions[bot] committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    6c557b8 View commit details
    Browse the repository at this point in the history
  2. fix

    eric-wieser committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c3c5831 View commit details
    Browse the repository at this point in the history
  3. line wrap

    eric-wieser committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    1f8ccf7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7ab75d0 View commit details
    Browse the repository at this point in the history