Smart Contract Verification via Interface Automata

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current smart contract technologies face challenges in unambiguously capturing and verifying contractual terms, particularly in service level agreements (SLAs), due to their complexity and legal jargon, which hinders clear understanding and automated enforcement.

Innovation Solution

The implementation of an interface automata model, extended with properties relevant to smart contracts, enables the formal modeling of SLAs, verifying compatibility, and detecting violations through a system comprising a resource manager, service manager, compatibility manager, synchronizer, and recordation manager, utilizing blockchain technology for immutability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If smart contracts are modeled using traditional computational models, then the system structure is simple, but the ability to unambiguously capture and verify contractual terms is insufficient

Engineering Contradiction:
Improveverification precisionVSAvoidmodel complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the smart contract verification process into distinct computational model interfaces, where each interface represents specific contractual terms or obligations. This segmentation allows for precise verification of individual terms while maintaining overall contract integrity, resolving the contradiction between verification precision and model complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary computational model that translates between natural language contractual terms and machine-verifiable representations. This intermediary layer enables precise verification without requiring the entire system to become overly complex, as the intermediary handles the complexity of interpretation while presenting simplified interfaces to other components.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Extent of automation

If computational models are used to model smart contracts, then automated verification is enabled, but the complexity of modeling contractual terms increases

Engineering Contradiction:
Improveautomated verificationVSAvoidmodeling complexity
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The patent creates universal computational model interfaces that can handle multiple types of contractual terms and verification scenarios through standardized structures. These multi-functional interfaces reduce modeling complexity by providing reusable patterns for common contract elements while still enabling automated verification across diverse contractual arrangements.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent employs parameterized computational models where contractual terms are represented as configurable parameters rather than fixed structures. This allows the same computational framework to automatically adapt to different contract types and terms by changing parameters, thereby enabling automated verification without increasing fundamental modeling complexity.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If formal verification methods are applied to smart contracts, then compatibility verification accuracy is improved, but the time and computational resources required increase

Engineering Contradiction:
Improvecompatibility verification accuracyVSAvoidverification time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by pre-compiling and validating computational model interfaces before actual contract verification. This includes pre-checking the consistency of interface definitions and preparing verification rules in advance, so that during actual verification, the system can quickly check compatibility without performing all computational work from scratch, thus reducing verification time while maintaining accuracy.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies local quality by focusing formal verification efforts on specific critical interfaces and contractual terms that require high accuracy, rather than uniformly applying intensive verification to all contract elements. This selective approach maintains high verification accuracy for critical components while reducing overall verification time by using lighter-weight methods for less critical aspects.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11587189B2Formal verification of smart contracts
Publication Date: 2023.02.21 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11587189B2 patent drawing
  • US11587189B2 patent drawing
  • US11587189B2 patent drawing

AI summary

Embodiments relate to a system, program product, and method for smart contract implementation and management. A request for resources is modeled and a reservation of resources is captured in a first computation model interface. A provision of services is modeled as a second computation model interface. Compatibility of the first and second computation model interfaces is verified. Input and output actions are synchronized between the first and second computation model interfaces responsive to the compatibility verification. A smart contract is composed as a third computation model interface to model negotiation of contractual terms, including the captured resources with the provision of services. The composed smart contract is recorded in an operatively coupled immutable venue.