symbolic-base-0.1.0.0: ZkFold Symbolic compiler and zero-knowledge proof protocols
Safe HaskellSafe-Inferred
LanguageHaskell2010

ZkFold.Symbolic.Data.Eq

Documentation

class Conditional (BooleanOf a) a => Eq a where Source #

Minimal complete definition

Nothing

Associated Types

type BooleanOf a Source #

type BooleanOf a = GBooleanOf (Rep a)

Methods

(==) :: a -> a -> BooleanOf a infix 4 Source #

default (==) :: (Generic a, GEq (Rep a), BooleanOf a ~ GBooleanOf (Rep a)) => a -> a -> BooleanOf a Source #

(/=) :: a -> a -> BooleanOf a infix 4 Source #

default (/=) :: (Generic a, GEq (Rep a), BooleanOf a ~ GBooleanOf (Rep a)) => a -> a -> BooleanOf a Source #

Instances

Instances details
Eq BLS12_381_GT Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BLS12_381

Associated Types

type BooleanOf BLS12_381_GT Source #

Eq BN254_GT Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.BN254

Associated Types

type BooleanOf BN254_GT Source #

Eq String Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf String Source #

Eq Natural Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf Natural Source #

Eq Bool Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf Bool Source #

KnownNat n => Eq (Zp n) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf (Zp n) Source #

Methods

(==) :: Zp n -> Zp n -> BooleanOf (Zp n) Source #

(/=) :: Zp n -> Zp n -> BooleanOf (Zp n) Source #

(Eq field, Field field) => Eq (AffinePoint field) Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.Class

Associated Types

type BooleanOf (AffinePoint field) Source #

Methods

(==) :: AffinePoint field -> AffinePoint field -> BooleanOf (AffinePoint field) Source #

(/=) :: AffinePoint field -> AffinePoint field -> BooleanOf (AffinePoint field) Source #

(BooleanOf (BooleanOf field) ~ BooleanOf field, Eq (BooleanOf field), Eq field, Field field) => Eq (Point field) Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.Class

Associated Types

type BooleanOf (Point field) Source #

Methods

(==) :: Point field -> Point field -> BooleanOf (Point field) Source #

(/=) :: Point field -> Point field -> BooleanOf (Point field) Source #

Symbolic c => Eq (Bool c) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf (Bool c) Source #

Methods

(==) :: Bool c -> Bool c -> BooleanOf (Bool c) Source #

(/=) :: Bool c -> Bool c -> BooleanOf (Bool c) Source #

Symbolic c => Eq (FieldElement c) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.FieldElement

Associated Types

type BooleanOf (FieldElement c) Source #

Symbolic c => Eq (Ordering c) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Ord

Associated Types

type BooleanOf (Ordering c) Source #

(Symbolic c, LayoutFunctor f) => Eq (c f) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf (c f) Source #

Methods

(==) :: c f -> c f -> BooleanOf (c f) Source #

(/=) :: c f -> c f -> BooleanOf (c f) Source #

Eq field => Eq (Ext2 field i) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf (Ext2 field i) Source #

Methods

(==) :: Ext2 field i -> Ext2 field i -> BooleanOf (Ext2 field i) Source #

(/=) :: Ext2 field i -> Ext2 field i -> BooleanOf (Ext2 field i) Source #

Eq field => Eq (Ext3 field i) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf (Ext3 field i) Source #

Methods

(==) :: Ext3 field i -> Ext3 field i -> BooleanOf (Ext3 field i) Source #

(/=) :: Ext3 field i -> Ext3 field i -> BooleanOf (Ext3 field i) Source #

(KnownNat n, Eq x) => Eq (Vector n x) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf (Vector n x) Source #

Methods

(==) :: Vector n x -> Vector n x -> BooleanOf (Vector n x) Source #

(/=) :: Vector n x -> Vector n x -> BooleanOf (Vector n x) Source #

(Symbolic c, KnownNat n) => Eq (ByteString n c) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.ByteString

Associated Types

type BooleanOf (ByteString n c) Source #

(SymbolicData x, SymbolicEq x, c ~ Context x) => Eq (List c x) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.List

Associated Types

type BooleanOf (List c x) Source #

Methods

(==) :: List c x -> List c x -> BooleanOf (List c x) Source #

(/=) :: List c x -> List c x -> BooleanOf (List c x) Source #

(Context x ~ c, SymbolicEq x) => Eq (Maybe c x) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Maybe

Associated Types

type BooleanOf (Maybe c x) Source #

Methods

(==) :: Maybe c x -> Maybe c x -> BooleanOf (Maybe c x) Source #

(/=) :: Maybe c x -> Maybe c x -> BooleanOf (Maybe c x) Source #

(Symbolic c, PayloadFunctor f) => Eq (Payloaded f c) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Payloaded

Associated Types

type BooleanOf (Payloaded f c) Source #

Methods

(==) :: Payloaded f c -> Payloaded f c -> BooleanOf (Payloaded f c) Source #

