Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/advancedresearch/pocket_prover
/ functions
Functions
209 in github.com/advancedresearch/pocket_prover
⨍
Functions
209
◇
Types & classes
9
↓ 80 callers
Function
imply
First argument implies the second.
src/lib.rs:1324
↓ 59 callers
Function
construct
(input: TokenStream)
pocket_prover-derive/src/lib.rs:49
↓ 56 callers
Function
call
(mut fun: impl FnMut() -> u64)
src/lib.rs:828
↓ 37 callers
Function
and
Returns `true` if all arguments are `true`.
src/lib.rs:1316
↓ 35 callers
Function
not
If input is `true`, returns `false` and vice versa.
src/lib.rs:1307
↓ 24 callers
Function
or
Returns `true` if at least one argument is `true`.
src/lib.rs:1318
↓ 18 callers
Function
qubit
Prepares a qubit using a proposition as seed.
src/lib.rs:648
↓ 14 callers
Function
eq
Returns `true` if arguments are equal.
src/lib.rs:1322
↓ 8 callers
Function
and3
An AND relation of 3 argument.
src/lib.rs:1369
↓ 7 callers
Function
and4
An AND relation of 4 arguments.
src/lib.rs:1371
↓ 6 callers
Function
and5
An AND relation of 5 arguments.
src/lib.rs:1373
↓ 6 callers
Function
countn
Counts the number of solutions of an n-argument boolean function.
src/lib.rs:903
↓ 6 callers
Function
or3
An OR relation of 3 arguments.
src/lib.rs:1416
↓ 6 callers
Function
or4
An OR relation of 4 arguments.
src/lib.rs:1418
↓ 5 callers
Function
hom_f
Path semantical function `f_n(a, b)` up to some homotopy level `n`.
src/lib.rs:688
↓ 5 callers
Function
or5
An OR relation of 5 arguments.
src/lib.rs:1420
↓ 3 callers
Function
and6
An AND relation of 6 arguments.
src/lib.rs:1375
↓ 3 callers
Function
and7
An AND relation of 7 arguments.
src/lib.rs:1379
↓ 3 callers
Function
and8
An AND relation of 8 arguments.
src/lib.rs:1383
↓ 3 callers
Function
and9
An AND relation of 9 arguments.
src/lib.rs:1387
↓ 3 callers
Function
aqual
Path semantical aquality `a ~¬~ b`. For more information, see [paper](https://github.com/advancedresearch/path_semantics/blob/master/papers-wip2/path
src/lib.rs:678
↓ 3 callers
Function
count1
Counts the number of solutions of a 1-argument boolean function.
src/lib.rs:837
↓ 3 callers
Function
count2
Counts the number of solutions of a 2-argument boolean function.
src/lib.rs:841
↓ 3 callers
Function
qual
Path semantical quality `a ~~ b`.
src/lib.rs:673
↓ 2 callers
Function
and10
An AND relation of 10 arguments.
src/lib.rs:1391
↓ 2 callers
Function
count10
Counts the number of solutions of a 10-argument boolean function.
src/lib.rs:884
↓ 2 callers
Function
count3
Counts the number of solutions of a 3-argument boolean function.
src/lib.rs:845
↓ 2 callers
Function
count4
Counts the number of solutions of a 4-argument boolean function.
src/lib.rs:849
↓ 2 callers
Function
count5
Counts the number of solutions of a 5-argument boolean function.
src/lib.rs:853
↓ 2 callers
Function
count6
Counts the number of solutions of a 6-argument boolean function.
src/lib.rs:857
↓ 2 callers
Function
count7
Counts the number of solutions of a 7-argument boolean function.
src/lib.rs:861
↓ 2 callers
Function
count8
Counts the number of solutions of an 8-argument boolean function.
src/lib.rs:866
↓ 2 callers
Function
count9
Counts the number of solutions of a 9-argument boolean function.
src/lib.rs:873
↓ 2 callers
Method
full_rules
(&self)
src/lib.rs:1949
↓ 2 callers
Function
hom_eq
Aligns equality of qubits up to some homotopy level.
src/lib.rs:706
↓ 2 callers
Method
inner
(&self)
src/lib.rs:1788
↓ 2 callers
Function
measure
Measures result repeatedly.
src/lib.rs:820
↓ 2 callers
Function
or10
An OR relation of 10 arguments.
src/lib.rs:1436
↓ 2 callers
Function
or6
An OR relation of 6 arguments.
src/lib.rs:1422
↓ 2 callers
Function
or7
An OR relation of 7 arguments.
src/lib.rs:1424
↓ 2 callers
Function
or8
An OR relation of 8 arguments.
src/lib.rs:1428
↓ 2 callers
Function
or9
An OR relation of 9 arguments.
src/lib.rs:1432
↓ 2 callers
Function
path1_count10
Path Semantical Logic: Counts the number of solutions of a 10-argument boolean function, For more information, see the section "Path Semantical Logic
src/lib.rs:1083
↓ 2 callers
Function
path1_count3
Path Semantical Logic: Counts the number of solutions of a 3-argument boolean function, For more information, see the section "Path Semantical Logic"
src/lib.rs:973
↓ 2 callers
Function
path1_count4
Path Semantical Logic: Counts the number of solutions of a 4-argument boolean function, For more information, see the section "Path Semantical Logic"
src/lib.rs:982
↓ 2 callers
Function
path1_count5
Path Semantical Logic: Counts the number of solutions of a 5-argument boolean function, For more information, see the section "Path Semantical Logic"
src/lib.rs:992
↓ 2 callers
Function
path1_count6
Path Semantical Logic: Counts the number of solutions of a 6-argument boolean function, For more information, see the section "Path Semantical Logic"
src/lib.rs:1003
↓ 2 callers
Function
path1_count7
Path Semantical Logic: Counts the number of solutions of a 7-argument boolean function, For more information, see the section "Path Semantical Logic"
src/lib.rs:1015
↓ 2 callers
Function
path1_count8
Path Semantical Logic: Counts the number of solutions of a 8-argument boolean function, For more information, see the section "Path Semantical Logic"
src/lib.rs:1028
↓ 2 callers
Function
path1_count9
Path Semantical Logic: Counts the number of solutions of a 9-argument boolean function, For more information, see the section "Path Semantical Logic"
src/lib.rs:1050
↓ 2 callers
Function
path1_countnm
Path Semantical Logic: Counts the number of solutions of a n+m-argument boolean function, For more information, see the section "Path Semantical Logi
src/lib.rs:1153
↓ 2 callers
Function
path1_lennm
Path Semantical Logic: Computes number of cases. For proof of formula, see https://github.com/advancedresearch/path_semantics/blob/master/papers-wip/
src/lib.rs:1287
↓ 2 callers
Function
xor
Returns `true` if only one argument is `true`.
src/lib.rs:1320
↓ 2 callers
Function
xor3
An XOR relation of 3 arguments.
src/lib.rs:1461
↓ 2 callers
Function
xor4
An XOR relation of 4 arguments.
src/lib.rs:1468
↓ 2 callers
Function
xor5
An XOR relation of 5 arguments.
src/lib.rs:1475
↓ 2 callers
Function
xor6
An XOR relation of 6 arguments.
src/lib.rs:1482
↓ 2 callers
Function
xor7
An XOR relation of 7 arguments.
src/lib.rs:1489
↓ 2 callers
Function
xor8
An XOR relation of 8 arguments.
src/lib.rs:1496
↓ 2 callers
Function
xor9
An XOR relation of 9 arguments.
src/lib.rs:1503
↓ 1 callers
Method
core_rules
(&self)
src/lib.rs:1793
↓ 1 callers
Method
extend_rules
(&self, _: &Self::Inner)
src/lib.rs:1789
↓ 1 callers
Function
impl_construct
(ast: &syn::DeriveInput)
pocket_prover-derive/src/lib.rs:63
↓ 1 callers
Function
imply10
An IMPLY chain of 10 arguments.
src/lib.rs:1570
↓ 1 callers
Function
imply3
An IMPLY chain of 3 arguments.
src/lib.rs:1543
↓ 1 callers
Function
imply4
An IMPLY chain of 4 arguments.
src/lib.rs:1545
↓ 1 callers
Function
imply5
An IMPLY chain of 5 arguments.
src/lib.rs:1549
↓ 1 callers
Function
imply6
An IMPLY chain of 6 arguments.
src/lib.rs:1553
↓ 1 callers
Function
imply7
An IMPLY chain of 7 arguments.
src/lib.rs:1557
↓ 1 callers
Function
imply8
An IMPLY chain of 8 arguments.
src/lib.rs:1561
↓ 1 callers
Function
imply9
An IMPLY chain of 9 arguments.
src/lib.rs:1565
↓ 1 callers
Function
is_groupoid_n
Defines an n-groupoid relation from `x` to `a` and `b`.
src/lib.rs:794
↓ 1 callers
Function
is_prop
Defines a proposition relation of proposition `x` to potential proofs `a` and `b`.
src/lib.rs:770
↓ 1 callers
Method
min_energy
(self, other: bool)
src/lib.rs:590
↓ 1 callers
Function
orn
An OR relation of variable number of arguments.
src/lib.rs:1443
↓ 1 callers
Function
path1_count1
Path Semantical Logic: Counts the number of solutions of a 1-argument boolean function, For more information, see the section "Path Semantical Logic"
src/lib.rs:961
↓ 1 callers
Function
path1_count2
Path Semantical Logic: Counts the number of solutions of a 2-argument boolean function, For more information, see the section "Path Semantical Logic"
src/lib.rs:967
↓ 1 callers
Function
path1_countn
Path Semantical Logic: Counts the number of solutions of a n-argument boolean function, For more information, see the section "Path Semantical Logic"
src/lib.rs:1129
↓ 1 callers
Function
prove1
Returns `true` if proposition is correct, `false` otherwise.
src/lib.rs:1186
↓ 1 callers
Function
prove2
Returns `true` if proposition is correct, `false` otherwise.
src/lib.rs:1188
↓ 1 callers
Function
ps_acore
Assumes the path semantical acore axiom. This is the same as the path semantical core axiom, but using aquality instead of quality. For more informa
src/lib.rs:736
↓ 1 callers
Function
ps_acore_eq
Assumes a strong version of the path semantical acore axiom. This is the same as the strong version of path semantical core axiom, but using aquality
src/lib.rs:751
↓ 1 callers
Function
ps_core
Assumes the path semantical core axiom.
src/lib.rs:726
↓ 1 callers
Function
ps_core_eq
Assumes a strong version of the path semantical core axiom.
src/lib.rs:741
↓ 1 callers
Function
un_sesh
Removes Sesh property from a proposition. Sesh is the property that `!~a == ~!a`, which holds for `qubit` (`~`). Sometimes you want to get rid of thi
src/lib.rs:604
↓ 1 callers
Function
xor10
An XOR relation of 10 arguments.
src/lib.rs:1510
Function
all
Enumerates the type, checking that all outputs are true.
src/lib.rs:1639
Function
amplify
Amplify a "wavefunction" of a proposition using its qubit transform.
src/lib.rs:662
Function
andn
An AND relation of variable number of arguments.
src/lib.rs:1398
Function
any
Enumerates the type, checking that at least one output is true.
src/lib.rs:1629
Function
atom
(a: u64, atom: u64)
examples/molecule.rs:28
Function
bar_a_b
()
pocket_prover-derive/tests/lib.rs:29
Function
bar_bar_foo_a_b
()
pocket_prover-derive/tests/lib.rs:47
Function
bar_foo_a_b
()
pocket_prover-derive/tests/lib.rs:37
Function
bit
Converts a boolean to a bit.
src/extract.rs:34
Function
bitf
If the bit argument is `0`, returns `not`, else `id`.
src/extract.rs:40
Function
bitv
Converts a bit to a boolean.
src/extract.rs:37
Function
bond
(a: u64, b: u64, bond: u64)
examples/molecule.rs:29
Method
construct
(_vs: &[u64])
src/lib.rs:2056
Function
cont
Path semantical continuous map `a ~> b`.
src/lib.rs:670
next →
1–100 of 209, ranked by callers