• bitcoinBitcoin(BTC)$80,419.00-0.92%
  • ethereumEthereum(ETH)$2,583.68-1.52%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$749.18-1.64%
  • rippleXRP(XRP)$1.38-2.99%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • solanaSolana(SOL)$108.77-4.03%
  • tronTRON(TRX)$0.3399230.39%
  • zcashZcash(ZEC)$1,452.80-5.29%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.02-1.50%
  • HyperliquidHyperliquid(HYPE)$90.79-3.05%
  • dogecoinDogecoin(DOGE)$0.085645-2.93%
  • moneroMonero(XMR)$529.92-7.37%
  • whitebitWhiteBIT Coin(WBT)$81.84-1.70%
  • RainRain(RAIN)$0.0136321.74%
  • USDSUSDS(USDS)$1.00-0.01%
  • chainlinkChainlink(LINK)$12.06-2.94%
  • cardanoCardano(ADA)$0.221779-4.15%
  • leo-tokenLEO Token(LEO)$8.900.19%
  • stellarStellar(XLM)$0.190892-2.68%
  • uniswapUniswap(UNI)$8.73-1.75%
  • bitcoin-cashBitcoin Cash(BCH)$245.45-1.42%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • daiDai(DAI)$1.00-0.01%
  • nearNEAR Protocol(NEAR)$3.49-7.56%
  • litecoinLitecoin(LTC)$57.04-3.16%
  • USD1USD1(USD1)$1.00-0.01%
  • avalanche-2Avalanche(AVAX)$9.5311.62%
  • CantonCanton(CC)$0.105610-6.23%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.37-0.48%
  • MemeCoreMemeCore(M)$1.6830.62%
  • hedera-hashgraphHedera(HBAR)$0.0803960.86%
  • suiSui(SUI)$0.82-1.06%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.85%
  • crypto-com-chainCronos(CRO)$0.058897-0.92%
  • BittensorBittensor(TAO)$253.16-1.89%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.01%
  • tether-goldTether Gold(XAUT)$4,368.85-0.15%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • okbOKB(OKB)$115.90-0.98%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.03%
  • aaveAave(AAVE)$137.15-4.73%
  • AsterAster(ASTER)$0.74-4.50%
  • EthenaEthena(ENA)$0.1970138.48%
  • OndoOndo(ONDO)$0.405958-1.02%
  • mantleMantle(MNT)$0.60-4.16%
  • pax-goldPAX Gold(PAXG)$4,360.79-0.17%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Researchers at the University of Manchester Proposes ESBMC-Python: The First BMC-based Python-code Verifier for Formal Verification of Python Programs

July 8, 2024
in AI & Technology
Reading Time: 5 mins read
A A
Researchers at the University of Manchester Proposes ESBMC-Python: The First BMC-based Python-code Verifier for Formal Verification of Python Programs
ShareShareShareShareShare

Formal verification is crucial in software engineering to ensure program correctness through mathematical proof. One widely used technique for this purpose is bounded model checking (BMC), which involves verifying the correctness of a program within specified bounds. Python, a programming language favored for its simplicity and extensive libraries, particularly in fields like web development, image processing, and artificial intelligence, presents unique challenges for formal verification. This is largely due to its dynamic nature and the lack of explicit type information, which is essential for traditional verification tools.

Verifying Python programs is inherently difficult because Python determines type information at runtime. This dynamic typing makes it hard for traditional static analysis tools to ascertain program correctness. Without explicit type annotations, ensuring the safety and correctness of Python programs, especially those in systems with critical security requirements, becomes a formidable task. This problem is exacerbated in large codebases or applications where security and reliability are paramount.

YOU MAY ALSO LIKE

How Long Can You Expect Your Old Cassette Tapes To Last?

How To Record Audio On Your iPhone

Traditional methods for verifying statically typed languages typically involve converting code into an intermediate representation that verification tools can analyze. For Python, some researchers have explored converting Python code into C to take advantage of existing C verification tools. However, this approach is often inefficient and impractical due to the fundamental differences between Python and C, such as Python’s dynamic features and C’s static typing requirements.