(/=) :: Payloaded f c -> Payloaded f c -> BooleanOf (Payloaded f c) Source #

(Symbolic ctx, KnownNat n) => Eq (VarByteString n ctx) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.VarByteString

Associated Types

type BooleanOf (VarByteString n ctx) Source #

(Eq x0, Eq x1, BooleanOf x0 ~ BooleanOf x1) => Eq (x0, x1) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf (x0, x1) Source #

Methods

(==) :: (x0, x1) -> (x0, x1) -> BooleanOf (x0, x1) Source #

(/=) :: (x0, x1) -> (x0, x1) -> BooleanOf (x0, x1) Source #

Eq point => Eq (TwistedEdwards curve point) Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.Class

Associated Types

type BooleanOf (TwistedEdwards curve point) Source #

Methods

(==) :: TwistedEdwards curve point -> TwistedEdwards curve point -> BooleanOf (TwistedEdwards curve point) Source #

(/=) :: TwistedEdwards curve point -> TwistedEdwards curve point -> BooleanOf (TwistedEdwards curve point) Source #

Eq point => Eq (Weierstrass curve point) Source # 
Instance details

Defined in ZkFold.Base.Algebra.EllipticCurve.Class

Associated Types

type BooleanOf (Weierstrass curve point) Source #

Methods

(==) :: Weierstrass curve point -> Weierstrass curve point -> BooleanOf (Weierstrass curve point) Source #

(/=) :: Weierstrass curve point -> Weierstrass curve point -> BooleanOf (Weierstrass curve point) Source #

(Symbolic c, KnownFFA p r c) => Eq (FFA p r c) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.FFA

Associated Types

type BooleanOf (FFA p r c) Source #

Methods

(==) :: FFA p r c -> FFA p r c -> BooleanOf (FFA p r c) Source #

(/=) :: FFA p r c -> FFA p r c -> BooleanOf (FFA p r c) Source #

(KnownRegisters c n r, Symbolic c) => Eq (UInt n r c) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.UInt

Associated Types

type BooleanOf (UInt n r c) Source #

Methods

(==) :: UInt n r c -> UInt n r c -> BooleanOf (UInt n r c) Source #

(/=) :: UInt n r c -> UInt n r c -> BooleanOf (UInt n r c) Source #

(Eq x0, Eq x1, Eq x2, BooleanOf x0 ~ BooleanOf x1, BooleanOf x1 ~ BooleanOf x2) => Eq (x0, x1, x2) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf (x0, x1, x2) Source #

Methods

(==) :: (x0, x1, x2) -> (x0, x1, x2) -> BooleanOf (x0, x1, x2) Source #

(/=) :: (x0, x1, x2) -> (x0, x1, x2) -> BooleanOf (x0, x1, x2) Source #

(Eq x0, Eq x1, Eq x2, Eq x3, BooleanOf x0 ~ BooleanOf x1, BooleanOf x1 ~ BooleanOf x2, BooleanOf x2 ~ BooleanOf x3) => Eq (x0, x1, x2, x3) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type BooleanOf (x0, x1, x2, x3) Source #

Methods

(==) :: (x0, x1, x2, x3) -> (x0, x1, x2, x3) -> BooleanOf (x0, x1, x2, x3) Source #

(/=) :: (x0, x1, x2, x3) -> (x0, x1, x2, x3) -> BooleanOf (x0, x1, x2, x3) Source #

elem :: (Eq a, Foldable t) => a -> t a -> BooleanOf a Source #

class GConditional (GBooleanOf u) u => GEq u where Source #

Associated Types

type GBooleanOf u Source #

Methods

geq :: u x -> u x -> GBooleanOf u Source #

gneq :: u x -> u x -> GBooleanOf u Source #

Instances

Instances details
Eq x => GEq (Rec0 x :: k -> Type) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type GBooleanOf (Rec0 x) Source #

Methods

geq :: forall (x0 :: k0). Rec0 x x0 -> Rec0 x x0 -> GBooleanOf (Rec0 x) Source #

gneq :: forall (x0 :: k0). Rec0 x x0 -> Rec0 x x0 -> GBooleanOf (Rec0 x) Source #

(GBooleanOf u ~ GBooleanOf v, GEq u, GEq v) => GEq (u :*: v :: k -> Type) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type GBooleanOf (u :*: v) Source #

Methods

geq :: forall (x :: k0). (u :*: v) x -> (u :*: v) x -> GBooleanOf (u :*: v) Source #

gneq :: forall (x :: k0). (u :*: v) x -> (u :*: v) x -> GBooleanOf (u :*: v) Source #

GEq v => GEq (M1 i c v :: k -> Type) Source # 
Instance details

Defined in ZkFold.Symbolic.Data.Eq

Associated Types

type GBooleanOf (M1 i c v) Source #

Methods

geq :: forall (x :: k0). M1 i c v x -> M1 i c v x -> GBooleanOf (M1 i c v) Source #

gneq :: forall (x :: k0). M1 i c v x -> M1 i c v x -> GBooleanOf (M1 i c v) Source #