Documentation

Mathlib.Tactic.Echelon.Zsqrtd

The ℤ√d model for the Bareiss elimination #

The computable model of the quadratic extensions ℤ√d. The elimination runs on ℤ√d values. Accepted entries are ⟨a, b⟩ literals, √d, or integers evaluated from norm_num.

Evaluate an entry or component of the ℤ√d model to an integer, via norm_num.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Evaluate a ℤ√d entry to its value. The entry is a ⟨re, im⟩ literal, √d itself, or an entry without √d content, which norm_num evaluates.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      The arithmetic of ℤ√d, with exact division by conjugation.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def Mathlib.Tactic.Echelon.zsqrtdModel {u : Lean.Level} (α : Q(Type u)) (dQ : Q(ℤ)) (d : ℤ) :

        The ℤ√d model of the ring α, which reduces to Zsqrtd dQ. The elimination runs on ℤ√d values. d is the value of the integer literal dQ.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          The ℤ√d model registration: handles Zsqrtd d for an integer literal d.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For