We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
User:Miui/Drafts/Defeasible function
- This is still a work in progress. It may be changed in the future.
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
A defeasible function is a type of function invented by User:Miui which operates on a fault-tolerant premise.
Definition
"Defeasible reasoning can be defined in the following way: from premises A and
B, the agent may reasonably conclude C. However, upon receiving new information,
say D, C is no longer plausible to the agent, even if A and B still stand."[1]
Defeasible functions
Given a program A which outputs a string B (e.g. "Hello, world!") iff a premise C is true, if premise C is false then A becomes ~A (Say: "not A"); this problem demonstrates a zero-dimensional quadratic sync problem[citation needed].
Namely: because B still holds, the premise toward which a program was defined C becomes decoherent to A. User:Miui is not aware if this type of function has been defined before. To give an example:
PSEUDOCODE
import Underload
import error
underload.(Hello, world!)S
error.((error: Underload does not exist!)S)
while print("Hello, world!")
EOF
Would output "Hello, world!" iff
- the defeasible error package is defeated
- print isnt an implemented command
- Underload was implemented by the interpreter.
In 2 dimensions this problem becomes harder. The case above is trivial but given a problem of scale it becomes a matter of esoteric programming because the lemma [2] is defined by the esoteric programming language. A function is then defeasible if premise D is recursively applicable to A.
f(abcde)
Take example:
A badly constructed defeasible example function
This statement is recursively enumerable:
if our above pseudocode language had a program error.pseudocode:
PSEUDOCODE error.(A badly constructed defeasible example function) error(print) EOF
then code () would effectively define the Underload program (string) function, in which case the premise of A badly constructed defeasible example function need simply be updated by the esoteric programmer. i.e
PSEUDOCODE underload.(()S) underload() EOF
Use in classical computation
In classical computation it is related to the concept of a nested ternary[3].
Use in zero-knowledge proofs
In zero-knowledge proofs a defeasible function is primitive recursive[4]. Defeasibility is an element of the composite monad. The premises are all (recursively) defeasible in order to preserve the security of the proof. This is esoteric because a proof that reveals nothing about itself is theoretically useless to standard models. It may be very interesting in nonstandard models, however. Classically speaking the connectivity of the defeasible function is more standard to models of logic, philosophy and linguistics and is not typically considered a program form.[citations needed]
Use in quantum one-way functions
In a pqc[5] if the example given in Q Ternary#MU Puzzle[25] is modified slightly:
Q&Ternary[[n,k,d]] u|M&U a| t| e|________________ r|There exists no solution to the MU puzzle. n| . a| . r|________________________________________ y| &The above function cannot be inverted. _|________________________________ |"~~~~MIUI"
The above function is defeasible iff it is sufficiently hard as a QOWF.
See also
References
- ↑ Novaes, Catarina Dutilh. The Dialogical Roots of Deduction — The Trouble with Deduction. page 11. 2020. DOI: https://doi.org/10.1017/9781108800792
- ↑ Wikipedia.org Lemma (mathematics). Retrieved from: https://en.wikipedia.org/wiki/Lemma_(mathematics)
- ↑ GeeksforGeeks.org C++ | Nested Ternary Operator. 2025. Retrieved from: https://www.geeksforgeeks.org/cpp/c-nested-ternary-operator/
- ↑ Wikipedia.org Primitive recursive function. Retrieved from: https://en.wikipedia.org/wiki/Primitive_recursive_function
- ↑ Wikipedia.org. One-way_function — Quantum one-way functions. Retrieved from: https://en.wikipedia.org/wiki/One-way_function#Quantum_one-way_functions