- Boolean operations
[| true |] = T(CA)
[| ~φ |] = T(CA)\[| φ |]
[| φ1 & φ2 |] = [| φ1 |] ∩ [| φ2 |]
- Operations induced from the algebra
a ∈ Ak ⇒ [| a(φ1,...,φk) |] = { b ∈ T(CA) | ∃ ai ∈ [| φi |]. b ≡ a(a1,...,ak) } where ≡ is the smallest congruence containing R
Example (free monoid):
- m ::= e | c | m*m generates the language L(m) which when quotiented by the identity relations (m*e = m = e*m), L(m)/=, gives the free monoid with generators, c, and identity e
- Boolean operations:
[| true |] = L(m)
[| ~φ |] = L(m)\[| φ |]
[| ~φ |] = L(m)\[| φ |]
[| φ1 & φ2 |] = [| φ1 |] ∩ [| φ2 |]
- Operations induced from the monoid
[| e |] = { m ∈ L(m) | m ≡ e }
[| c |] = { m ∈ L(m) | m ≡ c }
[| φi * φ2 |] = { m ∈ L(m) | ∃ mi ∈ [| φi |]. m ≡ m1*m2 }
[| c |] = { m ∈ L(m) | m ≡ c }
[| φi * φ2 |] = { m ∈ L(m) | ∃ mi ∈ [| φi |]. m ≡ m1*m2 }
- Example usage: ~e & ~(~e*~e) denotes primality; it picks out nontrivial elements that cannot be factored into nontrivial elements.
My interest runs as follows. Spse CA a (generalized) algebra(ic data type). i submit that with an ambient or embedding logic of classical connectives we may auto-generate a read-only database+query language where the contents of the store are elements inhabiting CA; and, we can auto-generate a database+query language + update semantics with the appropriate set-indexed-linear lattice structure.
Practical applications?
- To address a semantics for an XQuery with update you run this construction over the Schema schema using a set-indexed linear lattice structure.
- Suppose that someone has determined that the geometry of protein sequences is best represented by elements of Clifford algebra. Then you can auto-generate a database for query and update of geometric information regarding protein sequences directly from the Clifford algebra specification.
- The main challenge i see is that a word problem hiding inside the definitions for the logical definitions induced from the algebraic operations.
No comments:
Post a Comment