Researchers from the University of Manchester and TPV Technology have introduced ESBMC-Python, a novel tool designed to verify Python programs. ESBMC-Python utilizes the ESBMC framework, an efficient SMT-based bounded model checker, to formally verify Python code. This tool converts Python programs into abstract syntax trees (ASTs), then type-annotated and formatted to fit into the BMC pipeline. This transformation allows the verification of Python programs by overcoming the difficulties posed by Python’s dynamic typing.

The process employed by ESBMC-Python begins with parsing the Python source code to generate an AST. This AST is then annotated with type information, which is crucial for the subsequent steps. The annotated AST is translated into an intermediate representation that the ESBMC framework can process. This conversion involves translating Python expressions and statements into symbols that fit within the ESBMC’s model-checking structure. The tool effectively handles Python’s dynamic features by converting them into a format suitable for the BMC pipeline, enabling the verification of properties such as type correctness and logical consistency.

ESBMC-Python’s performance was rigorously evaluated using a benchmark suite comprising 85 Python programs. These programs covered many features in real-world Python applications, including arithmetic operations, conditionals, loops, user assertions, bitwise operations, classes, inheritance, and polymorphism. The evaluation results were impressive, with average verification times ranging from 24.5 milliseconds to 49.1 milliseconds and memory usage between 14.5 and 26.4 megabytes. These figures indicate that ESBMC-Python is efficient and can handle large codebases and extensive program sets in relatively short periods.

One of the standout achievements of ESBMC-Python was its ability to identify a critical division-by-zero error in the Ethereum consensus specification. This specification controls the Ethereum blockchain’s node inclusion, validation, and validator penalty processes. The error involved an unsigned integer overflowing to zero and subsequently being used as a divisor, which could have led to significant service interruptions and potential security vulnerabilities in the blockchain network. The successful identification and subsequent correction of this error by ESBMC-Python underscore its practical utility and effectiveness in real-world applications.

In conclusion, ESBMC-Python’s ability to identify critical errors, such as the division-by-zero issue in the Ethereum consensus specification, highlights its practical relevance and reliability. This tool ensures the safety and correctness of Python programs and provides a valuable benchmark for future verification tools. The research team plans to extend ESBMC-Python’s capabilities by including more features and enhancing the type inference algorithm to handle complex program flows.


Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. 

Join our Telegram Channel and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our 46k+ ML SubReddit


Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.

🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…


Credit: Source link

ShareTweetSendSharePin

Related Posts

How Long Can You Expect Your Old Cassette Tapes To Last?
AI & Technology

How Long Can You Expect Your Old Cassette Tapes To Last?

September 20, 2026
How To Record Audio On Your iPhone
AI & Technology

How To Record Audio On Your iPhone

September 20, 2026
OpenClaw Releases 2026.9.5 With Atomic Updates, Plugin Hot Reload, Conversation Sharing, and Expanded GPT Live
AI & Technology

OpenClaw Releases 2026.9.5 With Atomic Updates, Plugin Hot Reload, Conversation Sharing, and Expanded GPT Live

September 19, 2026
Trump Proposes Renaming Artificial Intelligence, Announces AI Force – Unite.AI
AI & Technology

Trump Proposes Renaming Artificial Intelligence, Announces AI Force – Unite.AI

September 19, 2026
Next Post
Stay Tuned NOW with Gadi Schwartz – June 20 | NBC News

Stay Tuned NOW with Gadi Schwartz - June 20 | NBC News

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Google Gemini accessed protected systems of 3 real companies during artificial intelligence cybersecurity test – Fox Business

Google Gemini accessed protected systems of 3 real companies during artificial intelligence cybersecurity test – Fox Business

September 19, 2026
Pappas questions Trump’s ‘golden age’ after primary win

Pappas questions Trump’s ‘golden age’ after primary win

September 15, 2026
Texas Attorney General investigates military healthcare contractor TriWest

Texas Attorney General investigates military healthcare contractor TriWest

September 17, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!