Editing
Automated Theorem Proving
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Applying</span> == '''Modeling 'The Proof Search' (Visualizing how an AI explores logic):''' <syntaxhighlight lang="python"> def prove_theorem(starting_facts, goal, max_steps): """ Simulates a 'Breadth-First Search' for a proof. """ queue = [starting_facts] for step in range(max_steps): current_logic = queue.pop(0) # 'Inference': If we know A and B, we can 'Prove' C if "P" in current_logic and "P->Q" in current_logic: new_fact = "Q" if new_fact == goal: return f"SUCCESS: Goal '{goal}' proved in {step+1} steps!" queue.append(current_logic + [new_fact]) return "FAILURE: No proof found within the search limit." # Facts: P is true, and P implies Q. Goal: Prove Q. print(prove_theorem(["P", "P->Q"], "Q", 10)) </syntaxhighlight> ; ATP Landmarks : '''The Logic Theorist (1955)''' β The first-ever AI program (by Newell and Simon) that proved 38 theorems from 'Principia Mathematica,' even finding a "Better proof" for one of them than the authors. : '''Coq (1984)''' β The "Grandfather" of modern proof assistants, used to prove everything from the "Feit-Thompson Theorem" to the correctness of the "CompCert" C compiler. : '''The 'Lean' Theorem Prover (2013)''' β A modern prover developed by Microsoft Research that has become the "Hottest" tool in the math community, currently being used to formalize all of modern undergraduate math. : '''AlphaProof (2024)''' β Google DeepMind's AI that reached "Silver Medal" level at the International Math Olympiad, proving that "Learning" (Neural Networks) can be merged with "Proving" (Logic). </div> <div style="background-color: #8B4500; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information