Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Division by zero
(section)
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!
=== In proof assistants === Many [[proof assistant]]s, such as [[Rocq (software)|Rocq]] (previously known as ''Coq'') and [[Lean (proof assistant)|Lean]], define 1/0 = 0. This is due to the requirement that all functions are [[Total functional programming|total]]. Such a definition does not create contradictions, as further manipulations (such as [[cancelling out]]) still require that the divisor is non-zero.<ref>{{cite conference |mode=cs2 |last1=Tanter |first1=Γric |last2=Tabareau |first2=Nicolas |title=Gradual certified programming in coq |year=2015 |publisher=Association for Computing Machinery |book-title=DLS 2015: Proceedings of the 11th Symposium on Dynamic Languages |doi=10.1145/2816707.2816710 |quote=The standard division function on natural numbers in Coq, div, is total and pure, but incorrect: when the divisor is 0, the result is 0.|arxiv=1506.04205 }}</ref><ref>{{citation |last1=Buzzard |first1=Kevin |title=Division by zero in type theory: a FAQ |type=Blog |url=https://xenaproject.wordpress.com/2020/07/05/division-by-zero-in-type-theory-a-faq/ |website=Xena Project |date=5 July 2020 |access-date=2024-01-21}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)