nx_isabelle_ingest.nx
buildroot/runtime/nx_isabelle_ingest.nx
about
nx_isabelle_ingest.nx -- Isabelle/HOL .thy statement-level ingester (I0).
Isabelle/HOL .thy file declarations:
theorem NAME: "<statement>"
<proof>
lemma NAME: "<statement>" by ...
definition NAME: "<definition>"
axiomatization where NAME: "<axiom>"
(* comment *)
genealogy_id: nipkow_paulson_wenzel_2002
lineage_id: higher_order_logic + isar_proof_language
dependencies 4 imports · 6 importers
imports: nx_syscalls.nxnx_axioms.nxnx_lex.nxnx_ascii.nx
imported by: nx_corpus_drive.nxnx_five_systems_test.nxnx_isabelle_dir_ingest.nxnx_isabelle_ingest_test.nxnx_isabelle_stream_ingest.nxnx_isabelle_stream_ingest_test.nx
structs
| 35 | struct IsaDecl |
| 42 | struct IsaDb |
consts
| 25 | const NX_ISA_TOK_NONE: i64 = 0 |
| 26 | const NX_ISA_TOK_THEOREM: i64 = 1 |
| 27 | const NX_ISA_TOK_LEMMA: i64 = 2 |
| 28 | const NX_ISA_TOK_DEFINITION: i64 = 3 |
| 29 | const NX_ISA_TOK_AXIOMATIZATION: i64 = 4 |
| 30 | const NX_ISA_TOK_IDENT: i64 = 5 |
| 32 | const NX_ISA_MAX_NAME_LEN: i64 = 256 |
| 33 | const NX_ISA_MAX_DECLS: i64 = 65536 |
| 40 | const NX_ISA_DECL_BYTES: i64 = 16 |
functions
| 48 | func nx_isa_db_alloc() -> *IsaDb |
| 57 | func nx_isa_decl_at(db: *IsaDb, i: i64) -> *IsaDecl |
| 67 | func nx_isa_skip_ws(buf: *u8, pos: *i64, len: i64) -> i64 |
| 106 | func nx_isa_next_token(buf: *u8, pos: *i64, len: i64, out_label: *u8) -> i64 |
| 143 | func nx_isa_record_decl(db: *IsaDb, kind: i64, label: *u8) -> i64 |
| 159 | func nx_isa_ingest_corpus(buf: *u8, len: i64) -> *IsaDb called by 5: drive_isabellemainmainmainmain calls 4: nx_isa_db_allocsys_mmapnx_isa_next_tokennx_isa_record_decl |
| 191 | func nx_isa_count_kind(db: *IsaDb, kind: i64) -> i64 |