Documentation

Elligator.Elligator1.Variables

noncomputable def Elligator.Elligator1.c {F : Type u_1} [Field F] [Fintype F] (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) :
F

c(s) is a constant defined in the paper.

Paper definition at chapter 3.2 theorem 1.

Equations
Instances For
    noncomputable def Elligator.Elligator1.r {F : Type u_1} [Field F] [Fintype F] (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) :
    F

    r(s) is a constant defined in the paper.

    Paper definition at chapter 3.2 theorem 1.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def Elligator.Elligator1.d {F : Type u_1} [Field F] [Fintype F] (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) :
      F

      d(s) is a constant defined in the paper.

      Paper definition at chapter 3.2 theorem 1.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def Elligator.Elligator1.u {F : Type u_1} [Field F] [Fintype F] (t : { n : F // n 1 n -1 }) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) :
        F

        u(t) is a function defined in the paper.

        Paper definition at chapter 3.2 theorem 1.

        Equations
        Instances For
          noncomputable def Elligator.Elligator1.v {F : Type u_1} [Field F] [Fintype F] (t : { n : F // n 1 n -1 }) (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) :
          F

          v(t, s) is a function defined in the paper.

          Paper definition at chapter 3.2 theorem 1.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            noncomputable def Elligator.Elligator1.X {F : Type u_1} [Field F] [Fintype F] (t : { n : F // n 1 n -1 }) (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) :
            F

            X(t, s) is a function defined in the paper.

            Paper definition at chapter 3.2 theorem 1.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              noncomputable def Elligator.Elligator1.Y {F : Type u_1} [Field F] [Fintype F] (t : { n : F // n 1 n -1 }) (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) :
              F

              Y(t, s) is a function defined in the paper.

              Paper definition at chapter 3.2 theorem 1.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                noncomputable def Elligator.Elligator1.x {F : Type u_1} [Field F] [Fintype F] (t : { n : F // n 1 n -1 }) (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) :
                F

                x(t, s) is a function defined in the paper. It is the x-coordinate of the point on the curve.

                Paper definition at chapter 3.2 theorem 1.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  noncomputable def Elligator.Elligator1.y {F : Type u_1} [Field F] [Fintype F] (t : { n : F // n 1 n -1 }) (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) :
                  F

                  y(t, s) is a function defined in the paper. It is the y-coordinate of the point on the curve.

                  Paper definition at chapter 3.2 theorem 1.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    noncomputable def Elligator.Elligator1.η {F : Type u_1} [Field F] [Fintype F] (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) (point : F × F) :
                    F

                    η(s, q, point) is a function defined in the paper.

                    Paper definition at chapter 3.3 theorem 3.

                    Equations
                    Instances For
                      noncomputable def Elligator.Elligator1.X2 {F : Type u_1} [Field F] [Fintype F] (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) (point : F × F) :
                      F
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        noncomputable def Elligator.Elligator1.z {F : Type u_1} [Field F] [Fintype F] (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) (point : F × F) :
                        F
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          noncomputable def Elligator.Elligator1.u2 {F : Type u_1} [Field F] [Fintype F] (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) (point : F × F) :
                          F
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            noncomputable def Elligator.Elligator1.t2 {F : Type u_1} [Field F] [Fintype F] (s : F) (s_h1 : s 0) (s_h2 : (s ^ 2 - 2) * (s ^ 2 + 2) 0) (q : ) (field_cardinality : Fintype.card F = q) (q_prime_power : IsPrimePow q) (q_mod_4_congruent_3 : q % 4 = 3) (point : F × F) :
                            F
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              noncomputable def Elligator.Elligator1.b {q : } :

                              b q is ⌊log₂ q⌋, the number of bits needed.

                              Equations
                              Instances For

                                Convert a bit vector (τ₀, τ₁, ..., τ_{b-1}) to a natural number via binary expansion: bitsToNat(τ) = Σᵢ τᵢ · 2^i.

                                Equations
                                Instances For
                                  noncomputable def Elligator.Elligator1.σ {F : Type u_1} [Field F] {q : } (τ : Fin bBool) :
                                  F
                                  Equations
                                  Instances For
                                    noncomputable def Elligator.Elligator1.S {q : } :
                                    Equations
                                    Instances For