Skip to content

meta-introspector/mina-snarky-o1js-zkapp-introspector

Repository files navigation

mina-snarky-o1js-zkapp-introspector

zkIntrospector: A Self-Aware zkApp Framework for Gödel Number Reflection

idea:

  1. Be able to encode any source code into a numeric field via ast introspection, ast flattening, prime number assignment to each field, feature selection, multiplication. This encoder function will encode itself into a number as well. We can apply the function to itself to evaluate itself.

  2. Represent o1js ts,snarky ocaml, libsnark C++ as a single numeric field each.

  3. Represent openmina rust as a single numeric field.

  4. Treat each system as a data type or a set. Each type is a point in that field. Create a diagonalization of these systems that allows for statements to include elements from each set. Create statements of proof.

  5. Porting of meta-coq and template Haskell terms into this system.

  6. Be able to translate from one vernacular to the others.

  7. Now we can implement obserability functions to record execution like perf record and strace and ltrace.

  8. We can expand the dependencies of each tool and introspect all other packages needed.

  9. We can use nix and guix to manage the dependencies.

  10. We can create functions that call LLMs in type script and later python and pass those return values into the block-chain.

  11. We can create a buy order to introspect the entire mina system this way and feed all its data to LLMs.

deploy

Set Env in .env file for these variables

  • CLOUDFLARE_API_TOKEN
  • CLOUDFLARE_ACCOUNT_ID

import token into gh cli

Set

gh secret set -f .env  -R meta-introspector/mina-snarky-o1js-zkapp-introspector

Test locally via act

act  --secret-file .secrets

About

zkIntrospector: A Self-Aware zkApp Framework for Gödel Number Reflection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages