Skip to content

Commit

Permalink
deploy: 2fa1f98
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Mar 13, 2024
1 parent 33bdae7 commit 92a293c
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/arecibo/spartan/ppsnark/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="This module implements `RelaxedR1CSSNARK` traits using a spark-based approach to prove evaluations of sparse multilinear polynomials involved in Spartan’s sum-check protocol, thereby providing a preprocessing SNARK The verifier in this preprocessing SNARK maintains a commitment to R1CS matrices. This is beneficial when using a polynomial commitment scheme in which the verifier’s costs is succinct. This code includes experimental optimizations to reduce runtimes and proof sizes."><title>arecibo::spartan::ppsnark - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="arecibo" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../arecibo/index.html">arecibo</a><span class="version">0.2.0</span></h2></div><h2 class="location"><a href="#">Module ppsnark</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section><h2><a href="../index.html">In arecibo::spartan</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../arecibo/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">arecibo</a>::<wbr><a href="../index.html">spartan</a>::<wbr><a class="mod" href="#">ppsnark</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/arecibo/spartan/ppsnark.rs.html#1-1074">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This module implements <code>RelaxedR1CSSNARK</code> traits using a spark-based approach to prove evaluations of
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../arecibo/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">arecibo</a>::<wbr><a href="../index.html">spartan</a>::<wbr><a class="mod" href="#">ppsnark</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/arecibo/spartan/ppsnark.rs.html#1-1075">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This module implements <code>RelaxedR1CSSNARK</code> traits using a spark-based approach to prove evaluations of
sparse multilinear polynomials involved in Spartan’s sum-check protocol, thereby providing a preprocessing SNARK
The verifier in this preprocessing SNARK maintains a commitment to R1CS matrices. This is beneficial when using a
polynomial commitment scheme in which the verifier’s costs is succinct.
Expand Down
4 changes: 2 additions & 2 deletions docs/arecibo/spartan/ppsnark/struct.RelaxedR1CSSNARK.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
EE::<a class="associatedtype" href="../../traits/evaluation/trait.EvaluationEngineTrait.html#associatedtype.EvaluationArgument" title="type arecibo::traits::evaluation::EvaluationEngineTrait::EvaluationArgument">EvaluationArgument</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../../src/arecibo/spartan/ppsnark.rs.html#276">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.RelaxedR1CSSNARK.html" title="struct arecibo::spartan::ppsnark::RelaxedR1CSSNARK">RelaxedR1CSSNARK</a>&lt;E, EE&gt;</h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.76.0/src/core/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-RelaxedR1CSSNARK%3CE,+EE%3E" class="impl"><a class="src rightside" href="../../../src/arecibo/spartan/ppsnark.rs.html#276">source</a><a href="#impl-Debug-for-RelaxedR1CSSNARK%3CE,+EE%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="../../traits/trait.Engine.html" title="trait arecibo::traits::Engine">Engine</a>, EE: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="../../traits/evaluation/trait.EvaluationEngineTrait.html" title="trait arecibo::traits::evaluation::EvaluationEngineTrait">EvaluationEngineTrait</a>&lt;E&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.RelaxedR1CSSNARK.html" title="struct arecibo::spartan::ppsnark::RelaxedR1CSSNARK">RelaxedR1CSSNARK</a>&lt;E, EE&gt;<div class="where">where
E::<a class="associatedtype" href="../../traits/trait.Engine.html#associatedtype.Scalar" title="type arecibo::traits::Engine::Scalar">Scalar</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>,
EE::<a class="associatedtype" href="../../traits/evaluation/trait.EvaluationEngineTrait.html#associatedtype.EvaluationArgument" title="type arecibo::traits::evaluation::EvaluationEngineTrait::EvaluationArgument">EvaluationArgument</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/arecibo/spartan/ppsnark.rs.html#276">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.76.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-RelaxedR1CSSNARK%3CE,+EE%3E" class="impl"><a class="src rightside" href="../../../src/arecibo/spartan/ppsnark.rs.html#276">source</a><a href="#impl-Deserialize%3C'de%3E-for-RelaxedR1CSSNARK%3CE,+EE%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'de, E: <a class="trait" href="../../traits/trait.Engine.html" title="trait arecibo::traits::Engine">Engine</a>, EE: <a class="trait" href="../../traits/evaluation/trait.EvaluationEngineTrait.html" title="trait arecibo::traits::evaluation::EvaluationEngineTrait">EvaluationEngineTrait</a>&lt;E&gt;&gt; <a class="trait" href="https://docs.rs/serde/1.0.197/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="struct.RelaxedR1CSSNARK.html" title="struct arecibo::spartan::ppsnark::RelaxedR1CSSNARK">RelaxedR1CSSNARK</a>&lt;E, EE&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../../src/arecibo/spartan/ppsnark.rs.html#276">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.197/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.197/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
__D: <a class="trait" href="https://docs.rs/serde/1.0.197/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.197/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RelaxedR1CSSNARKTrait%3CE%3E-for-RelaxedR1CSSNARK%3CE,+EE%3E" class="impl"><a class="src rightside" href="../../../src/arecibo/spartan/ppsnark.rs.html#467-1052">source</a><a href="#impl-RelaxedR1CSSNARKTrait%3CE%3E-for-RelaxedR1CSSNARK%3CE,+EE%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E: <a class="trait" href="../../traits/trait.Engine.html" title="trait arecibo::traits::Engine">Engine</a>, EE: <a class="trait" href="../../traits/evaluation/trait.EvaluationEngineTrait.html" title="trait arecibo::traits::evaluation::EvaluationEngineTrait">EvaluationEngineTrait</a>&lt;E&gt;&gt; <a class="trait" href="../../traits/snark/trait.RelaxedR1CSSNARKTrait.html" title="trait arecibo::traits::snark::RelaxedR1CSSNARKTrait">RelaxedR1CSSNARKTrait</a>&lt;E&gt; for <a class="struct" href="struct.RelaxedR1CSSNARK.html" title="struct arecibo::spartan::ppsnark::RelaxedR1CSSNARK">RelaxedR1CSSNARK</a>&lt;E, EE&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.prove" class="method trait-impl"><a class="src rightside" href="../../../src/arecibo/spartan/ppsnark.rs.html#507">source</a><a href="#method.prove" class="anchor">§</a><h4 class="code-header">fn <a href="../../traits/snark/trait.RelaxedR1CSSNARKTrait.html#tymethod.prove" class="fn">prove</a>(
__D: <a class="trait" href="https://docs.rs/serde/1.0.197/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.197/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RelaxedR1CSSNARKTrait%3CE%3E-for-RelaxedR1CSSNARK%3CE,+EE%3E" class="impl"><a class="src rightside" href="../../../src/arecibo/spartan/ppsnark.rs.html#467-1053">source</a><a href="#impl-RelaxedR1CSSNARKTrait%3CE%3E-for-RelaxedR1CSSNARK%3CE,+EE%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E: <a class="trait" href="../../traits/trait.Engine.html" title="trait arecibo::traits::Engine">Engine</a>, EE: <a class="trait" href="../../traits/evaluation/trait.EvaluationEngineTrait.html" title="trait arecibo::traits::evaluation::EvaluationEngineTrait">EvaluationEngineTrait</a>&lt;E&gt;&gt; <a class="trait" href="../../traits/snark/trait.RelaxedR1CSSNARKTrait.html" title="trait arecibo::traits::snark::RelaxedR1CSSNARKTrait">RelaxedR1CSSNARKTrait</a>&lt;E&gt; for <a class="struct" href="struct.RelaxedR1CSSNARK.html" title="struct arecibo::spartan::ppsnark::RelaxedR1CSSNARK">RelaxedR1CSSNARK</a>&lt;E, EE&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.prove" class="method trait-impl"><a class="src rightside" href="../../../src/arecibo/spartan/ppsnark.rs.html#507">source</a><a href="#method.prove" class="anchor">§</a><h4 class="code-header">fn <a href="../../traits/snark/trait.RelaxedR1CSSNARKTrait.html#tymethod.prove" class="fn">prove</a>(
ck: &amp;&lt;&lt;E as <a class="trait" href="../../traits/trait.Engine.html" title="trait arecibo::traits::Engine">Engine</a>&gt;::<a class="associatedtype" href="../../traits/trait.Engine.html#associatedtype.CE" title="type arecibo::traits::Engine::CE">CE</a> as <a class="trait" href="../../traits/commitment/trait.CommitmentEngineTrait.html" title="trait arecibo::traits::commitment::CommitmentEngineTrait">CommitmentEngineTrait</a>&lt;E&gt;&gt;::<a class="associatedtype" href="../../traits/commitment/trait.CommitmentEngineTrait.html#associatedtype.CommitmentKey" title="type arecibo::traits::commitment::CommitmentEngineTrait::CommitmentKey">CommitmentKey</a>,
pk: &amp;Self::<a class="associatedtype" href="../../traits/snark/trait.RelaxedR1CSSNARKTrait.html#associatedtype.ProverKey" title="type arecibo::traits::snark::RelaxedR1CSSNARKTrait::ProverKey">ProverKey</a>,
S: &amp;<a class="struct" href="../../r1cs/struct.R1CSShape.html" title="struct arecibo::r1cs::R1CSShape">R1CSShape</a>&lt;E&gt;,
U: &amp;<a class="struct" href="../../r1cs/struct.RelaxedR1CSInstance.html" title="struct arecibo::r1cs::RelaxedR1CSInstance">RelaxedR1CSInstance</a>&lt;E&gt;,
W: &amp;<a class="struct" href="../../r1cs/struct.RelaxedR1CSWitness.html" title="struct arecibo::r1cs::RelaxedR1CSWitness">RelaxedR1CSWitness</a>&lt;E&gt;
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../errors/enum.NovaError.html" title="enum arecibo::errors::NovaError">NovaError</a>&gt;</h4></section></summary><div class="docblock"><p>produces a succinct proof of satisfiability of a <code>RelaxedR1CS</code> instance</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.verify" class="method trait-impl"><a class="src rightside" href="../../../src/arecibo/spartan/ppsnark.rs.html#823-1051">source</a><a href="#method.verify" class="anchor">§</a><h4 class="code-header">fn <a href="../../traits/snark/trait.RelaxedR1CSSNARKTrait.html#tymethod.verify" class="fn">verify</a>(
</div></details><details class="toggle method-toggle" open><summary><section id="method.verify" class="method trait-impl"><a class="src rightside" href="../../../src/arecibo/spartan/ppsnark.rs.html#824-1052">source</a><a href="#method.verify" class="anchor">§</a><h4 class="code-header">fn <a href="../../traits/snark/trait.RelaxedR1CSSNARKTrait.html#tymethod.verify" class="fn">verify</a>(
&amp;self,
vk: &amp;Self::<a class="associatedtype" href="../../traits/snark/trait.RelaxedR1CSSNARKTrait.html#associatedtype.VerifierKey" title="type arecibo::traits::snark::RelaxedR1CSSNARKTrait::VerifierKey">VerifierKey</a>,
U: &amp;<a class="struct" href="../../r1cs/struct.RelaxedR1CSInstance.html" title="struct arecibo::r1cs::RelaxedR1CSInstance">RelaxedR1CSInstance</a>&lt;E&gt;
Expand Down
Loading

0 comments on commit 92a293c

Please sign in to comment.