Documentation

Auto.Lib.IntExtra

def Auto.Int.beq :
IntIntBool
Equations
Instances For
    theorem Auto.Int.beq_def {a b : Int} :
    (a == b) = beq a b
    def Auto.Int.beq_refl {i : Int} :
    beq i i = true
    Equations
    • =
    Instances For
      def Auto.Int.eq_of_beq_eq_true {i₁ i₂ : Int} :
      beq i₁ i₂ = truei₁ = i₂
      Equations
      • =
      Instances For
        def Auto.Int.abs (x : Int) :
        Equations
        Instances For
          theorem Auto.Int.shiftRight_def (i : Int) (s : Nat) :
          i >>> s = match i with | Int.ofNat n => Int.ofNat (n >>> s) | Int.negSucc n => Int.negSucc (n >>> s)