Intelligent contract compiling method suitable for formal verification

A formal verification and smart contract technology, applied in the field of blockchain smart contracts, can solve the problems of cumbersome application and low efficiency, and achieve the effect of improving compilation efficiency

Active Publication Date: 2019-05-14
HANGZHOU YUNXIANG NETWORK TECH
View PDF3 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Commonly used smart contract editing languages ​​such as Java, C language, etc. are highly efficient engineering application languages. In the process of formal verification of smart contracts, it is necessary to convert the engineering application language into a mathematical logic language that can be formally verified for function modeling. , the use is relatively cumbersome and the efficiency is relatively low, so it is necessary to propose a new type of language, which includes engineering applications and type mathematics collections. Using formal proofs combined with language editing, all bugs can be found before running, and the safety of the written program can be guaranteed. Bug-free and easy-to-use editing language

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Intelligent contract compiling method suitable for formal verification
  • Intelligent contract compiling method suitable for formal verification
  • Intelligent contract compiling method suitable for formal verification

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to describe the present invention more specifically, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0028] The present invention is suitable for a smart contract compilation method for formal verification, including a smart contract compilation language, the type system of the smart contract compilation language includes types (field methods of entity classes) and mathematical sets, and the contract language uses multiple virtual function tables , to realize multi-type parameters, which can be quickly expressed by high-order logic HOL. When performing contract formal verification, it is only necessary to prove the function theorems used, without function modeling.

[0029] Among them, the type is contained by a mathematical set that is at least larger than itself. The type implements the intersection and complement operation as one of the sets, and can b...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an intelligent contract compiling method suitable for formal verification. The novel intelligent contract compilation language comprises an engineering application and type mathematical set, all Bugs can be found before operation by utilizing formal proof in combination with language editing, it can be guaranteed that a written program can edit a language which is safe, free of vulnerability and simple to operate, and verification of an intelligent contract form test is carried out. When contract formal verification is carried out, only the used function theorem needs to be proved, function modeling is not needed, and the intelligent contract compiling efficiency is greatly improved.

Description

technical field [0001] The invention belongs to the technical field of blockchain smart contracts, and in particular relates to a smart contract compilation method suitable for formal verification. Background technique [0002] Blockchain technology uses block chain data structure to verify and store data, uses distributed node consensus algorithm to generate and update data, uses cryptography to ensure the security of data transmission and access, and utilizes intelligence composed of automated script codes. A new distributed infrastructure and computing method that uses contracts to program and manipulate data. The blockchain technology headed by Bitcoin put the idea of ​​smart contracts into practice, and then Ethereum developed smart contracts, and Ethereum turned the scripts in Bitcoin transactions into a kind of universal Turing completeness (the so-called Turing completeness is Refers to the programming language whose expression ability has been released to the great...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41G06F8/30
Inventor 黄步添徐启源张维赛陈建海闫凤喜王从礼石太彬苑振霞
Owner HANGZHOU YUNXIANG NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products