Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data PlonkupRelation p i n l a Source #
Instances
(KnownNat n, KnownNat (PlonkupPermutationSize n), Representable p, Representable i, Representable l, Foldable l, Ord (Rep i), Arithmetic a, Arbitrary (ArithmeticCircuit a p i l)) => Arbitrary (PlonkupRelation p i n l a) Source # | |
Defined in ZkFold.Base.Protocol.Plonkup.Relation arbitrary :: Gen (PlonkupRelation p i n l a) # shrink :: PlonkupRelation p i n l a -> [PlonkupRelation p i n l a] # | |
Show a => Show (PlonkupRelation p i n l a) Source # | |
Defined in ZkFold.Base.Protocol.Plonkup.Relation showsPrec :: Int -> PlonkupRelation p i n l a -> ShowS # show :: PlonkupRelation p i n l a -> String # showList :: [PlonkupRelation p i n l a] -> ShowS # |
toPlonkupRelation :: forall i p n l a. (KnownNat n, Arithmetic a, Ord (Rep i), Representable p, Representable i, Representable l, Foldable l) => ArithmeticCircuit a p i l -> Maybe (PlonkupRelation p i n l a) Source #