当前位置:网站首页>how to prove compiler‘s correctness
how to prove compiler‘s correctness
2022-07-07 17:09:00 【大魔法师云中君】
Formal verification
Compiler correctness for all input programs
since the tool to find the proof (theorem prover) is implemented in software and is complex,
there is a high probability it will contain errors.
One approach has been to use a tool that verifies the proof (a proof checker) which,
because it is much simpler than a proof-finder, is less likely to contain errors.
A prominent example of this approach is CompCert,
which is a formally verified optimizing compiler of a large subset of C99.
Translation validation: compiler correctness on a given program
In contrast to attempting to prove that a compiler is correct for all valid input programs
translation validation aims to automatically establish that a given input program is compiled correctly
compares the intermediate form of the program before and after each compiler pass and verifies the preservation of semantics.
Testing
generates random programs to try to find bugs in a compiler
minimize a found test case to make it easier to understand
边栏推荐
- How many are there (Lua)
- testing and SQA_动态白盒測试[通俗易懂]
- 脑洞从何而来?加州大学最新研究:有创造力的人神经连接会「抄近道」
- AI writes a poem
- In 2021, the national average salary was released. Have you reached the standard?
- 基于图像和激光的多模态点云融合与视觉定位
- Do you know all four common cache modes?
- 高温火烧浑不怕,钟薛高想留清白在人间
- Wechat web debugging 8.0.19 replace the X5 kernel with xweb, so the X5 debugging method can no longer be used. Now there is a solution
- Solve the error reporting problem of rosdep
猜你喜欢

Former richest man, addicted to farming

编译原理 实验一:词法分析器的自动实现(Lex词法分析)
![Jerry's headphones with the same channel are not allowed to pair [article]](/img/7d/3dcd9c7df583944e1d765b67543eb1.png)
Jerry's headphones with the same channel are not allowed to pair [article]

抢占周杰伦

In 2021, the national average salary was released. Have you reached the standard?

I feel cheated. Wechat tests the function of "size number" internally, and two wechat can be registered with the same mobile number

How to estimate the value of "not selling pens" Chenguang?

Responsibility chain model - unity

Tips and tricks of image segmentation summarized from 39 Kabul competitions
![[information security laws and regulations] review](/img/da/c9318ea8999c3ee629b0e48ab78581.png)
[information security laws and regulations] review
随机推荐
完整的电商系统
How many are there (Lua)
L1-019 who falls first (Lua)
The moveposition function of rigidbody2d of unity2d solves the problem of people or screen jitter when moving
Number - number (Lua)
Do you know all four common cache modes?
LeetCode 890(C#)
2022.07.04
Draw squares with Obama (Lua)
PV static creation and dynamic creation
"Decryption" Huawei machine vision Corps: Huawei is moving up and the industry is moving forward
Is AI more fair than people in the distribution of wealth? Research on multiplayer game from deepmind
Hongmeng smart home [1.0]
杰理之测试盒配置声道【篇】
Version 2.0 of tapdata, the open source live data platform, has been released
LeetCode 497(C#)
6. About JWT
testing and SQA_动态白盒測试[通俗易懂]
2022.07.02
Solve the error reporting problem of rosdep