Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic predicates. #7

Open
bddap opened this issue Dec 1, 2020 · 2 comments
Open

Generic predicates. #7

bddap opened this issue Dec 1, 2020 · 2 comments

Comments

@bddap
Copy link
Contributor

bddap commented Dec 1, 2020

Right now, rify can't do IO. It can't do math on numeric literals. It can't answer questions like is 1 < 2.

Perhaps it could. It would need a way to message its caller, asking for the answers to specific questions. Processing logic would become a conversation between the caller, and the reasoner. This is similar to chalk's execution model.

@bddap bddap changed the title Generic logical predicates. Generic predicates. Dec 1, 2020
@bddap
Copy link
Contributor Author

bddap commented Dec 1, 2020

When the reasoner is "Curious" about something. It could request information from the caller by deriving a fact.

if [?a rdf:type Did] and [?a mayClaim ?b] then [?a type PleaseDeref]

When the caller sees a new triple of the form [?a type PleaseDeref], it would start a did lookup for ?a. Reasoning would continue while ?a is being dereferenced. After the dereferenced value of '?a' is known, it would be converted to something like explicit ethos form, then fed back into the reasoner to "Satisfy its Curiosity".

@bddap
Copy link
Contributor Author

bddap commented Dec 1, 2020

The proof verification API is generic enough that it should be possible to include generic predicates as premises to rule applications. The verifier would need to check generic predicates when they aren't present in the already established claimgraph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant