IBPCertificate
IBPCertificate
class IBPCertificateEvidence returned by IBPSolution.certify; no public constructor.
Exact identity replay and probabilistic master counts are separate evidence. Neither a stable residual set nor a count-consistent result proves closure or independence of the residual integrals.
Examples
from symbolica import S
from symbolica.community import hepkit as hep
d, k, m2 = S("d", "k", "m2")
kin = hep.Kinematics(d, momenta=[k])
family = hep.IntegralFamily([k], [], [kin.scalar_product(k, k) - m2], kinematics=kin)
ibp = hep.IBPFamily(family, name="T")
solution = ibp.reduce_laporta([[3]], max_depth=1)
certificate = solution.certify(seed=0)
assert certificate.reduction == "verified"Attributes
| Name | Description |
|---|---|
excess_sectors |
Sectors with more residuals than the counted master number. |
identities |
Number of instantiated original identities used during replay |
master_counts |
Generic count per residual sector; None where no verdict is available |
masters |
unchecked, incomplete, no-verdict, or count-consistent. |
no_verdict |
Explanation for sectors without a count verdict. |
reduction |
Exact identity replay status: verified or unchecked. |
replayed_rules |
Number of rules reconstructed from the original exact identities |
residual_counts |
Number of search residuals in each checked sector. |
seed |
Probabilistic counting seed; None when counting was not requested. |
stable_depth |
First depth whose residual set survived two further search depths |
excess_sectors
IBPCertificate.excess_sectors: list[list[bool]]Sectors with more residuals than the counted master number.
Examples
Using the setup in the IBPCertificate class example:
assert certificate.excess_sectors == []identities
IBPCertificate.identities: int | NoneNumber of instantiated original identities used during replay.
None means replay was not requested.
Examples
Using the setup in the IBPCertificate class example:
assert certificate.identities > 0master_counts
IBPCertificate.master_counts: dict[tuple[bool, ...], int | None] | NoneGeneric count per residual sector; None where no verdict is available.
The whole mapping is None when master counting was not requested.
Examples
Using the setup in the IBPCertificate class example:
assert certificate.master_counts == {(True,): 1}masters
IBPCertificate.masters: strunchecked, incomplete, no-verdict, or count-consistent.
Examples
Using the setup in the IBPCertificate class example:
assert certificate.masters == "count-consistent"no_verdict
IBPCertificate.no_verdict: dict[tuple[bool, ...], str] | NoneExplanation for sectors without a count verdict.
Examples
Using the setup in the IBPCertificate class example:
assert certificate.no_verdict == {}reduction
IBPCertificate.reduction: strExact identity replay status: verified or unchecked.
Examples
Using the setup in the IBPCertificate class example:
assert certificate.reduction == "verified"replayed_rules
IBPCertificate.replayed_rules: int | NoneNumber of rules reconstructed from the original exact identities.
None means replay was not requested.
Examples
Using the setup in the IBPCertificate class example:
assert certificate.replayed_rules > 0residual_counts
IBPCertificate.residual_counts: dict[tuple[bool, ...], int] | NoneNumber of search residuals in each checked sector.
Examples
Using the setup in the IBPCertificate class example:
assert certificate.residual_counts == {(True,): 1}seed
IBPCertificate.seed: int | NoneProbabilistic counting seed; None when counting was not requested.
Examples
Using the setup in the IBPCertificate class example:
assert certificate.seed == 0stable_depth
IBPCertificate.stable_depth: int | NoneFirst depth whose residual set survived two further search depths.
None means no stable depth was recorded; this is not a closure test.
Examples
Using the setup in the IBPCertificate class example:
assert certificate.stable_depth is NoneMethods
| Name | Description |
|---|---|
__repr__ |
Summarize replay, counting, and stability evidence for inspection. |
__repr__
IBPCertificate.__repr__() -> strSummarize replay, counting, and stability evidence for inspection.
Examples
Using the setup in the IBPCertificate class example:
summary = repr(certificate)