pub struct HomomorphismDescriptor {
pub kind: TransferKind,
pub map_decl: String,
pub source_type: String,
pub target_type: String,
pub theorem_verification: String,
pub theorem_id: Option<u32>,
}Expand description
The verification-preserving map A → B, named by the artifact that proves it.
Fields§
§kind: TransferKind§map_decl: StringFor LeanHomomorphism: the Lean decl implementing Transfer A B
(e.g. “Vela.TransferCWCtoDNA.cwcToDNA”). For FrozenVerifier: the
verifier id (e.g. “vela-verify:dnacode”).
source_type: StringSource frontier type tag — must equal A’s domain (e.g. “constant_weight_code”).
target_type: StringTarget frontier type tag — must equal B’s premise domain (e.g. “dna_code”).
theorem_verification: StringThe vlv_ Lean verification of the transfer theorem (LeanHomomorphism).
Empty for FrozenVerifier.
theorem_id: Option<u32>The Theorem-23-family theorem id in the lean-anchors registry.
Trait Implementations§
Source§impl Clone for HomomorphismDescriptor
impl Clone for HomomorphismDescriptor
Source§fn clone(&self) -> HomomorphismDescriptor
fn clone(&self) -> HomomorphismDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HomomorphismDescriptor
impl Debug for HomomorphismDescriptor
Source§impl<'de> Deserialize<'de> for HomomorphismDescriptor
impl<'de> Deserialize<'de> for HomomorphismDescriptor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HomomorphismDescriptor
Source§impl PartialEq for HomomorphismDescriptor
impl PartialEq for HomomorphismDescriptor
Source§impl Serialize for HomomorphismDescriptor
impl Serialize for HomomorphismDescriptor
impl StructuralPartialEq for HomomorphismDescriptor
Auto Trait Implementations§
impl Freeze for HomomorphismDescriptor
impl RefUnwindSafe for HomomorphismDescriptor
impl Send for HomomorphismDescriptor
impl Sync for HomomorphismDescriptor
impl Unpin for HomomorphismDescriptor
impl UnsafeUnpin for HomomorphismDescriptor
impl UnwindSafe for HomomorphismDescriptor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.