• About TC
  • Affiliate Disclaimer
  • Privacy Policy
  • TOS
  • Contact
Wednesday, May 14, 2025
Techcratic
Click For A Secret Deal
  • TC
  • AI
    Artificial Intelligence

    StreamBridge: Turning Your Offline Video Large Language Model into a Proactive Streaming Assistant

    Artificial Intelligence

    3 Excellent Practical Generative AI Courses

    Artificial Intelligence

    Building End-to-End Data Pipelines with Dask

    Artificial Intelligence

    Automate document translation and standardization with Amazon Bedrock and Amazon Translate

    Artificial Intelligence

    InterVision accelerates AI development using AWS LLM League and Amazon SageMaker AI

    Artificial Intelligence

    FireDucks: An Accelerated Fully Compatible Pandas Library

    Artificial Intelligence

    Breaking Out of Beginner: Python Patterns for Intermediate Data Scientists

    Artificial Intelligence

    Building a Personal Knowledge Management Tool with Reor

    Artificial Intelligence

    Build a location-aware agent using Amazon Bedrock Agents and Foursquare APIs

  • Crypto
    Hashdex Seeks SEC Approval to Add Litecoin to Crypto Index ETF

    South Korea’s Crypto Committee: Redefining Regulation?

    SEC Chair Discusses 3 Crypto Areas of Focus—Major Policy Moves Ahead

    SEC Chair Discusses 3 Crypto Areas of Focus—Major Policy Moves Ahead

    Market volatility indicator still points to $135K Bitcoin within 100 days — Analyst

    Market volatility indicator still points to $135K Bitcoin within 100 days — Analyst

    Best Presales to Buy Today – Which Coins Are Poised for a Breakout?

    $BEST Wallet Raises $12.2M as Altcoin Season Looms

    Is This the Start of ‘Altcoin Season’? Bitcoin Nears Record High as Altcoins Ignite

    Is This the Start of ‘Altcoin Season’? Bitcoin Nears Record High as Altcoins Ignite

    MoonX: BYDFi’s On-Chain Trading Engine — A Ticket from CEX to DEX

    MoonX: BYDFi’s On-Chain Trading Engine — A Ticket from CEX to DEX

    JPMorgan: Gold Could Reach $6,000 if This Shift Happens

    JPMorgan: Gold Could Reach $6,000 if This Shift Happens

    Nirvana Labs Raises $6 Million to Build Next-Gen Web3 Infrastructure

    Nirvana Labs Raises $6 Million to Build Next-Gen Web3 Infrastructure

    Hashdex Seeks SEC Approval to Add Litecoin to Crypto Index ETF

    SOL Strategies and DigitalX Unlock Institutional Solana Staking with BitGo

  • Cybersecurity
    Cybersecurity

    Fortinet Patches CVE-2025-32756 Zero-Day RCE Flaw Exploited in FortiVoice Systems

    Cybersecurity

    Can we counter online disinformation?

    Cybersecurity

    Malicious PyPI Package Posing as Solana Tool Stole Source Code in 761 Downloads

    Cybersecurity

    China-Linked APTs Exploit SAP CVE-2025-31324 to Breach 581 Critical Systems Worldwide

    Cybersecurity

    Why Exposed Credentials Remain Unfixed—and How to Change That

    Cybersecurity

    Google Pays $1.375 Billion to Texas Over Unauthorized Tracking and Biometric Data Collection

    Cybersecurity

    Deploying AI Agents? Learn to Secure Them Before Hackers Strike Your Business

    Cybersecurity

    Google Rolls Out On-Device AI Protections to Detect Scams in Chrome and Android

    Cybersecurity

    Chinese Hackers Exploit SAP RCE Flaw CVE-2025-31324, Deploy Golang-Based SuperShell

  • Deals
    The Memory Company | Licensed NFL Team Logo Leather Flask with Shot Glass and Funnel Set

    The Memory Company | Licensed NFL Team Logo Leather Flask with Shot Glass and Funnel Set

    ORICO Portable SSD 256 GB with 2 in 1 USB C Cable, External Solid State Drives, Up to…

    ORICO Portable SSD 256 GB with 2 in 1 USB C Cable, External Solid State Drives, Up to…

    Lenovo ThinkPad T490s 14.0” FHD Laptop, Intel Quad-Core i7-8665U up to 3.90GHz, 32GB…

    Lenovo ThinkPad T490s 14.0” FHD Laptop, Intel Quad-Core i7-8665U up to 3.90GHz, 32GB…

    ICY DOCK 4 Bays Dual 2 x 2.5 inch Hard Drive SSD Mounting Bracket Adapter for External…

    ICY DOCK 4 Bays Dual 2 x 2.5 inch Hard Drive SSD Mounting Bracket Adapter for External…

    MINIX Z100-0dB Fanless Mini PC, Intel 12th Gen N100, 16GB DDR4/512GB PCIe 3.0 X4 SSD/4K…

    MINIX Z100-0dB Fanless Mini PC, Intel 12th Gen N100, 16GB DDR4/512GB PCIe 3.0 X4 SSD/4K…

    Crystal Clear Cover Kickstand Case for Steam Deck Gaming Console PC Protective Skin Case…

    Crystal Clear Cover Kickstand Case for Steam Deck Gaming Console PC Protective Skin Case…

    STGAubron Gaming PC Desktop Computer, Intel Core I7 up to 3.9 GHz, Radeon RX 580 8G, 16G…

    STGAubron Gaming PC Desktop Computer, Intel Core I7 up to 3.9 GHz, Radeon RX 580 8G, 16G…

    Razer Ornata V3 X Gaming Keyboard: Low Profile Keys – Silent Membrane Switches – Spill…

    Razer Ornata V3 X Gaming Keyboard: Low Profile Keys – Silent Membrane Switches – Spill…

    NEO CHAIR Office Chair Computer Desk Gaming Chair Ergonomic Executive High Back with…

    NEO CHAIR Office Chair Computer Desk Gaming Chair Ergonomic Executive High Back with…

  • Gaming
    New Super Mario Bros. U – Trailer Analysis (Secrets & Hidden Details)

    New Super Mario Bros. U – Trailer Analysis (Secrets & Hidden Details)

    Inside Assassin's Creed III – Episode One [UK]

    Inside Assassin's Creed III – Episode One [UK]

    Microsoft’s upcoming OneDrive update bypasses security protocols between business and personal files

    Microsoft’s upcoming OneDrive update bypasses security protocols between business and personal files

    The Super Mario Bros. Movie Trailer REACTION!

    The Super Mario Bros. Movie Trailer REACTION!

    A Non-Harry Potter Fan Reviews Hogwarts Legacy

    A Non-Harry Potter Fan Reviews Hogwarts Legacy

    REDRAGON S101 GAMING KEYBOARD

    Monster Hunter Wilds drives quarterly net sales for Capcom

    Asassin's Creed Shadows LEAK is HILARIOUSLY BAD. No wonder Ubisoft looks to be SELLING OFF

    Asassin's Creed Shadows LEAK is HILARIOUSLY BAD. No wonder Ubisoft looks to be SELLING OFF

    Grand Theft Auto VI (GTA VI) | OFFICIAL TRAILER | Reaction – LiteWeight Gaming

    Grand Theft Auto VI (GTA VI) | OFFICIAL TRAILER | Reaction – LiteWeight Gaming

    Funeral Horror Mascot Mobile – Gameplay Walkthrough Part 2 – Full Game (Android, iOS)

    Funeral Horror Mascot Mobile – Gameplay Walkthrough Part 2 – Full Game (Android, iOS)

  • Tesla
    Ziciner Car Registration Insurance Holder, 2Pack Essential Auto Card Document Glove Box…

    Ziciner Car Registration Insurance Holder, 2Pack Essential Auto Card Document Glove Box…

    MeeFar Hitch Mount Cargo Carrier Bag Soft Shell 100% Waterproof 20 Cubic Feet (59″ 24″…

    MeeFar Hitch Mount Cargo Carrier Bag Soft Shell 100% Waterproof 20 Cubic Feet (59″ 24″…

    Car Front Under Seat Storage Box for Tesla Model Y Model X 2020-2024 2025 Accessories…

    Car Front Under Seat Storage Box for Tesla Model Y Model X 2020-2024 2025 Accessories…

    Tesla employees try to oust Elon, new Volvo, and Micah’s close call

    Tesla employees try to oust Elon, new Volvo, and Micah’s close call

    Tesla shares video of its Optimus robot catching up to competition

    Tesla shares video of its Optimus robot catching up to competition

    Driver Side Mirror Replacement for Tesla Model Y 2019 2020 2021 2022 2023 2024, ModelY -…

    Driver Side Mirror Replacement for Tesla Model Y 2019 2020 2021 2022 2023 2024, ModelY -…

    Tesla will pause part of new Model Y production for 3 weeks for upgrades, report says

    Tesla (TSLA) Chinese deliveries dropped to a scary low level

    Car Roof Rack, 63″ x 47.2″ Universal Roof Flat Rack Aluminum Construction Heavy Duty…

    Car Roof Rack, 63″ x 47.2″ Universal Roof Flat Rack Aluminum Construction Heavy Duty…

    Front Windshield Sunshield, 55.12 inch x 27.56 inch Sunproof Heat Insulation 4 Seasons…

    Front Windshield Sunshield, 55.12 inch x 27.56 inch Sunproof Heat Insulation 4 Seasons…

  • UFO
    Nicetage Women Vintage Space Shuttle Graphic T-Shirt NASA Letter Print Shirt Casual Tee Tops

    Nicetage Women Vintage Space Shuttle Graphic T-Shirt NASA Letter Print Shirt Casual Tee Tops

    U.S. Senator's amendment into UFO investigations gains momentum

    U.S. Senator's amendment into UFO investigations gains momentum

    Scooby-Doo:Alien Inv/SD:Zombie Is (DBFE)

    Scooby-Doo:Alien Inv/SD:Zombie Is (DBFE)

    Astrophysicist: Evidence matters in alien research | NewsNation Prime

    Astrophysicist: Evidence matters in alien research | NewsNation Prime

    The 'Ancient Aliens' Idea is More Realistic Than You'd Expect…

    The 'Ancient Aliens' Idea is More Realistic Than You'd Expect…

    The Conscious Contactee: Understanding Alien Encounters

    The Conscious Contactee: Understanding Alien Encounters

    Nathanial Hornblower’s: The Robot v The Octopus Monster Saga | Intergalactic | 98 | 720p | GW-A.I.

    Nathanial Hornblower’s: The Robot v The Octopus Monster Saga | Intergalactic | 98 | 720p | GW-A.I.

    Fidget Toys Adult, Gravity Defying Kinetic Desk Toy, Metal ADHD Silent Fidget Toy Spinner, Balance Desk Toys for Office for Adults, Party Favors, Birthday (Gray-Rose Gold Ball)

    Fidget Toys Adult, Gravity Defying Kinetic Desk Toy, Metal ADHD Silent Fidget Toy Spinner, Balance Desk Toys for Office for Adults, Party Favors, Birthday (Gray-Rose Gold Ball)

    Astronauts Stranded in Space Until 2025 #shorts #shortsfeed

    Astronauts Stranded in Space Until 2025 #shorts #shortsfeed

No Result
View All Result
  • TC
  • AI
    Artificial Intelligence

    StreamBridge: Turning Your Offline Video Large Language Model into a Proactive Streaming Assistant

    Artificial Intelligence

    3 Excellent Practical Generative AI Courses

    Artificial Intelligence

    Building End-to-End Data Pipelines with Dask

    Artificial Intelligence

    Automate document translation and standardization with Amazon Bedrock and Amazon Translate

    Artificial Intelligence

    InterVision accelerates AI development using AWS LLM League and Amazon SageMaker AI

    Artificial Intelligence

    FireDucks: An Accelerated Fully Compatible Pandas Library

    Artificial Intelligence

    Breaking Out of Beginner: Python Patterns for Intermediate Data Scientists

    Artificial Intelligence

    Building a Personal Knowledge Management Tool with Reor

    Artificial Intelligence

    Build a location-aware agent using Amazon Bedrock Agents and Foursquare APIs

  • Crypto
    Hashdex Seeks SEC Approval to Add Litecoin to Crypto Index ETF

    South Korea’s Crypto Committee: Redefining Regulation?

    SEC Chair Discusses 3 Crypto Areas of Focus—Major Policy Moves Ahead

    SEC Chair Discusses 3 Crypto Areas of Focus—Major Policy Moves Ahead

    Market volatility indicator still points to $135K Bitcoin within 100 days — Analyst

    Market volatility indicator still points to $135K Bitcoin within 100 days — Analyst

    Best Presales to Buy Today – Which Coins Are Poised for a Breakout?

    $BEST Wallet Raises $12.2M as Altcoin Season Looms

    Is This the Start of ‘Altcoin Season’? Bitcoin Nears Record High as Altcoins Ignite

    Is This the Start of ‘Altcoin Season’? Bitcoin Nears Record High as Altcoins Ignite

    MoonX: BYDFi’s On-Chain Trading Engine — A Ticket from CEX to DEX

    MoonX: BYDFi’s On-Chain Trading Engine — A Ticket from CEX to DEX

    JPMorgan: Gold Could Reach $6,000 if This Shift Happens

    JPMorgan: Gold Could Reach $6,000 if This Shift Happens

    Nirvana Labs Raises $6 Million to Build Next-Gen Web3 Infrastructure

    Nirvana Labs Raises $6 Million to Build Next-Gen Web3 Infrastructure

    Hashdex Seeks SEC Approval to Add Litecoin to Crypto Index ETF

    SOL Strategies and DigitalX Unlock Institutional Solana Staking with BitGo

  • Cybersecurity
    Cybersecurity

    Fortinet Patches CVE-2025-32756 Zero-Day RCE Flaw Exploited in FortiVoice Systems

    Cybersecurity

    Can we counter online disinformation?

    Cybersecurity

    Malicious PyPI Package Posing as Solana Tool Stole Source Code in 761 Downloads

    Cybersecurity

    China-Linked APTs Exploit SAP CVE-2025-31324 to Breach 581 Critical Systems Worldwide

    Cybersecurity

    Why Exposed Credentials Remain Unfixed—and How to Change That

    Cybersecurity

    Google Pays $1.375 Billion to Texas Over Unauthorized Tracking and Biometric Data Collection

    Cybersecurity

    Deploying AI Agents? Learn to Secure Them Before Hackers Strike Your Business

    Cybersecurity

    Google Rolls Out On-Device AI Protections to Detect Scams in Chrome and Android

    Cybersecurity

    Chinese Hackers Exploit SAP RCE Flaw CVE-2025-31324, Deploy Golang-Based SuperShell

  • Deals
    The Memory Company | Licensed NFL Team Logo Leather Flask with Shot Glass and Funnel Set

    The Memory Company | Licensed NFL Team Logo Leather Flask with Shot Glass and Funnel Set

    ORICO Portable SSD 256 GB with 2 in 1 USB C Cable, External Solid State Drives, Up to…

    ORICO Portable SSD 256 GB with 2 in 1 USB C Cable, External Solid State Drives, Up to…

    Lenovo ThinkPad T490s 14.0” FHD Laptop, Intel Quad-Core i7-8665U up to 3.90GHz, 32GB…

    Lenovo ThinkPad T490s 14.0” FHD Laptop, Intel Quad-Core i7-8665U up to 3.90GHz, 32GB…

    ICY DOCK 4 Bays Dual 2 x 2.5 inch Hard Drive SSD Mounting Bracket Adapter for External…

    ICY DOCK 4 Bays Dual 2 x 2.5 inch Hard Drive SSD Mounting Bracket Adapter for External…

    MINIX Z100-0dB Fanless Mini PC, Intel 12th Gen N100, 16GB DDR4/512GB PCIe 3.0 X4 SSD/4K…

    MINIX Z100-0dB Fanless Mini PC, Intel 12th Gen N100, 16GB DDR4/512GB PCIe 3.0 X4 SSD/4K…

    Crystal Clear Cover Kickstand Case for Steam Deck Gaming Console PC Protective Skin Case…

    Crystal Clear Cover Kickstand Case for Steam Deck Gaming Console PC Protective Skin Case…

    STGAubron Gaming PC Desktop Computer, Intel Core I7 up to 3.9 GHz, Radeon RX 580 8G, 16G…

    STGAubron Gaming PC Desktop Computer, Intel Core I7 up to 3.9 GHz, Radeon RX 580 8G, 16G…

    Razer Ornata V3 X Gaming Keyboard: Low Profile Keys – Silent Membrane Switches – Spill…

    Razer Ornata V3 X Gaming Keyboard: Low Profile Keys – Silent Membrane Switches – Spill…

    NEO CHAIR Office Chair Computer Desk Gaming Chair Ergonomic Executive High Back with…

    NEO CHAIR Office Chair Computer Desk Gaming Chair Ergonomic Executive High Back with…

  • Gaming
    New Super Mario Bros. U – Trailer Analysis (Secrets & Hidden Details)

    New Super Mario Bros. U – Trailer Analysis (Secrets & Hidden Details)

    Inside Assassin's Creed III – Episode One [UK]

    Inside Assassin's Creed III – Episode One [UK]

    Microsoft’s upcoming OneDrive update bypasses security protocols between business and personal files

    Microsoft’s upcoming OneDrive update bypasses security protocols between business and personal files

    The Super Mario Bros. Movie Trailer REACTION!

    The Super Mario Bros. Movie Trailer REACTION!

    A Non-Harry Potter Fan Reviews Hogwarts Legacy

    A Non-Harry Potter Fan Reviews Hogwarts Legacy

    REDRAGON S101 GAMING KEYBOARD

    Monster Hunter Wilds drives quarterly net sales for Capcom

    Asassin's Creed Shadows LEAK is HILARIOUSLY BAD. No wonder Ubisoft looks to be SELLING OFF

    Asassin's Creed Shadows LEAK is HILARIOUSLY BAD. No wonder Ubisoft looks to be SELLING OFF

    Grand Theft Auto VI (GTA VI) | OFFICIAL TRAILER | Reaction – LiteWeight Gaming

    Grand Theft Auto VI (GTA VI) | OFFICIAL TRAILER | Reaction – LiteWeight Gaming

    Funeral Horror Mascot Mobile – Gameplay Walkthrough Part 2 – Full Game (Android, iOS)

    Funeral Horror Mascot Mobile – Gameplay Walkthrough Part 2 – Full Game (Android, iOS)

  • Tesla
    Ziciner Car Registration Insurance Holder, 2Pack Essential Auto Card Document Glove Box…

    Ziciner Car Registration Insurance Holder, 2Pack Essential Auto Card Document Glove Box…

    MeeFar Hitch Mount Cargo Carrier Bag Soft Shell 100% Waterproof 20 Cubic Feet (59″ 24″…

    MeeFar Hitch Mount Cargo Carrier Bag Soft Shell 100% Waterproof 20 Cubic Feet (59″ 24″…

    Car Front Under Seat Storage Box for Tesla Model Y Model X 2020-2024 2025 Accessories…

    Car Front Under Seat Storage Box for Tesla Model Y Model X 2020-2024 2025 Accessories…

    Tesla employees try to oust Elon, new Volvo, and Micah’s close call

    Tesla employees try to oust Elon, new Volvo, and Micah’s close call

    Tesla shares video of its Optimus robot catching up to competition

    Tesla shares video of its Optimus robot catching up to competition

    Driver Side Mirror Replacement for Tesla Model Y 2019 2020 2021 2022 2023 2024, ModelY -…

    Driver Side Mirror Replacement for Tesla Model Y 2019 2020 2021 2022 2023 2024, ModelY -…

    Tesla will pause part of new Model Y production for 3 weeks for upgrades, report says

    Tesla (TSLA) Chinese deliveries dropped to a scary low level

    Car Roof Rack, 63″ x 47.2″ Universal Roof Flat Rack Aluminum Construction Heavy Duty…

    Car Roof Rack, 63″ x 47.2″ Universal Roof Flat Rack Aluminum Construction Heavy Duty…

    Front Windshield Sunshield, 55.12 inch x 27.56 inch Sunproof Heat Insulation 4 Seasons…

    Front Windshield Sunshield, 55.12 inch x 27.56 inch Sunproof Heat Insulation 4 Seasons…

  • UFO
    Nicetage Women Vintage Space Shuttle Graphic T-Shirt NASA Letter Print Shirt Casual Tee Tops

    Nicetage Women Vintage Space Shuttle Graphic T-Shirt NASA Letter Print Shirt Casual Tee Tops

    U.S. Senator's amendment into UFO investigations gains momentum

    U.S. Senator's amendment into UFO investigations gains momentum

    Scooby-Doo:Alien Inv/SD:Zombie Is (DBFE)

    Scooby-Doo:Alien Inv/SD:Zombie Is (DBFE)

    Astrophysicist: Evidence matters in alien research | NewsNation Prime

    Astrophysicist: Evidence matters in alien research | NewsNation Prime

    The 'Ancient Aliens' Idea is More Realistic Than You'd Expect…

    The 'Ancient Aliens' Idea is More Realistic Than You'd Expect…

    The Conscious Contactee: Understanding Alien Encounters

    The Conscious Contactee: Understanding Alien Encounters

    Nathanial Hornblower’s: The Robot v The Octopus Monster Saga | Intergalactic | 98 | 720p | GW-A.I.

    Nathanial Hornblower’s: The Robot v The Octopus Monster Saga | Intergalactic | 98 | 720p | GW-A.I.

    Fidget Toys Adult, Gravity Defying Kinetic Desk Toy, Metal ADHD Silent Fidget Toy Spinner, Balance Desk Toys for Office for Adults, Party Favors, Birthday (Gray-Rose Gold Ball)

    Fidget Toys Adult, Gravity Defying Kinetic Desk Toy, Metal ADHD Silent Fidget Toy Spinner, Balance Desk Toys for Office for Adults, Party Favors, Birthday (Gray-Rose Gold Ball)

    Astronauts Stranded in Space Until 2025 #shorts #shortsfeed

    Astronauts Stranded in Space Until 2025 #shorts #shortsfeed

No Result
View All Result
Techcratic
No Result
View All Result

A tool to verify estimates, II: a flexible proof assistant

Hacker News by Hacker News
May 14, 2025
in Hacker News
Reading Time: 11 mins read
128 2
A A
0
Home Hacker News
Share on FacebookShare on XShare on LinkedIn

2025-05-10 06:41:00
terrytao.wordpress.com

In a recent post, I talked about a proof of concept tool to verify estimates automatically. Since that post, I have overhauled the tool twice: first to turn it into a rudimentary proof assistant that could also handle some propositional logic; and second into a much more flexible proof assistant (deliberately designed to mimic the Lean proof assistant in several key aspects) that is also powered by the extensive Python package sympy for symbolic algebra, following the feedback from previous commenters. This I think is now a stable framework with which one can extend the tool much further; my initial aim was just to automate (or semi-automate) the proving of asymptotic estimates involving scalar functions, but in principle one could keep adding tactics, new sympy types, and lemmas to the tool to handle a very broad range of other mathematical tasks as well.

The current version of the proof assistant can be found here. (As with my previous coding, I ended up relying heavily on large language model assistance to understand some of the finer points of Python and sympy, with the autocomplete feature of Github Copilot being particularly useful.) While the tool can support fully automated proofs, I have decided to focus more for now on semi-automated interactive proofs, where the human user supplies high-level “tactics” that the proof assistant then performs the necessary calculations for, until the proof is completed.

It’s easiest to explain how the proof assistant works with examples. Right now I have implemented the assistant to work inside the interactive mode of Python, in which one enters Python commands one at a time. (Readers from my generation may be familiar with text adventure games, which have a broadly similar interface.) I would be interested developing at some point a graphical user interface for the tool, but for prototype purposes, the Python interactive version suffices. (One can also run the proof assistant within a Python script, of course.)

After downloading the relevant files, one can launch the proof assistant inside Python by typing from main import * and then loading one of the pre-made exercises. Here is one such exercise:

>>> from main import *
>>> p = linarith_exercise()
Starting proof.  Current proof state:
x: pos_real
y: pos_real
z: pos_real
h1: x 

This is the proof assistant’s formalization of the following problem: If x,y,z are positive reals such that x < 2y and y < 3z+1, prove that x < 7z+2.

The way the proof assistant works is that one directs the assistant to use various “tactics” to simplify the problem until it is solved. In this case, the problem can be solved by linear arithmetic, as formalized by the Linarith() tactic:

>>> p.use(Linarith())
Goal solved by linear arithmetic!
Proof complete!

If instead one wanted a bit more detail on how the linear arithmetic worked, one could have run this tactic instead with a verbose flag:

>>> p.use(Linarith(verbose=true))
Checking feasibility of the following inequalities:
1*z > 0
1*x + -7*z >= 2
1*y + -3*z  0
1*x > 0
1*x + -2*y  0 multiplied by 1/4
1*x + -7*z >= 2 multiplied by 1/4
1*y + -3*z 

Sometimes, the proof involves case splitting, and then the final proof has the structure of a tree. Here is one example, where the task is to show that the hypotheses (x>-1) \wedge (x<1) and (y>-2) \wedge (y<2) imply (x+y>-3) \wedge (x+y<3):

>>> from main import *
>>> p = split_exercise()
Starting proof.  Current proof state:
x: real
y: real
h1: (x > -1) & (x  -2) & (y  -3) & (x + y >> p.use(SplitHyp("h1"))
Decomposing h1: (x > -1) & (x  -1, x >> p.use(SplitHyp("h2"))
Decomposing h2: (y > -2) & (y  -2, y >> p.use(SplitGoal())
Split into conjunctions: x + y > -3, x + y >> p.use(Linarith())
Goal solved by linear arithmetic!
1 goal remaining.
>>> p.use(Linarith())
Goal solved by linear arithmetic!
Proof complete!
>>> print(p.proof())
example (x: real) (y: real) (h1: (x > -1) & (x  -2) & (y  -3) & (x + y 

Here at the end we gave a “pseudo-Lean” description of the proof in terms of the three tactics used: a tactic cases h1 to case split on the hypothesis h1, followed by two applications of the simp_all tactic to simplify in each of the two cases.

The tool supports asymptotic estimation. I found a way to implement the order of magnitude formalism from the previous post within sympy. It turns out that sympy, in some sense, already natively implements nonstandard analysis: its symbolic variables have an is_number flag which basically corresponds to the concept of a “standard” number in nonstandard analysis. For instance, the sympy version S(3) of the number 3 has S(3).is_number == True and so is standard, whereas an integer variable n = Symbol("n", integer=true) has n.is_number == False and so is nonstandard. Within sympy, I was able to construct orders of magnitude Theta(X) of various (positive) expressions X, with the property that Theta(n)=Theta(1) if n is a standard number, and use this concept to then define asymptotic estimates such as X \lesssim Y (implemented as lesssim(X,Y)). One can then apply a logarithmic form of linear arithmetic to then automatically verify some asymptotic estimates. Here is a simple example, in which one is given a positive integer N and positive reals x,y such that x \leq 2N^2 and y < 3N, and the task is to conclude that xy \lesssim N^4:

>>> p = loglinarith_exercise()
Starting proof.  Current proof state:
N: pos_int
x: pos_real
y: pos_real
h1: x >> p.use(LogLinarith(verbose=True))
Checking feasibility of the following inequalities:
Theta(N)**1 >= Theta(1)
Theta(x)**1 * Theta(N)**-2  Theta(1)
Infeasible by multiplying the following:
Theta(N)**1 >= Theta(1) raised to power 1
Theta(x)**1 * Theta(N)**-2  Theta(1) raised to power 1
Proof complete!

The logarithmic linear programming solver can also handle lower order terms, by a rather brute force branching method:

>>> p = loglinarith_hard_exercise()
Starting proof.  Current proof state:
N: pos_int
x: pos_real
y: pos_real
h1: x >> p.use(LogLinarith())
Goal solved by log-linear arithmetic!
Proof complete!

I plan to start developing tools for estimating function space norms of symbolic functions, for instance creating tactics to deploy lemmas such as Holder’s inequality and the Sobolev embedding inequality. It looks like the sympy framework is flexible enough to allow for creating further object classes for these sorts of objects. (Right now, I only have one proof-of-concept lemma to illustrate the framework, the arithmetic mean-geometric mean lemma.)

I am satisfied enough with the basic framework of this proof assistant that I would be open to further suggestions or contributions of new features, for instance by introducing new data types, lemmas, and tactics, or by contributing example problems that ought to be easily solvable by such an assistant, but are currently beyond its ability, for instance due to the lack of appropriate tactics and lemmas.

Source Link


Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.

Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!


Start your free Amazon Prime trial
today and unlock unlimited streaming and more!

Help Power Techcratic’s Future – Scan To Support

If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.

As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!

BITCOIN

Bitcoin Logo

Bitcoin QR Code

bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge

Scan the QR code with your crypto wallet app

DOGECOIN

Dogecoin Logo

Dogecoin QR Code

D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA

Scan the QR code with your crypto wallet app

ETHEREUM

Ethereum Logo

Ethereum QR Code

0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a

Scan the QR code with your crypto wallet app

Please read the Privacy and Security Disclaimer on how Techcratic handles your support.

Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.

Tags: Hacker News
Share162Tweet101Share28
Previous Post

Windows 11 finally lets you unpair iPhones and Androids with one click

Next Post

Nicetage Women Vintage Space Shuttle Graphic T-Shirt NASA Letter Print Shirt Casual Tee Tops

Hacker News

Hacker News

Stay updated with Hacker News, where technology meets entrepreneurial spirit. Get the latest on tech trends, startup news, and discussions from the tech community. Read the latest updates here at Techcratic.

Related Posts

Airbnb Is in Midlife Crisis Mode
Hacker News

Airbnb Is in Midlife Crisis Mode

May 13, 2025
1.3k
Failed Soviet Venus lander Kosmos 482 crashes to Earth after 53 years in orbit
Hacker News

Failed Soviet Venus lander Kosmos 482 crashes to Earth after 53 years in orbit

May 13, 2025
1.3k
Starcloud: Data centers in space
Hacker News

Starcloud: Data centers in space

May 13, 2025
1.3k
Google is finally building its own DeX: First look at Android’s Desktop Mode
Hacker News

Google is finally building its own DeX: First look at Android’s Desktop Mode

May 13, 2025
1.3k
HelixDB/helix-db: HelixDB is a powerful, open-source, graph-vector database built in Rust for intelligent data storage for RAG and AI.
Hacker News

HelixDB/helix-db: HelixDB is a powerful, open-source, graph-vector database built in Rust for intelligent data storage for RAG and AI.

May 13, 2025
1.3k
Why are coffee stains darkest at the edges when they dry?
Hacker News

Why are coffee stains darkest at the edges when they dry?

May 13, 2025
1.3k
Load More
Next Post
Nicetage Women Vintage Space Shuttle Graphic T-Shirt NASA Letter Print Shirt Casual Tee Tops

Nicetage Women Vintage Space Shuttle Graphic T-Shirt NASA Letter Print Shirt Casual Tee Tops

The Memory Company | Licensed NFL Team Logo Leather Flask with Shot Glass and Funnel Set

The Memory Company | Licensed NFL Team Logo Leather Flask with Shot Glass and Funnel Set

Home Decor With MDF Board /Mixed Media Art

Home Decor With MDF Board /Mixed Media Art

Leave a Reply Cancel reply

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

Your Tech Resources

  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo
  • Google News
  • Hacker News
  • Harvard Tech
  • I Like Cats ™
  • I Like Dogs ™
  • LifeHacker
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • PC World
  • Photofocus
  • Physics
  • Random Tech
  • Retro Rewind ™
  • Robot Report
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Art
  • Tech Careers
  • Tech Deals
  • Techcratic ™
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Weird Stuff
  • Wired
  • ZDNet

Tech News

  • 30 Second Tech ™
  • AI
  • AnandTech
  • Apple Insider
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • ExtremeTech
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo

Tech News

  • Harvard Tech
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • Physics
  • PC World
  • Random Tech
  • Retro Rewind ™
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Careers

Tech News​

  • Tech Art
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Weird Stuff
  • Wired
  • ZDNet

Site Links

  • About Techcratic
  • Affiliate Disclaimer
  • Affiliate Link Policy
  • Contact Techcratic
  • Dealors Discount Store
  • Privacy and Security Disclaimer
  • Privacy Policy
  • RSS Feed
  • Site Map
  • Support Techcratic
  • Techcratic
  • Tech Deals
  • TOS
  • 𝕏
Click For A Secret Deal

Techcratic – Your All In One Tech Hub © 2020 – 2025
All Rights Reserved
∞

No Result
View All Result
  • Home
  • Apple
  • Gaming
  • Microsoft
  • AnandTech