-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17078bd
commit 89399dc
Showing
4 changed files
with
24 additions
and
54 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
prover/protocol/distributed/compiler/inclusion/inclusion.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 12 additions & 7 deletions
19
prover/protocol/distributed/compiler/permutation/permutation.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
package permutation | ||
|
||
import "github.com/consensys/linea-monorepo/prover/protocol/wizard" | ||
|
||
// IntoGrandProduct reduces all the permutation queries to a single GrandProduct query | ||
func IntoGrandProduct(comp *wizard.CompiledIOP) { | ||
panic("unimplemented") | ||
} | ||
import ( | ||
"github.com/consensys/linea-monorepo/prover/protocol/coin" | ||
"github.com/consensys/linea-monorepo/prover/protocol/wizard" | ||
) | ||
|
||
// CompileDist compiles a GrandProduct query distributedly. | ||
func CompileDist(comp *wizard.CompiledIOP) { | ||
// It receives a compiledIop object relevant to a segment. | ||
// The seed is a random coin from randomness beacon (FS of all LPP commitments). | ||
// It scans compiledIOP to find the permutation queries. | ||
// All the compilation steps are similar to the permutation compilation apart from: | ||
// - random coins \alpha and \gamma are generated from the seed. | ||
// - no verifierAction is needed over the ZOpening. | ||
// - ZOpenings are declared as public input. | ||
func CompileDist(comp *wizard.CompiledIOP, seed coin.Info) { | ||
|
||
} |
18 changes: 11 additions & 7 deletions
18
prover/protocol/distributed/compiler/projection/projection.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
package projection | ||
|
||
import "github.com/consensys/linea-monorepo/prover/protocol/wizard" | ||
|
||
// IntoGrandSu reduces all the projection queries into a GrandSum query | ||
func IntoGrandSum(comp *wizard.CompiledIOP) { | ||
panic("unimplemented") | ||
} | ||
import ( | ||
"github.com/consensys/linea-monorepo/prover/protocol/coin" | ||
"github.com/consensys/linea-monorepo/prover/protocol/wizard" | ||
) | ||
|
||
// CompileDist compiles a GrandSum query distributedly. | ||
func CompileDist(comp *wizard.CompiledIOP) { | ||
// It receives a compiledIop object relevant to a segment. | ||
// The seed is a random coin from randomness beacon (FS of all LPP commitments). | ||
// All the compilation steps are similar to the permutation compilation apart from: | ||
// - random coins \alpha and \gamma are generated from the seed. | ||
// - no verifierAction is needed over the ZOpening. | ||
// - ZOpenings are declared as public input. | ||
func CompileDist(comp *wizard.CompiledIOP, seed coin.Info) { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters