Formal description method of matrix code generation technology based on Coq
A formal description and matrix code technology, applied in the field of formal description, can solve problems such as functional programs that are not suitable for expressing matrices, matrix codes cannot be generated, and translation is not enough
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] see Figure 1-Figure 8 , the present embodiment provides a formalized description method based on Coq-based matrix code generation technology, the logic block diagram of the method is as follows figure 1 As shown, the method specifically includes:
[0075] 1) Formally describe data types, function primitives, and command primitives. The specific implementation is as follows:
[0076] ① Establish the Coq inductive definition of data types: the data types in the DPIA principle include numerical types, index types, array types, dual types, and corresponding receivers and expression types, such as figure 2 , 3 , 4 shown. This embodiment constructs these types of Coq formal definitions:
[0077] Definition kinds:Type:=Type.
[0078] Inductive data:kinds:=
[0079] |num:data(*numerical type*)
[0080] |idx:nat->data(*index type*)
[0081] |ary:nat->data->data(*array type*)
[0082] |tensor:data->data->data.(*dual type*)
[0083] Definition phrase:kinds:=Type.
[0...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com