Module prop::ava_modal

source ·
Expand description

Avatar Modal Logic

This avatar modal logic builds upon the hooo module using Exponential Propositions.

What makes Avatar Modal Logic different from normal Modal Logic, is that there is a difference between “safe” and “unsafe” proofs:

  • false^(false^p) => ◇p is safe (classical in normal Modal Logic)
  • ◇p => false^(false^p) is unsafe (constructive in normal Modal Logic)

The idea is to reverse decidability, but this reversed decidability should not be mixed with the normal distinction between classical and constructive proofs. Instead, one uses safe vs unsafe proofs.

1-Avatar and Unsafe code

Without distinction of safe vs unsafe, the usual semantics of “necessary” and “possibly” is collapsed, where is it possible to prove ¬◇p == ◇¬p and ¬□p == □¬p.

According Avatar Semantics, this is not a problem, because one can reconstruct hypercube topologies in Avatar Graphs from the smallest Möbius topologies possible, by identifying the diagonals using highest N-avatars. This is done by introducing a 1-avatar that covers products in Avatar Algebra.

This 1-avatar is a new-type Pos (possibly) that protects the content from being readable. The content is accessed under special circumstances where integration of information is checked by a higher N-avatar. This means, safe invariants using unsafe code.

By constructing the semantics of “necessary” and “possibly” on top of this 1-avatar, one can still prove theorems using HOOO Exponential Propositions safely.

Safe proofs are preferrable, but one can use unsafe code in edge cases by being careful.

Structs

Functions

Type Definitions