diff --git a/.gitignore b/.gitignore index 4c4e4de..833dcaf 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,8 @@ # LexLean working cache (verified-latest/ IS tracked) .lexlean/ **/.lexlean/ +.lexlean-publication/ +**/.lexlean-publication/ # Release staging directory dist/ diff --git a/Rule30-Core.pdf b/Rule30-Core.pdf index 07f8713..837d1c7 100644 Binary files a/Rule30-Core.pdf and b/Rule30-Core.pdf differ diff --git a/Rule30-Observations.pdf b/Rule30-Observations.pdf index 58d4c52..a7df039 100644 Binary files a/Rule30-Observations.pdf and b/Rule30-Observations.pdf differ diff --git a/Rule30-Paper.pdf b/Rule30-Paper.pdf index 72606c7..e8b5d17 100644 Binary files a/Rule30-Paper.pdf and b/Rule30-Paper.pdf differ diff --git a/pdf-manifest.json b/pdf-manifest.json index 31ca498..8df5cd7 100644 --- a/pdf-manifest.json +++ b/pdf-manifest.json @@ -1,18 +1,18 @@ { "documents": { "Core": { - "pdf_sha256": "4096cc4d659f31be9cd86bdb962639e8ae7f67b2fb1d10b3456a84ff41f36c06", + "pdf_sha256": "2fab4958e9efccb7de713775812dc099cd2841f18b6e1ec387768f8b968d40d7", "tex_sha256": "a7cd1807077baa1d1ca34015faf500a24477991859427f4db646e5f230fe54e2" }, "Observations": { - "pdf_sha256": "98c0f20646a1c0c2153355c5fda10dcaf4c26fe98fec37d86d9416f7e14d17e2", + "pdf_sha256": "e3f5bf710700f09cdc48aa86db58d5a5edb50860b49899abbaa829e0179c0e13", "tex_sha256": "056820f37ac40133e341f46ad6c81125e35981150a1cc86f2063faad3f26fbd4" }, "Paper": { - "pdf_sha256": "a60f48e7c14ec6ab0e5aa17ae9cc4e848f5c5c61a612339acf1091666f355247", + "pdf_sha256": "fc59bb7b6601e5b066a5d9c05260c0fe3ba9f73fa44771adc5887aeb2adde601", "tex_sha256": "000f988561d9621f9ba2f9a99aba971670864367ebd336e6fbad0e1f71da01cb" } }, - "generated_at_utc": "2026-11-12T20:06:19.560839+00:00", - "source_digest": "a0895002261a43f4ad4af9368d22ad039c69ae02739db0d827297b94a3348578" + "generated_at_utc": "2026-11-16T17:23:16.684435+00:00", + "source_digest": "7a6390e17c6fbbc602234981c33da7fd345255c25e42833ef0d265f8bf595209" } diff --git a/rule30-api/lexlean.lock b/rule30-api/lexlean.lock index e91b587..e5a2678 100644 --- a/rule30-api/lexlean.lock +++ b/rule30-api/lexlean.lock @@ -1,6 +1,6 @@ spec = "lexlean/lock/2" language = "1.2" -compiler_semantics = "2e4c0ddd6084eba8fa99f04ab0235bfc5775dbc0455216b6ec51abe8ce8d9750" +compiler_semantics = "91d8c0b208d5226c5cd8db1761372e17ccad485a604168a54a83455e4ad30ff7" project_config_sha256 = "3aab69e83aaa43aee298ada2603049770fd5ba35d441dde63a941209cecdd225" lean_toolchain = "leanprover/lean4:v4.32.1" diff --git a/rule30-api/model/dependencies.toml b/rule30-api/model/dependencies.toml index 6c0d60e..14da251 100644 --- a/rule30-api/model/dependencies.toml +++ b/rule30-api/model/dependencies.toml @@ -4,7 +4,7 @@ spec = "prismpm/dependencies/1" id = "lexlean" version = "0.4.0" language = "1.2" -revision = "2e4c0ddd6084eba8fa99f04ab0235bfc5775dbc0455216b6ec51abe8ce8d9750" +revision = "91d8c0b208d5226c5cd8db1761372e17ccad485a604168a54a83455e4ad30ff7" source = "pinned-binary" role = "compiler" path = ".local/bin/lexlean" diff --git a/rule30-api/model/standards.toml b/rule30-api/model/standards.toml index 60aae07..eaf2c15 100644 --- a/rule30-api/model/standards.toml +++ b/rule30-api/model/standards.toml @@ -261,7 +261,7 @@ release_scope = true id = "lexlean" name = "UOR-Foundation/LexLean (closed-lexicon LaTeX to Lean 4)" authority = "https://github.com/UOR-Foundation/LexLean" -version = "0.4.0, language 1.2, compiler semantics 2e4c0ddd6084" +version = "0.4.0, language 1.2, compiler semantics 91d8c0b208d5" scope = "The authoring surface: the paper, the register and these API modules are LexLean modules verified by lexlean; the production roots export to certified Rust." realized_by = ["Api", "Register", "Architecture", "Presentation", "Application", "Observer", "Convert", "Standards", "Rule30Core", "Sequences", "Discovery", "verify", "check", "api_sync", "api_check", "api_production"] conformance = "bin/r30 verify api; bin/r30 check api; bin/r30 api check" diff --git a/rule30-api/production/research-request.json b/rule30-api/production/research-request.json index 35418e8..128c2af 100644 --- a/rule30-api/production/research-request.json +++ b/rule30-api/production/research-request.json @@ -1,5 +1,10 @@ { "roots": [ + { + "package": {"name": "rule30_candidate_source", "version": "0.1.0"}, + "root": "Rule30Api.CandidateSource.construct", + "targets": [{"digest": "0f5802ea18121b6a7a0d03e999589ce4e5ae812dc2a358432c1bf024a8e53f9f", "id": "rust-std"}] + }, { "package": {"name": "rule30_research_route_dead", "version": "0.1.0"}, "root": "Rule30Api.Research.routeDead", @@ -16,28 +21,23 @@ "targets": [{"digest": "0f5802ea18121b6a7a0d03e999589ce4e5ae812dc2a358432c1bf024a8e53f9f", "id": "rust-std"}] }, { - "package": {"name": "rule30_research_runner_begin", "version": "0.1.0"}, - "root": "Rule30Api.ResearchRunner.begin", - "targets": [{"digest": "0f5802ea18121b6a7a0d03e999589ce4e5ae812dc2a358432c1bf024a8e53f9f", "id": "rust-std"}] - }, - { - "package": {"name": "rule30_research_runner_step", "version": "0.1.0"}, - "root": "Rule30Api.ResearchRunner.step", + "package": {"name": "rule30_research_cohort", "version": "0.1.0"}, + "root": "Rule30Api.ResearchCohortCommand.step", "targets": [{"digest": "0f5802ea18121b6a7a0d03e999589ce4e5ae812dc2a358432c1bf024a8e53f9f", "id": "rust-std"}] }, { - "package": {"name": "rule30_candidate_source", "version": "0.1.0"}, - "root": "Rule30Api.CandidateSource.construct", + "package": {"name": "rule30_research_command", "version": "0.1.0"}, + "root": "Rule30Api.ResearchCommand.step", "targets": [{"digest": "0f5802ea18121b6a7a0d03e999589ce4e5ae812dc2a358432c1bf024a8e53f9f", "id": "rust-std"}] }, { - "package": {"name": "rule30_research_command", "version": "0.1.0"}, - "root": "Rule30Api.ResearchCommand.step", + "package": {"name": "rule30_research_runner_begin", "version": "0.1.0"}, + "root": "Rule30Api.ResearchRunner.begin", "targets": [{"digest": "0f5802ea18121b6a7a0d03e999589ce4e5ae812dc2a358432c1bf024a8e53f9f", "id": "rust-std"}] }, { - "package": {"name": "rule30_research_cohort", "version": "0.1.0"}, - "root": "Rule30Api.ResearchCohortCommand.step", + "package": {"name": "rule30_research_runner_step", "version": "0.1.0"}, + "root": "Rule30Api.ResearchRunner.step", "targets": [{"digest": "0f5802ea18121b6a7a0d03e999589ce4e5ae812dc2a358432c1bf024a8e53f9f", "id": "rust-std"}] } ], diff --git a/rule30-api/src/PublicationFrontier.lex.tex b/rule30-api/src/PublicationFrontier.lex.tex index 9e3f1d4..3702058 100644 --- a/rule30-api/src/PublicationFrontier.lex.tex +++ b/rule30-api/src/PublicationFrontier.lex.tex @@ -39,11 +39,19 @@ axioms: [], executable: true } +definition{ + name: claimIdentity, + parameters: [task : Research::Task], + result: Bytes, + body: (if (Toml::sameBytes (project task id) (prim append 0x636c61696d3a (project task schema) : Bytes)) then (project task schema) else (project task id)), + axioms: [], + executable: true +} definition{ name: current, parameters: [source : Bytes, task : Research::Task], result: Bool, - body: (if ((prim length source : Nat) <=? 8388608) then (match (Toml::parse source) | Result.error problem => false | Result.ok tables => (match (selected tables (project task id)) | List.nil => false | List.cons head tail => (match tail | List.nil => (eligible head task) | List.cons duplicate rest => false))) else false), + body: (if ((prim length source : Nat) <=? 8388608) then (match (Toml::parse source) | Result.error problem => false | Result.ok tables => (match (selected tables (claimIdentity task)) | List.nil => false | List.cons head tail => (match tail | List.nil => (eligible head task) | List.cons duplicate rest => false))) else false), axioms: [propext], executable: true } @@ -59,7 +67,7 @@ name: contract, parameters: [], result: String, - body: "Read the frontier from the owned exact-revision workspace before publication. Require one matching open claim and a prove or refute intent. A closed claim must still designate the inspected source proposition. A contextual premise contributes a supporting lemma without changing the enclosing claim status. Duplicate identifiers, non-open claims, malformed TOML and origin changes refuse publication.", + body: "Read the frontier from the owned exact-revision workspace before publication. Resolve a catalog claim: identity through its exact schema binding, preserving raw supplied claim identifiers. Use the same resolved identity for admission and frontier mutation. Require one matching open claim and a prove or refute intent. A closed claim must still designate the inspected source proposition. A contextual premise contributes a supporting lemma without changing the enclosing claim status. Duplicate identifiers, non-open claims, malformed TOML and origin changes refuse publication.", axioms: [], executable: true } diff --git a/rule30-api/src/PublicationPlan.lex.tex b/rule30-api/src/PublicationPlan.lex.tex index f1435e5..d4a00f9 100644 --- a/rule30-api/src/PublicationPlan.lex.tex +++ b/rule30-api/src/PublicationPlan.lex.tex @@ -53,6 +53,22 @@ axioms: [Quot.sound, propext], executable: true } +definition{ + name: projectPath, + parameters: [config : Config], + result: String, + body: (ResearchVerification::concat (root config) (ResearchVerification::concat "/rule30-paper/publication-" (ResearchVerification::concat (Host::textOf (project config identity)) ".toml"))), + axioms: [Quot.sound, propext], + executable: true +} +definition{ + name: publicationManifest, + parameters: [config : Config], + result: Bytes, + body: (PublicationSource::append 0x73706563203d20226c65786c65616e2f70726f6a6563742f31220a6e616d65203d202272756c6533302d7075626c69636174696f6e220a6c616e6775616765203d2022312e32220a6d6f64756c655f707265666978203d202252756c653330554f52220a736f757263655f726f6f7473203d205b22737263225d0a656e747279706f696e7473203d205b227372632f (PublicationSource::append (PublicationSource::moduleName (project config identity)) (PublicationSource::append 0x2e6c65782e746578225d0a6275696c645f726f6f74203d20222e6c65786c65616e2d7075626c69636174696f6e220a6c6f636b66696c65203d20227075626c69636174696f6e2d (PublicationSource::append (project config identity) 0x2e6c6f636b220a6c65616e5f776f726b7370616365203d20222e220a6c65616e5f746f6f6c636861696e203d20226c65616e70726f7665722f6c65616e343a76342e33322e31220a0a5b5b6c657869636f6e5f736f757263655d5d0a7061636b616765203d20226c65786c65616e2e7374642e626f6f6c220a6b696e64203d20226275696c74696e220a0a5b6c696d6974735d0a6d61785f66696c655f6279746573203d20383338383630380a6d61785f746f74616c5f736f757263655f6279746573203d2031363737373231360a6d61785f7072696d69746976655f61746f6d73203d20323030303030300a6d61785f746f6b656e5f6c6174746963655f6564676573203d20343030303030300a6d61785f70617273655f737461746573203d20343030303030300a6d61785f69725f6e6f646573203d20323030303030300a6d61785f73636f70655f6465707468203d20313032340a6d61785f696d706f72745f6465707468203d203132380a6d61785f646961676e6f7374696373203d203235360a6d61785f6368696c645f6f75747075745f6279746573203d2031363737373231360a6368696c645f74696d656f75745f6d73203d203630303030300a)))), + axioms: [], + executable: true +} definition{ name: theoremName, parameters: [config : Config], @@ -97,7 +113,7 @@ name: arguments, parameters: [config : Config, operation : Operation, commit : Bytes], result: (List String), - body: (match operation | Operation.archive => (cons "cat-file" (cons "blob" (cons (ResearchVerification::concat "refs/r30/evidence/" (Host::textOf (project config identity))) (nil String)))) | Operation.update => (cons "update" (nil String)) | Operation.lock => (cons "--project=rule30-paper/lexlean.toml" (cons "lock" (nil String))) | Operation.register => (cons "module" (cons "add" (cons (ResearchVerification::concat "Rule30UOR." (moduleName config)) (cons "--build" (nil String))))) | Operation.theorem => (cons "theorem" (cons "add" (cons (theoremName config) (cons "--slug" (cons (slug config) (nil String)))))) | Operation.frontier => (cons "frontier" (cons "set" (cons "--status" (cons (status config) (cons "--lean" (cons (theoremName config) (cons "--lexeme" (cons (ResearchVerification::concat "r30.observation::" (slug config)) (cons "--note" (cons (ResearchVerification::concat "Autonomous kernel-checked evidence " (Host::textOf (project config identity))) (cons "--" (cons (Host::textOf (project (project (project (project config base) request) task) id)) (nil String))))))))))))) | Operation.sync => (cons "api" (cons "sync" (nil String))) | Operation.stage => (cons "add" (cons "-A" (cons "--" (nil String)))) | Operation.commit => (cons "-c" (cons "core.hooksPath=.githooks" (cons "commit" (cons "-m" (cons "Publish verified autonomous proof batch" (nil String)))))) | Operation.head => (cons "rev-parse" (cons "--verify" (cons "HEAD^{commit}" (nil String)))) | Operation.retain => (cons "update-ref" (cons (reference config commit) (cons (Host::textOf commit) (nil String)))) | Operation.push => (cons "-c" (cons "core.hooksPath=.githooks" (cons "push" (cons (ResearchVerification::concat "--force-with-lease=refs/heads/main:" (Host::textOf (project (workspace config) revision))) (cons "origin" (cons (ResearchVerification::concat (Host::textOf commit) ":refs/heads/main") (nil String)))))))), + body: (match operation | Operation.archive => (cons "cat-file" (cons "blob" (cons (ResearchVerification::concat "refs/r30/evidence/" (Host::textOf (project config identity))) (nil String)))) | Operation.update => (cons "update" (nil String)) | Operation.lock => (cons (ResearchVerification::concat "--project=" (projectPath config)) (cons "lock" (nil String))) | Operation.register => (cons "module" (cons "add" (cons (ResearchVerification::concat "Rule30UOR." (moduleName config)) (cons "--build" (nil String))))) | Operation.theorem => (cons "theorem" (cons "add" (cons (theoremName config) (cons "--slug" (cons (slug config) (nil String)))))) | Operation.frontier => (cons "frontier" (cons "set" (cons "--status" (cons (status config) (cons "--lean" (cons (theoremName config) (cons "--lexeme" (cons (ResearchVerification::concat "r30.observation::" (slug config)) (cons "--note" (cons (ResearchVerification::concat "Autonomous kernel-checked evidence " (Host::textOf (project config identity))) (cons "--" (cons (Host::textOf (PublicationFrontier::claimIdentity (project (project (project config base) request) task))) (nil String))))))))))))) | Operation.sync => (cons "api" (cons "sync" (nil String))) | Operation.stage => (cons "add" (cons "-A" (cons "--" (nil String)))) | Operation.commit => (cons "-c" (cons "core.hooksPath=.githooks" (cons "commit" (cons "-m" (cons "Publish verified autonomous proof batch" (nil String)))))) | Operation.head => (cons "rev-parse" (cons "--verify" (cons "HEAD^{commit}" (nil String)))) | Operation.retain => (cons "update-ref" (cons (reference config commit) (cons (Host::textOf commit) (nil String)))) | Operation.push => (cons "-c" (cons "core.hooksPath=.githooks" (cons "push" (cons (ResearchVerification::concat "--force-with-lease=refs/heads/main:" (Host::textOf (project (workspace config) revision))) (cons "origin" (cons (ResearchVerification::concat (Host::textOf commit) ":refs/heads/main") (nil String)))))))), axioms: [Quot.sound, propext], executable: true } @@ -129,7 +145,7 @@ name: verificationConfig, parameters: [config : Config], result: ResearchVerification::Config, - body: (let owner : ResearchWorkspace::Config := (workspace config); (record ResearchVerification::Config {project := (ResearchVerification::concat (root config) "/rule30-paper/lexlean.toml"), moduleSource := (sourcePath config), directory := (root config), environment := (project owner environment), output := (project owner output), errors := (project owner errors), verifiedRoot := (ResearchVerification::concat (root config) "/rule30-paper/.lexlean/verified"), maxBytes := (project (project config base) maxBytes), allowance := (project owner allowance), quantum := (project owner quantum), polls := (project owner polls)})), + body: (let owner : ResearchWorkspace::Config := (workspace config); (record ResearchVerification::Config {project := (projectPath config), moduleSource := (sourcePath config), directory := (root config), environment := (project owner environment), output := (project owner output), errors := (project owner errors), verifiedRoot := (ResearchVerification::concat (root config) "/rule30-paper/.lexlean-publication/verified"), maxBytes := (project (project config base) maxBytes), allowance := (project owner allowance), quantum := (project owner quantum), polls := (project owner polls)})), axioms: [Quot.sound, propext], executable: true } @@ -137,7 +153,7 @@ name: context, parameters: [config : Config], result: ResearchCandidate::Context, - body: (record ResearchCandidate::Context {request := (project (project config base) request), config := (verificationConfig config), tools := (project (project config base) tools), module := (PublicationSource::append 0x52756c65333050617065722e (PublicationSource::moduleName (project config identity))), theorem := (PublicationSource::theoremName (project config identity)), maxDepth := (project (project config base) maxDepth), maxSteps := (project (project config base) maxSteps)}), + body: (record ResearchCandidate::Context {request := (project (project config base) request), config := (verificationConfig config), tools := (project (project config base) tools), module := (PublicationSource::moduleIdentity (project config identity)), theorem := (PublicationSource::theoremName (project config identity)), maxDepth := (project (project config base) maxDepth), maxSteps := (project (project config base) maxSteps)}), axioms: [Quot.sound, propext], executable: true } @@ -145,7 +161,7 @@ name: generatedPath, parameters: [config : Config, receipt : VerificationReport::Receipt], result: String, - body: (ResearchVerification::concat (project (verificationConfig config) verifiedRoot) (ResearchVerification::concat "/" (ResearchVerification::concat (Host::textOf (project receipt attestation)) (ResearchVerification::concat "/modules/Rule30Paper/" (ResearchVerification::concat (moduleName config) ".lean"))))), + body: (ResearchVerification::concat (project (verificationConfig config) verifiedRoot) (ResearchVerification::concat "/" (ResearchVerification::concat (Host::textOf (project receipt attestation)) (ResearchVerification::concat "/modules/Rule30UOR/" (ResearchVerification::concat (moduleName config) ".lean"))))), axioms: [Quot.sound, propext], executable: true } @@ -186,7 +202,7 @@ name: contract, parameters: [], result: String, - body: "A fixed publication plan for an owned isolated repository. Reverify renamed LexLean source before using its attested generated Lean artifact. Register generated host modules and theorem lexemes through the existing r30 API; change frontier status only for a checked closed claim. Retain each commit at its own evidence-and-commit-addressed reference, making repeated retention idempotent without replacing a different publication commit. Commit through the unchanged hook and push only against the exact predecessor with a source-branch lease. No shell command strings, remote models or receipt-based shortcuts. This plan supplies jobs; only the enclosing publication lifecycle establishes their ordering, ownership and successful completion.", + body: "A fixed publication plan for an owned isolated repository. Reverify renamed LexLean source in an identity-addressed publication manifest with the same Rule30UOR module and theorem namespace before using its attested generated Lean artifact. Publish the paper statement through theorem registration without adding a second copy of the host declaration to the paper entrypoints. Register generated host modules and theorem lexemes through the existing r30 API; change frontier status only for a checked closed claim. Retain each commit at its own evidence-and-commit-addressed reference, making repeated retention idempotent without replacing a different publication commit. Commit through the unchanged hook and push only against the exact predecessor with a source-branch lease. No shell command strings, remote models or receipt-based shortcuts. This plan supplies jobs; only the enclosing publication lifecycle establishes their ordering, ownership and successful completion.", axioms: [], executable: true } diff --git a/rule30-api/src/PublicationSource.lex.tex b/rule30-api/src/PublicationSource.lex.tex index 328803d..c2273d7 100644 --- a/rule30-api/src/PublicationSource.lex.tex +++ b/rule30-api/src/PublicationSource.lex.tex @@ -19,11 +19,18 @@ body: (append 0x47656e65726174656450 identity), executable: true } +definition{ + name: moduleIdentity, + parameters: [identity : Bytes], + result: Bytes, + body: (append 0x52756c653330554f522e (moduleName identity)), + executable: true +} definition{ name: theoremName, parameters: [identity : Bytes], result: Bytes, - body: (append 0x52756c653330554f522e (append (moduleName identity) 0x2e70726f6f66)), + body: (append (moduleIdentity identity) 0x2e70726f6f66), executable: true } definition{ diff --git a/rule30-api/src/ResearchCatalog.lex.tex b/rule30-api/src/ResearchCatalog.lex.tex index 3c0575c..3a185ee 100644 --- a/rule30-api/src/ResearchCatalog.lex.tex +++ b/rule30-api/src/ResearchCatalog.lex.tex @@ -231,9 +231,17 @@ name: claimTask, parameters: [claim : Register::Claim], result: Research::Task, - body: (match (closedSequent (project claim id)) - | Option.none => (record Research::Task {id := (prim append 0x636c61696d3a (prim utf8_encode (project claim id) : Bytes) : Bytes), purpose := (ctor Research::Purpose.inspect), intent := (ctor Research::Purpose.prove), status := (if (prim equal (project claim lean) "" : Bool) then (ctor Research::Status.blocked) else (ctor Research::Status.ready)), component := "audit", sources := (cons (prim utf8_encode (project claim lean) : Bytes) (nil Bytes)), schema := (prim utf8_encode (project claim id) : Bytes), sequent := (Research::emptySequent), age := 0, weight := 8}) - | Option.some goal => (record Research::Task {id := (prim append 0x636c61696d3a (prim utf8_encode (project claim id) : Bytes) : Bytes), purpose := (ctor Research::Purpose.prove), intent := (ctor Research::Purpose.prove), status := (if (matchesClosedSource (project claim id) (project claim lean)) then (ctor Research::Status.ready) else (ctor Research::Status.blocked)), component := "deduction", sources := (if (matchesClosedSource (project claim id) (project claim lean)) then (cons (project goal origin) (nil Bytes)) else (nil Bytes)), schema := (prim utf8_encode (project claim id) : Bytes), sequent := goal, age := 0, weight := 8})), + body: (let selected : (Option Research::Sequent) := (closedSequent (project claim id)); + (record Research::Task { + id := (prim append 0x636c61696d3a (prim utf8_encode (project claim id) : Bytes) : Bytes), + purpose := (match selected | Option.none => (ctor Research::Purpose.inspect) | Option.some goal => (ctor Research::Purpose.prove)), + intent := (ctor Research::Purpose.prove), + status := (match selected | Option.none => (if (prim equal (project claim lean) "" : Bool) then (ctor Research::Status.blocked) else (ctor Research::Status.ready)) | Option.some goal => (if (matchesClosedSource (project claim id) (project claim lean)) then (ctor Research::Status.ready) else (ctor Research::Status.blocked))), + component := (match selected | Option.none => "audit" | Option.some goal => "deduction"), + sources := (match selected | Option.none => (cons (prim utf8_encode (project claim lean) : Bytes) (nil Bytes)) | Option.some goal => (if (matchesClosedSource (project claim id) (project claim lean)) then (cons (project goal origin) (nil Bytes)) else (nil Bytes))), + schema := (prim utf8_encode (project claim id) : Bytes), + sequent := (match selected | Option.none => (Research::emptySequent) | Option.some goal => goal), + age := 0, weight := 8})), axioms: [propext], executable: true } @@ -275,5 +283,20 @@ proof: decide{}, axioms: [] } +theorem{ + name: catalogClaimIdentityBindsSchema, + parameters: [claim : Register::Claim], + statement: ((project (claimTask claim) id) = (prim append 0x636c61696d3a (project (claimTask claim) schema) : Bytes)), + proof: reflexivity{}, + axioms: [propext] +} + +theorem{ + name: catalogClaimSchemaIsFrontierIdentity, + parameters: [claim : Register::Claim], + statement: ((project (claimTask claim) schema) = (prim utf8_encode (project claim id) : Bytes)), + proof: reflexivity{}, + axioms: [propext] +} \end{semanticmodule} \end{lexlean} diff --git a/rule30-api/src/ResearchPublication.lex.tex b/rule30-api/src/ResearchPublication.lex.tex index 33c898f..14e7b6c 100644 --- a/rule30-api/src/ResearchPublication.lex.tex +++ b/rule30-api/src/ResearchPublication.lex.tex @@ -175,7 +175,7 @@ name: readBytes, parameters: [state : State, bytes : Bytes], result: (State * Emission), - body: (match (project state phase) | Phase.advancing => (blocked state "unexpected publication read") | Phase.preparing => (blocked state "unexpected publication read") | Phase.executing => (blocked state "unexpected publication read") | Phase.readArchive => (match (PublicationRecord::decode bytes (project (project state config) identity) (project (project (project state config) base) request) (project (PublicationPlan::workspace (project state config)) revision)) | Option.none => (blocked state "evidence archive identity, request or revision mismatch") | Option.some source => (read (record State {pending := (project state pending), identities := (project state identities), config := (project state config), owner := (project state owner), candidate := (project state candidate), execution := (project state execution), phase := (project state phase), operation := (project state operation), source := source, receipt := (project state receipt), commit := (project state commit), cancelled := (project state cancelled), published := (project state published)}) (ctor Phase.readFrontier) (ResearchVerification::concat (PublicationPlan::root (project state config)) "/frontier.toml"))) | Phase.readFrontier => (if (PublicationFrontier::current bytes (project (project (project (project state config) base) request) task)) then (read state (ctor Phase.readManifest) (ResearchVerification::concat (PublicationPlan::root (project state config)) "/rule30-paper/lexlean.toml")) else (blocked state "publication frontier is stale, closed or ambiguous")) | Phase.readManifest => (match (PublicationPlan::entrypoint (project state config) bytes) | Option.none => (blocked state "paper manifest cannot admit generated source") | Option.some updated => (write state (ctor Phase.writeManifest) (ResearchVerification::concat (PublicationPlan::root (project state config)) "/rule30-paper/lexlean.toml") updated)) | Phase.writeManifest => (blocked state "unexpected publication read") | Phase.writeSource => (blocked state "unexpected publication read") | Phase.verifying => (blocked state "unexpected publication read") | Phase.readGenerated => (if ((0 (blocked state "unexpected publication read") | Phase.readHead => (let commit : Bytes := (Toml::sliceOr bytes 0 (prim subtract (prim length bytes : Nat) 1 : Nat)); (if ((ResearchWorkspace::objectId commit) && (Toml::sameBytes bytes (prim append commit 0x0a : Bytes))) then (launch (record State {pending := (project state pending), identities := (project state identities), config := (project state config), owner := (project state owner), candidate := (project state candidate), execution := (project state execution), phase := (project state phase), operation := (project state operation), source := (project state source), receipt := (project state receipt), commit := commit, cancelled := (project state cancelled), published := (project state published)}) (ctor PublicationPlan::Operation.retain)) else (blocked state "invalid publication commit identity"))) | Phase.releasing => (blocked state "unexpected publication read") | Phase.ended => (blocked state "unexpected publication read") | Phase.blocked => (blocked state "unexpected publication read")), + body: (match (project state phase) | Phase.advancing => (blocked state "unexpected publication read") | Phase.preparing => (blocked state "unexpected publication read") | Phase.executing => (blocked state "unexpected publication read") | Phase.readArchive => (match (PublicationRecord::decode bytes (project (project state config) identity) (project (project (project state config) base) request) (project (PublicationPlan::workspace (project state config)) revision)) | Option.none => (blocked state "evidence archive identity, request or revision mismatch") | Option.some source => (read (record State {pending := (project state pending), identities := (project state identities), config := (project state config), owner := (project state owner), candidate := (project state candidate), execution := (project state execution), phase := (project state phase), operation := (project state operation), source := source, receipt := (project state receipt), commit := (project state commit), cancelled := (project state cancelled), published := (project state published)}) (ctor Phase.readFrontier) (ResearchVerification::concat (PublicationPlan::root (project state config)) "/frontier.toml"))) | Phase.readFrontier => (if (PublicationFrontier::current bytes (project (project (project (project state config) base) request) task)) then (write state (ctor Phase.writeManifest) (PublicationPlan::projectPath (project state config)) (PublicationPlan::publicationManifest (project state config))) else (blocked state "publication frontier is stale, closed or ambiguous")) | Phase.readManifest => (blocked state "unexpected publication manifest read") | Phase.writeManifest => (blocked state "unexpected publication read") | Phase.writeSource => (blocked state "unexpected publication read") | Phase.verifying => (blocked state "unexpected publication read") | Phase.readGenerated => (if ((0 (blocked state "unexpected publication read") | Phase.readHead => (let commit : Bytes := (Toml::sliceOr bytes 0 (prim subtract (prim length bytes : Nat) 1 : Nat)); (if ((ResearchWorkspace::objectId commit) && (Toml::sameBytes bytes (prim append commit 0x0a : Bytes))) then (launch (record State {pending := (project state pending), identities := (project state identities), config := (project state config), owner := (project state owner), candidate := (project state candidate), execution := (project state execution), phase := (project state phase), operation := (project state operation), source := (project state source), receipt := (project state receipt), commit := commit, cancelled := (project state cancelled), published := (project state published)}) (ctor PublicationPlan::Operation.retain)) else (blocked state "invalid publication commit identity"))) | Phase.releasing => (blocked state "unexpected publication read") | Phase.ended => (blocked state "unexpected publication read") | Phase.blocked => (blocked state "unexpected publication read")), axioms: [Quot.sound, propext], executable: true } diff --git a/rule30-api/src/ResearchPublicationTraces.lex.tex b/rule30-api/src/ResearchPublicationTraces.lex.tex index 803b162..b6613b3 100644 --- a/rule30-api/src/ResearchPublicationTraces.lex.tex +++ b/rule30-api/src/ResearchPublicationTraces.lex.tex @@ -19,6 +19,27 @@ \importmodule{ResearchVerification} \title{Boolean} \begin{semanticmodule} +theorem{ + name: publicationTheoremBelongsToReceiptModule, + parameters: [config : PublicationPlan::Config], + statement: ((project (PublicationPlan::context config) theorem) = (PublicationSource::append (project (PublicationPlan::context config) module) 0x2e70726f6f66)), + proof: reflexivity{}, + axioms: [Quot.sound, propext] +} +theorem{ + name: publicationVerificationUsesOwnedManifest, + parameters: [config : PublicationPlan::Config], + statement: ((project (PublicationPlan::verificationConfig config) project) = (PublicationPlan::projectPath config)), + proof: reflexivity{}, + axioms: [Quot.sound, propext] +} +theorem{ + name: obsoleteManifestReadCannotOverwritePaper, + parameters: [state : ResearchPublication::State, bytes : Bytes], + statement: ((second (ResearchPublication::readBytes (record ResearchPublication::State {pending := (project state pending), identities := (project state identities), config := (project state config), owner := (project state owner), candidate := (project state candidate), execution := (project state execution), phase := (ctor ResearchPublication::Phase.readManifest), operation := (project state operation), source := (project state source), receipt := (project state receipt), commit := (project state commit), cancelled := (project state cancelled), published := (project state published)}) bytes)) = (ctor ResearchPublication::Emission.blocked "unexpected publication manifest read")), + proof: reflexivity{}, + axioms: [Quot.sound, propext] +} theorem{ name: missingIdentityCannotReplayArchive, parameters: [data : Bytes, request : Research::Request, revision : Bytes], @@ -117,6 +138,20 @@ proof: reflexivity{}, axioms: [propext] } +theorem{ + name: catalogClaimIdentityMatchesFrontier, + parameters: [task : Research::Task], + statement: ((PublicationFrontier::current 0x5b5b636c61696d5d5d0a6964203d2022616c706861220a737461747573203d20226f70656e220a6c65616e203d202250726f70220a (record Research::Task {id := 0x636c61696d3a616c706861, purpose := (project task purpose), intent := (ctor Research::Purpose.prove), status := (project task status), component := (project task component), sources := (project task sources), schema := 0x616c706861, sequent := (record Research::Sequent {origin := 0x50726f70, theorem := (project (project task sequent) theorem), premise := (project (project task sequent) premise), telescope := (project (project task sequent) telescope), target := (project (project task sequent) target), kind := (ctor Research::GoalKind.closed)}), age := (project task age), weight := (project task weight)})) = true), + proof: reflexivity{}, + axioms: [propext] +} +theorem{ + name: catalogClaimRejectsUnboundSchema, + parameters: [task : Research::Task], + statement: ((PublicationFrontier::current 0x5b5b636c61696d5d5d0a6964203d2022616c706861220a737461747573203d20226f70656e220a6c65616e203d202250726f70220a (record Research::Task {id := 0x636c61696d3a616c706861, purpose := (project task purpose), intent := (ctor Research::Purpose.prove), status := (project task status), component := (project task component), sources := (project task sources), schema := 0x62657461, sequent := (record Research::Sequent {origin := 0x50726f70, theorem := (project (project task sequent) theorem), premise := (project (project task sequent) premise), telescope := (project (project task sequent) telescope), target := (project (project task sequent) target), kind := (ctor Research::GoalKind.closed)}), age := (project task age), weight := (project task weight)})) = false), + proof: reflexivity{}, + axioms: [propext] +} theorem{ name: closedClaimRejectsChangedOrigin, parameters: [task : Research::Task], @@ -173,5 +208,33 @@ proof: reflexivity{}, axioms: [Quot.sound, propext] } +theorem{ + name: failedPublicationPreservesPublished, + parameters: [state : ResearchPublication::State, completion : ResearchExecution::Completion], + statement: ((project (first (ResearchPublication::completed state (record ResearchExecution::Completion {request := (project completion request), kind := (ctor ResearchExecution::EndKind.failed), code := (ctor Option.some [Int32] (1 : Int32)), clock := (project completion clock), output := (project completion output), errors := (project completion errors), detail := (project completion detail)}))) published) = (project state published)), + proof: reflexivity{}, + axioms: [Quot.sound, propext] +} +theorem{ + name: failedPublicationPreservesOwner, + parameters: [state : ResearchPublication::State, completion : ResearchExecution::Completion], + statement: ((project (first (ResearchPublication::completed state (record ResearchExecution::Completion {request := (project completion request), kind := (ctor ResearchExecution::EndKind.failed), code := (ctor Option.some [Int32] (1 : Int32)), clock := (project completion clock), output := (project completion output), errors := (project completion errors), detail := (project completion detail)}))) owner) = (project state owner)), + proof: reflexivity{}, + axioms: [Quot.sound, propext] +} +theorem{ + name: refusedPublicationPreservesPublished, + parameters: [state : ResearchPublication::State, completion : ResearchExecution::Completion], + statement: ((project (first (ResearchPublication::completed state (record ResearchExecution::Completion {request := (project completion request), kind := (ctor ResearchExecution::EndKind.refused), code := (ctor Option.some [Int32] (1 : Int32)), clock := (project completion clock), output := (project completion output), errors := (project completion errors), detail := (project completion detail)}))) published) = (project state published)), + proof: reflexivity{}, + axioms: [Quot.sound, propext] +} +theorem{ + name: refusedPublicationPreservesOwner, + parameters: [state : ResearchPublication::State, completion : ResearchExecution::Completion], + statement: ((project (first (ResearchPublication::completed state (record ResearchExecution::Completion {request := (project completion request), kind := (ctor ResearchExecution::EndKind.refused), code := (ctor Option.some [Int32] (1 : Int32)), clock := (project completion clock), output := (project completion output), errors := (project completion errors), detail := (project completion detail)}))) owner) = (project state owner)), + proof: reflexivity{}, + axioms: [Quot.sound, propext] +} \end{semanticmodule} \end{lexlean} diff --git a/rule30-api/src/Standards.lex.tex b/rule30-api/src/Standards.lex.tex index cfbea87..07e6375 100644 --- a/rule30-api/src/Standards.lex.tex +++ b/rule30-api/src/Standards.lex.tex @@ -26,7 +26,7 @@ name: standards, parameters: [], result: (List Standard), - body: (cons (record Standard {id := "iso-42010", name := "ISO/IEC/IEEE 42010:2022, Architecture description", authority := "https://www.iso.org/standard/74393.html", version := "2022", scope := "Stakeholders, concerns, viewpoints and views of the proof effort on Foundation.Arch; every panel of the site is governed by a viewpoint.", realizedBy := (cons "Architecture" (cons "architecture-module" (cons "Presentation" (nil String)))), conformance := "bin/r30 verify api: everyConcernFramed, viewpointsFrameHeldConcerns, everyViewpointGovernsAView (Architecture), panelsGovernedByViewpoints (Presentation)", coverage := "implemented"}) (cons (record Standard {id := "iso-25010", name := "ISO/IEC 25010:2023, Product quality model", authority := "https://www.iso.org/standard/78176.html", version := "2023", scope := "What an optimal implementation is here: characteristics, subcharacteristics, requirements and measures with thresholds on Foundation.Qual, each measure naming the command that reports it.", realizedBy := (cons "Architecture" (cons "quality" (cons "architecture-module" (cons "api_check" (cons "check" (cons "choice_audit" (cons "frontier_check" (cons "gate" (cons "verify" (cons "view_render" (nil String))))))))))), conformance := "bin/r30 verify api: everyRequirementMeasured, everyMeasureCommandExists (Architecture), publicationWithinBudget (Application)", coverage := "implemented"}) (cons (record Standard {id := "wcag-2.2", name := "W3C WCAG 2.2, Web Content Accessibility Guidelines", authority := "https://www.w3.org/TR/WCAG22/", version := "2.2 (Recommendation, 2023-10-05)", scope := "The site at level AA: 4.5:1 text contrast in both themes, one visible focus ring, a skip link, reduced motion honoured, keyboard operation of every control and step.", realizedBy := (cons "site" (cons "picture" (cons "explainer" (cons "reduction-tree" (cons "register" (cons "open-leaves" (cons "paper" (cons "obligation" (cons "refutations" (cons "interface-sheets" (cons "modules" (cons "quality" (cons "sitemap" (cons "verify" (cons "standards" (cons "model" (cons "design" (cons "viz-triangle" (cons "viz-tower" (cons "viz-ledger" (cons "viz-rays" (cons "viz-defects" (cons "viz-dyadic" (cons "nav-primary" (cons "nav-breadcrumb" (cons "nav-stepper" (nil String))))))))))))))))))))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.AccessibilityTests (contrast measured from the stylesheet, landmarks, focus, motion, keyboard)", coverage := "implemented"}) (cons (record Standard {id := "wai-aria-1.2", name := "W3C WAI-ARIA 1.2 and the ARIA Authoring Practices Guide", authority := "https://www.w3.org/TR/wai-aria-1.2/", version := "1.2 (Recommendation, 2023-06-06); APG patterns", scope := "The navigation of the site: the primary navigation, the breadcrumb and the stepper follow the APG patterns (roles, aria-current, arrow keys), the status region is live.", realizedBy := (cons "site" (cons "nav-primary" (cons "nav-breadcrumb" (cons "nav-stepper" (nil String))))), conformance := "python3 -m unittest scripts.tests.test_r30.AccessibilityTests (role, aria-current, aria-pressed, role=status, arrow keys)", coverage := "implemented"}) (cons (record Standard {id := "html-living-standard", name := "WHATWG HTML Living Standard", authority := "https://html.spec.whatwg.org/multipage/", version := "living standard", scope := "The page's landmarks (header, nav, main, footer), the one-document site with its data in a JSON script element and its metadata in the head.", realizedBy := (cons "site" (cons "nav-primary" (cons "nav-breadcrumb" (cons "nav-stepper" (nil String))))), conformance := "python3 -m unittest scripts.tests.test_r30.AccessibilityTests.test_landmarks_focus_motion_and_keyboard", coverage := "implemented"}) (cons (record Standard {id := "svg-2", name := "W3C SVG 2", authority := "https://www.w3.org/TR/SVG2/", version := "2 (Candidate Recommendation, 2018-10-04)", scope := "The Rule 30 picture, the logo and the visualizations are SVG documents with a title and a description, crisp cells, colours from the page's tokens.", realizedBy := (cons "picture" (cons "logo" (cons "viz-triangle" (cons "viz-tower" (cons "viz-ledger" (cons "viz-rays" (cons "viz-defects" (cons "viz-dyadic" (nil String))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.SiteTests.test_rule30_rows_and_logo (parsed as SVG, no script)", coverage := "implemented"}) (cons (record Standard {id := "wai-aria-graphics-1.0", name := "W3C WAI-ARIA Graphics Module 1.0", authority := "https://www.w3.org/TR/graphics-aria-1.0/", version := "1.0 (Recommendation, 2018-10-02)", scope := "Every drawing carries role=img with aria-labelledby pointing at its title and description; the interactive visualizations use graphics-document and graphics-symbol.", realizedBy := (cons "picture" (cons "logo" (cons "viz-triangle" (cons "viz-tower" (cons "viz-ledger" (cons "viz-rays" (cons "viz-defects" (cons "viz-dyadic" (nil String))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.SiteTests.test_statements_picture_and_explainer_artifacts (role=img, aria-labelledby)", coverage := "implemented"}) (cons (record Standard {id := "schema-org", name := "schema.org vocabulary (JSON-LD)", authority := "https://schema.org/", version := "current release (https://schema.org/docs/releases.html)", scope := "A LearningResource for every pedagogical step of every journey, the paper as ScholarlyArticle, the repository as SoftwareSourceCode, the register as Dataset, embedded in the page and published as schema.json.", realizedBy := (cons "jsonld" (cons "site" (cons "paper-pdf" (cons "register-json" (cons "readme" (cons "prize-review" (cons "research-session" (cons "reading" (cons "stdlib-feedback" (cons "mathematics" (cons "first-visit" (nil String)))))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_schema_org_describes_every_step_the_paper_the_repository_and_the_register", coverage := "implemented"}) (cons (record Standard {id := "json-ld-1.1", name := "W3C JSON-LD 1.1", authority := "https://www.w3.org/TR/json-ld11/", version := "1.1 (Recommendation, 2020-07-16)", scope := "The serialization of the schema.org and PROV-O graphs: a @context, a @graph, ids under the published URL.", realizedBy := (cons "jsonld" (cons "provenance" (nil String))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests (both documents parse and carry @context and @graph)", coverage := "implemented"}) (cons (record Standard {id := "prov-o", name := "W3C PROV-O, the PROV Ontology", authority := "https://www.w3.org/TR/prov-o/", version := "Recommendation, 2013-04-30", scope := "Provenance of every claim: a proved claim prov:wasDerivedFrom its Lean theorem and prov:wasAttributedTo the Lean kernel, attested by the paper's LexLean attestation and the module's kappa-label; the view prov:wasGeneratedBy the render of this commit under the view workflow.", realizedBy := (cons "provenance" (cons "view-workflow" (cons "view_render" (cons "frontier_check" (cons "kappa" (cons "verify" (nil String))))))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_provenance_derives_every_proved_claim_from_its_theorem", coverage := "implemented"}) (cons (record Standard {id := "json-schema-2020-12", name := "JSON Schema 2020-12", authority := "https://json-schema.org/draft/2020-12/schema", version := "2020-12", scope := "The closed schemas of register.json, the interface sheets, standards.json and the --json reports (rule30-api/schemas), validated by the tests and referenced from openapi.json.", realizedBy := (cons "register-json" (cons "standards" (cons "openapi" (cons "api_check" (cons "api_production" (cons "brief" (cons "chain" (cons "claim" (cons "deduce" (cons "discover" (cons "engine_prune" (cons "engine_status" (cons "engine_tick" (cons "frontier_list" (cons "interface" (cons "kappa" (cons "sequences" (cons "status" (nil String))))))))))))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.ResultSchemaTests; bin/r30 api check", coverage := "implemented"}) (cons (record Standard {id := "openapi-3.1", name := "OpenAPI Specification 3.1", authority := "https://spec.openapis.org/oas/v3.1.1", version := "3.1.1 (2024-10-24)", scope := "The r30 command surface as an API description: one path per command of the parser, its arguments as parameters, its responses from the result schemas, the same leaves as Api.lex.tex and the MCP tools.", realizedBy := (prim append (cons "openapi" (cons "status" (cons "brief" (cons "chain" (cons "api_sync" (cons "api_check" (cons "api_production" (cons "view_render" (cons "interface" (cons "claim" (cons "audit" (cons "gate" (cons "lexicon_search" (cons "lexicon_show" (cons "lexicon_packages" (cons "sig" (cons "mentions" (cons "theorem_preview" (cons "theorem_add" (cons "theorem_remove" (cons "define" (cons "check" (cons "unpublished" (cons "selfcheck" (cons "verify" (cons "probe" (cons "axioms" (cons "choice_audit" (cons "frontier_list" (cons "frontier_add" (cons "frontier_set" (cons "frontier_check" (cons "frontier_render" (cons "commit" (cons "module_list" (cons "module_add" (cons "module_build" (cons "consolidate" (cons "kappa" (cons "sequences" (nil String))))))))))))))))))))))))))))))))))))))))) (cons "discover" (cons "deduce" (cons "engine_tick" (cons "engine_status" (cons "engine_hypotheses" (cons "engine_prune" (cons "experiment_list" (cons "experiment_run" (nil String))))))))) : (List String)), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_openapi_describes_the_command_surface; bin/r30 api check (Api.lex.tex)", coverage := "implemented"}) (cons (record Standard {id := "gherkin", name := "Gherkin (Cucumber reference)", authority := "https://cucumber.io/docs/gherkin/reference/", version := "Gherkin reference (current)", scope := "One scenario per conformance id in features/suites, tagged with the id and its honesty level, generated with the registers.", realizedBy := (cons "api_sync" (cons "api_check" (nil String))), conformance := "python3 -m unittest scripts.tests.test_r30.ConformanceTests; bin/r30 api check", coverage := "implemented"}) (cons (record Standard {id := "citation-cff", name := "Citation File Format 1.2.0", authority := "https://citation-file-format.github.io/", version := "1.2.0", scope := "CITATION.cff at the repository root (and copied into the view): the author, the title of the paper, the repository and the published view.", realizedBy := (cons "citation" (cons "readme" (nil String))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_citation_file_names_the_author_the_title_and_the_repository", coverage := "implemented"}) (cons (record Standard {id := "spdx", name := "SPDX License Expressions (SPDX 2.3, ISO/IEC 5962:2021)", authority := "https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/", version := "2.3", scope := "License identifiers of the vendored sources: the repository is MIT (LICENSE at the root, `license: MIT` in CITATION.cff); the prism-stdlib register carries the SPDX expression of its vendored license files.", realizedBy := (cons "stdlib-package" (cons "citation" (nil String))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_spdx_expressions_are_well_formed", coverage := "implemented"}) (cons (record Standard {id := "sitemap-protocol", name := "Sitemaps XML protocol 0.9", authority := "https://www.sitemaps.org/protocol.html", version := "0.9", scope := "sitemap.xml: the page and the deep link of every step of every journey; robots.txt names the sitemap.", realizedBy := (cons "sitemap" (cons "robots" (cons "site" (cons "prize-review" (cons "research-session" (cons "reading" (cons "stdlib-feedback" (cons "mathematics" (cons "first-visit" (nil String)))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_sitemap_lists_every_step_deep_link", coverage := "implemented"}) (cons (record Standard {id := "open-graph", name := "The Open Graph protocol", authority := "https://ogp.me/", version := "ogp.me (2014-10)", scope := "og:title, og:type, og:url, og:description and og:image in the page's head, injected with the JSON-LD at render.", realizedBy := (cons "site" (cons "logo" (nil String))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_site_head_carries_json_ld_and_open_graph", coverage := "implemented"}) (cons (record Standard {id := "rfc-8785", name := "RFC 8785, JSON Canonicalization Scheme (JCS)", authority := "https://www.rfc-editor.org/rfc/rfc8785", version := "2020-06", scope := "The identity of the published JSON contracts (sha256-canonical-json in contracts.toml) and the canonical JSON of the LexLean attestations; uor-addr labels JSON under JCS.", realizedBy := (cons "register-json" (cons "statements" (cons "kappa" (nil String)))), conformance := "python3 -m unittest scripts.tests.test_kappa (the no-prefix rule on the JCS vector)", coverage := "implemented"}) (cons (record Standard {id := "rivest-csexp", name := "Rivest, S-Expressions (canonical form, section 4.3)", authority := "https://people.csail.mit.edu/rivest/Sexp.txt", version := "draft-rivest-sexp-00, 1997-05-04", scope := "The kappa-label of a research module: the SHA-256 of the canonical S-expression of the declarations the kernel replays, as UOR-Foundation/uor-addr mints labels; the key of the replay receipts. The same canonical form labels the sequences of the basis, (sequence ), their transforms and the relations the discovery engines find, (relation ).", realizedBy := (cons "kappa" (cons "provenance" (cons "sequences" (cons "discover" (cons "Sequences" (cons "Discovery" (nil String))))))), conformance := "python3 -m unittest scripts.tests.test_kappa; bin/r30 kappa ; bin/r30 api check (sequences)", coverage := "implemented"}) (cons (record Standard {id := "in-toto-statement-v1", name := "in-toto Attestation Framework, Statement v1", authority := "https://github.com/in-toto/attestation/blob/main/spec/v1/statement.md", version := "v1", scope := "attestations.intoto.json: a Statement whose subjects are the attested PDFs and the paper's sources with their SHA-256 digests and whose predicate is the paper's LexLean attestation.", realizedBy := (cons "attestations" (cons "pdf-manifest" (cons "verify" (cons "paper-pdf" (cons "observations-pdf" (cons "core-pdf" (nil String))))))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_in_toto_statement_subjects_are_the_attested_documents", coverage := "implemented"}) (cons (record Standard {id := "oci-distribution", name := "OCI Distribution Specification", authority := "https://github.com/opencontainers/distribution-spec/blob/main/spec.md", version := "1.1.0 (2024-02)", scope := "Planned: a kappa-registry serving the replay receipts and certified bundles by content address; today only the kappa-labels that would address them exist.", realizedBy := (cons "kappa" (nil String)), conformance := "bin/r30 kappa (the labels); no registry runs yet", coverage := "planned"}) (cons (record Standard {id := "iana-media-types", name := "IANA Media Types (RFC 6838)", authority := "https://www.iana.org/assignments/media-types/", version := "RFC 6838 (2013-01)", scope := "Every published artifact declares its media type in Presentation.lex.tex; the contracts register declares the vendor types of the JSON reports.", realizedBy := (prim append (cons "chain" (cons "register-json" (cons "register-text" (cons "frontier" (cons "interfaces" (cons "statements" (cons "explainer" (cons "picture" (cons "paper-pdf" (cons "observations-pdf" (cons "core-pdf" (cons "pdf-manifest" (cons "api-module" (cons "register-module" (cons "architecture-module" (cons "presentation-module" (cons "application-module" (cons "core-vectors" (cons "frontier-module" (cons "agents" (cons "round-workflow" (cons "strategy" (cons "readme" (cons "logo" (cons "standards" (cons "standards-module" (cons "openapi" (cons "sitemap" (cons "robots" (cons "provenance" (cons "jsonld" (cons "attestations" (cons "citation" (cons "observer-module" (cons "tokens" (cons "site" (cons "viz-core-js" (cons "viz-triangle-js" (cons "viz-tower-js" (cons "viz-ledger-js" (nil String))))))))))))))))))))))))))))))))))))))))) (cons "viz-rays-js" (cons "viz-defects-js" (cons "viz-dyadic-js" (nil String)))) : (List String)), conformance := "bin/r30 verify api: artifactPathsDistinct, panelsReadArtifacts (Presentation); python3 -m unittest scripts.tests.test_r30.StandardsTests", coverage := "implemented"}) (cons (record Standard {id := "lean-4", name := "Lean 4 (the kernel)", authority := "https://github.com/leanprover/lean4", version := "leanprover/lean4:v4.32.1", scope := "Every proved claim names a theorem the Lean kernel checked under propext and Quot.sound; the research modules are kernel-replayed with leanchecker.", realizedBy := (cons "Register" (cons "axioms" (cons "choice_audit" (cons "frontier_check" (cons "kappa" (cons "module_build" (nil String))))))), conformance := "bin/r30 frontier check; bin/r30 axioms ; bin/r30 choice-audit", coverage := "implemented"}) (cons (record Standard {id := "lexlean", name := "UOR-Foundation/LexLean (closed-lexicon LaTeX to Lean 4)", authority := "https://github.com/UOR-Foundation/LexLean", version := "0.4.0, language 1.2, compiler semantics 2e4c0ddd6084", scope := "The authoring surface: the paper, the register and these API modules are LexLean modules verified by lexlean; the production roots export to certified Rust.", realizedBy := (cons "Api" (cons "Register" (cons "Architecture" (cons "Presentation" (cons "Application" (cons "Observer" (cons "Convert" (cons "Standards" (cons "Rule30Core" (cons "Sequences" (cons "Discovery" (cons "verify" (cons "check" (cons "api_sync" (cons "api_check" (cons "api_production" (nil String))))))))))))))))), conformance := "bin/r30 verify api; bin/r30 check api; bin/r30 api check", coverage := "implemented"}) (nil Standard))))))))))))))))))))))))), + body: (cons (record Standard {id := "iso-42010", name := "ISO/IEC/IEEE 42010:2022, Architecture description", authority := "https://www.iso.org/standard/74393.html", version := "2022", scope := "Stakeholders, concerns, viewpoints and views of the proof effort on Foundation.Arch; every panel of the site is governed by a viewpoint.", realizedBy := (cons "Architecture" (cons "architecture-module" (cons "Presentation" (nil String)))), conformance := "bin/r30 verify api: everyConcernFramed, viewpointsFrameHeldConcerns, everyViewpointGovernsAView (Architecture), panelsGovernedByViewpoints (Presentation)", coverage := "implemented"}) (cons (record Standard {id := "iso-25010", name := "ISO/IEC 25010:2023, Product quality model", authority := "https://www.iso.org/standard/78176.html", version := "2023", scope := "What an optimal implementation is here: characteristics, subcharacteristics, requirements and measures with thresholds on Foundation.Qual, each measure naming the command that reports it.", realizedBy := (cons "Architecture" (cons "quality" (cons "architecture-module" (cons "api_check" (cons "check" (cons "choice_audit" (cons "frontier_check" (cons "gate" (cons "verify" (cons "view_render" (nil String))))))))))), conformance := "bin/r30 verify api: everyRequirementMeasured, everyMeasureCommandExists (Architecture), publicationWithinBudget (Application)", coverage := "implemented"}) (cons (record Standard {id := "wcag-2.2", name := "W3C WCAG 2.2, Web Content Accessibility Guidelines", authority := "https://www.w3.org/TR/WCAG22/", version := "2.2 (Recommendation, 2023-10-05)", scope := "The site at level AA: 4.5:1 text contrast in both themes, one visible focus ring, a skip link, reduced motion honoured, keyboard operation of every control and step.", realizedBy := (cons "site" (cons "picture" (cons "explainer" (cons "reduction-tree" (cons "register" (cons "open-leaves" (cons "paper" (cons "obligation" (cons "refutations" (cons "interface-sheets" (cons "modules" (cons "quality" (cons "sitemap" (cons "verify" (cons "standards" (cons "model" (cons "design" (cons "viz-triangle" (cons "viz-tower" (cons "viz-ledger" (cons "viz-rays" (cons "viz-defects" (cons "viz-dyadic" (cons "nav-primary" (cons "nav-breadcrumb" (cons "nav-stepper" (nil String))))))))))))))))))))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.AccessibilityTests (contrast measured from the stylesheet, landmarks, focus, motion, keyboard)", coverage := "implemented"}) (cons (record Standard {id := "wai-aria-1.2", name := "W3C WAI-ARIA 1.2 and the ARIA Authoring Practices Guide", authority := "https://www.w3.org/TR/wai-aria-1.2/", version := "1.2 (Recommendation, 2023-06-06); APG patterns", scope := "The navigation of the site: the primary navigation, the breadcrumb and the stepper follow the APG patterns (roles, aria-current, arrow keys), the status region is live.", realizedBy := (cons "site" (cons "nav-primary" (cons "nav-breadcrumb" (cons "nav-stepper" (nil String))))), conformance := "python3 -m unittest scripts.tests.test_r30.AccessibilityTests (role, aria-current, aria-pressed, role=status, arrow keys)", coverage := "implemented"}) (cons (record Standard {id := "html-living-standard", name := "WHATWG HTML Living Standard", authority := "https://html.spec.whatwg.org/multipage/", version := "living standard", scope := "The page's landmarks (header, nav, main, footer), the one-document site with its data in a JSON script element and its metadata in the head.", realizedBy := (cons "site" (cons "nav-primary" (cons "nav-breadcrumb" (cons "nav-stepper" (nil String))))), conformance := "python3 -m unittest scripts.tests.test_r30.AccessibilityTests.test_landmarks_focus_motion_and_keyboard", coverage := "implemented"}) (cons (record Standard {id := "svg-2", name := "W3C SVG 2", authority := "https://www.w3.org/TR/SVG2/", version := "2 (Candidate Recommendation, 2018-10-04)", scope := "The Rule 30 picture, the logo and the visualizations are SVG documents with a title and a description, crisp cells, colours from the page's tokens.", realizedBy := (cons "picture" (cons "logo" (cons "viz-triangle" (cons "viz-tower" (cons "viz-ledger" (cons "viz-rays" (cons "viz-defects" (cons "viz-dyadic" (nil String))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.SiteTests.test_rule30_rows_and_logo (parsed as SVG, no script)", coverage := "implemented"}) (cons (record Standard {id := "wai-aria-graphics-1.0", name := "W3C WAI-ARIA Graphics Module 1.0", authority := "https://www.w3.org/TR/graphics-aria-1.0/", version := "1.0 (Recommendation, 2018-10-02)", scope := "Every drawing carries role=img with aria-labelledby pointing at its title and description; the interactive visualizations use graphics-document and graphics-symbol.", realizedBy := (cons "picture" (cons "logo" (cons "viz-triangle" (cons "viz-tower" (cons "viz-ledger" (cons "viz-rays" (cons "viz-defects" (cons "viz-dyadic" (nil String))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.SiteTests.test_statements_picture_and_explainer_artifacts (role=img, aria-labelledby)", coverage := "implemented"}) (cons (record Standard {id := "schema-org", name := "schema.org vocabulary (JSON-LD)", authority := "https://schema.org/", version := "current release (https://schema.org/docs/releases.html)", scope := "A LearningResource for every pedagogical step of every journey, the paper as ScholarlyArticle, the repository as SoftwareSourceCode, the register as Dataset, embedded in the page and published as schema.json.", realizedBy := (cons "jsonld" (cons "site" (cons "paper-pdf" (cons "register-json" (cons "readme" (cons "prize-review" (cons "research-session" (cons "reading" (cons "stdlib-feedback" (cons "mathematics" (cons "first-visit" (nil String)))))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_schema_org_describes_every_step_the_paper_the_repository_and_the_register", coverage := "implemented"}) (cons (record Standard {id := "json-ld-1.1", name := "W3C JSON-LD 1.1", authority := "https://www.w3.org/TR/json-ld11/", version := "1.1 (Recommendation, 2020-07-16)", scope := "The serialization of the schema.org and PROV-O graphs: a @context, a @graph, ids under the published URL.", realizedBy := (cons "jsonld" (cons "provenance" (nil String))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests (both documents parse and carry @context and @graph)", coverage := "implemented"}) (cons (record Standard {id := "prov-o", name := "W3C PROV-O, the PROV Ontology", authority := "https://www.w3.org/TR/prov-o/", version := "Recommendation, 2013-04-30", scope := "Provenance of every claim: a proved claim prov:wasDerivedFrom its Lean theorem and prov:wasAttributedTo the Lean kernel, attested by the paper's LexLean attestation and the module's kappa-label; the view prov:wasGeneratedBy the render of this commit under the view workflow.", realizedBy := (cons "provenance" (cons "view-workflow" (cons "view_render" (cons "frontier_check" (cons "kappa" (cons "verify" (nil String))))))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_provenance_derives_every_proved_claim_from_its_theorem", coverage := "implemented"}) (cons (record Standard {id := "json-schema-2020-12", name := "JSON Schema 2020-12", authority := "https://json-schema.org/draft/2020-12/schema", version := "2020-12", scope := "The closed schemas of register.json, the interface sheets, standards.json and the --json reports (rule30-api/schemas), validated by the tests and referenced from openapi.json.", realizedBy := (cons "register-json" (cons "standards" (cons "openapi" (cons "api_check" (cons "api_production" (cons "brief" (cons "chain" (cons "claim" (cons "deduce" (cons "discover" (cons "engine_prune" (cons "engine_status" (cons "engine_tick" (cons "frontier_list" (cons "interface" (cons "kappa" (cons "sequences" (cons "status" (nil String))))))))))))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.ResultSchemaTests; bin/r30 api check", coverage := "implemented"}) (cons (record Standard {id := "openapi-3.1", name := "OpenAPI Specification 3.1", authority := "https://spec.openapis.org/oas/v3.1.1", version := "3.1.1 (2024-10-24)", scope := "The r30 command surface as an API description: one path per command of the parser, its arguments as parameters, its responses from the result schemas, the same leaves as Api.lex.tex and the MCP tools.", realizedBy := (prim append (cons "openapi" (cons "status" (cons "brief" (cons "chain" (cons "api_sync" (cons "api_check" (cons "api_production" (cons "view_render" (cons "interface" (cons "claim" (cons "audit" (cons "gate" (cons "lexicon_search" (cons "lexicon_show" (cons "lexicon_packages" (cons "sig" (cons "mentions" (cons "theorem_preview" (cons "theorem_add" (cons "theorem_remove" (cons "define" (cons "check" (cons "unpublished" (cons "selfcheck" (cons "verify" (cons "probe" (cons "axioms" (cons "choice_audit" (cons "frontier_list" (cons "frontier_add" (cons "frontier_set" (cons "frontier_check" (cons "frontier_render" (cons "commit" (cons "module_list" (cons "module_add" (cons "module_build" (cons "consolidate" (cons "kappa" (cons "sequences" (nil String))))))))))))))))))))))))))))))))))))))))) (cons "discover" (cons "deduce" (cons "engine_tick" (cons "engine_status" (cons "engine_hypotheses" (cons "engine_prune" (cons "experiment_list" (cons "experiment_run" (nil String))))))))) : (List String)), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_openapi_describes_the_command_surface; bin/r30 api check (Api.lex.tex)", coverage := "implemented"}) (cons (record Standard {id := "gherkin", name := "Gherkin (Cucumber reference)", authority := "https://cucumber.io/docs/gherkin/reference/", version := "Gherkin reference (current)", scope := "One scenario per conformance id in features/suites, tagged with the id and its honesty level, generated with the registers.", realizedBy := (cons "api_sync" (cons "api_check" (nil String))), conformance := "python3 -m unittest scripts.tests.test_r30.ConformanceTests; bin/r30 api check", coverage := "implemented"}) (cons (record Standard {id := "citation-cff", name := "Citation File Format 1.2.0", authority := "https://citation-file-format.github.io/", version := "1.2.0", scope := "CITATION.cff at the repository root (and copied into the view): the author, the title of the paper, the repository and the published view.", realizedBy := (cons "citation" (cons "readme" (nil String))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_citation_file_names_the_author_the_title_and_the_repository", coverage := "implemented"}) (cons (record Standard {id := "spdx", name := "SPDX License Expressions (SPDX 2.3, ISO/IEC 5962:2021)", authority := "https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/", version := "2.3", scope := "License identifiers of the vendored sources: the repository is MIT (LICENSE at the root, `license: MIT` in CITATION.cff); the prism-stdlib register carries the SPDX expression of its vendored license files.", realizedBy := (cons "stdlib-package" (cons "citation" (nil String))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_spdx_expressions_are_well_formed", coverage := "implemented"}) (cons (record Standard {id := "sitemap-protocol", name := "Sitemaps XML protocol 0.9", authority := "https://www.sitemaps.org/protocol.html", version := "0.9", scope := "sitemap.xml: the page and the deep link of every step of every journey; robots.txt names the sitemap.", realizedBy := (cons "sitemap" (cons "robots" (cons "site" (cons "prize-review" (cons "research-session" (cons "reading" (cons "stdlib-feedback" (cons "mathematics" (cons "first-visit" (nil String)))))))))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_sitemap_lists_every_step_deep_link", coverage := "implemented"}) (cons (record Standard {id := "open-graph", name := "The Open Graph protocol", authority := "https://ogp.me/", version := "ogp.me (2014-10)", scope := "og:title, og:type, og:url, og:description and og:image in the page's head, injected with the JSON-LD at render.", realizedBy := (cons "site" (cons "logo" (nil String))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_site_head_carries_json_ld_and_open_graph", coverage := "implemented"}) (cons (record Standard {id := "rfc-8785", name := "RFC 8785, JSON Canonicalization Scheme (JCS)", authority := "https://www.rfc-editor.org/rfc/rfc8785", version := "2020-06", scope := "The identity of the published JSON contracts (sha256-canonical-json in contracts.toml) and the canonical JSON of the LexLean attestations; uor-addr labels JSON under JCS.", realizedBy := (cons "register-json" (cons "statements" (cons "kappa" (nil String)))), conformance := "python3 -m unittest scripts.tests.test_kappa (the no-prefix rule on the JCS vector)", coverage := "implemented"}) (cons (record Standard {id := "rivest-csexp", name := "Rivest, S-Expressions (canonical form, section 4.3)", authority := "https://people.csail.mit.edu/rivest/Sexp.txt", version := "draft-rivest-sexp-00, 1997-05-04", scope := "The kappa-label of a research module: the SHA-256 of the canonical S-expression of the declarations the kernel replays, as UOR-Foundation/uor-addr mints labels; the key of the replay receipts. The same canonical form labels the sequences of the basis, (sequence ), their transforms and the relations the discovery engines find, (relation ).", realizedBy := (cons "kappa" (cons "provenance" (cons "sequences" (cons "discover" (cons "Sequences" (cons "Discovery" (nil String))))))), conformance := "python3 -m unittest scripts.tests.test_kappa; bin/r30 kappa ; bin/r30 api check (sequences)", coverage := "implemented"}) (cons (record Standard {id := "in-toto-statement-v1", name := "in-toto Attestation Framework, Statement v1", authority := "https://github.com/in-toto/attestation/blob/main/spec/v1/statement.md", version := "v1", scope := "attestations.intoto.json: a Statement whose subjects are the attested PDFs and the paper's sources with their SHA-256 digests and whose predicate is the paper's LexLean attestation.", realizedBy := (cons "attestations" (cons "pdf-manifest" (cons "verify" (cons "paper-pdf" (cons "observations-pdf" (cons "core-pdf" (nil String))))))), conformance := "python3 -m unittest scripts.tests.test_r30.StandardsTests.test_in_toto_statement_subjects_are_the_attested_documents", coverage := "implemented"}) (cons (record Standard {id := "oci-distribution", name := "OCI Distribution Specification", authority := "https://github.com/opencontainers/distribution-spec/blob/main/spec.md", version := "1.1.0 (2024-02)", scope := "Planned: a kappa-registry serving the replay receipts and certified bundles by content address; today only the kappa-labels that would address them exist.", realizedBy := (cons "kappa" (nil String)), conformance := "bin/r30 kappa (the labels); no registry runs yet", coverage := "planned"}) (cons (record Standard {id := "iana-media-types", name := "IANA Media Types (RFC 6838)", authority := "https://www.iana.org/assignments/media-types/", version := "RFC 6838 (2013-01)", scope := "Every published artifact declares its media type in Presentation.lex.tex; the contracts register declares the vendor types of the JSON reports.", realizedBy := (prim append (cons "chain" (cons "register-json" (cons "register-text" (cons "frontier" (cons "interfaces" (cons "statements" (cons "explainer" (cons "picture" (cons "paper-pdf" (cons "observations-pdf" (cons "core-pdf" (cons "pdf-manifest" (cons "api-module" (cons "register-module" (cons "architecture-module" (cons "presentation-module" (cons "application-module" (cons "core-vectors" (cons "frontier-module" (cons "agents" (cons "round-workflow" (cons "strategy" (cons "readme" (cons "logo" (cons "standards" (cons "standards-module" (cons "openapi" (cons "sitemap" (cons "robots" (cons "provenance" (cons "jsonld" (cons "attestations" (cons "citation" (cons "observer-module" (cons "tokens" (cons "site" (cons "viz-core-js" (cons "viz-triangle-js" (cons "viz-tower-js" (cons "viz-ledger-js" (nil String))))))))))))))))))))))))))))))))))))))))) (cons "viz-rays-js" (cons "viz-defects-js" (cons "viz-dyadic-js" (nil String)))) : (List String)), conformance := "bin/r30 verify api: artifactPathsDistinct, panelsReadArtifacts (Presentation); python3 -m unittest scripts.tests.test_r30.StandardsTests", coverage := "implemented"}) (cons (record Standard {id := "lean-4", name := "Lean 4 (the kernel)", authority := "https://github.com/leanprover/lean4", version := "leanprover/lean4:v4.32.1", scope := "Every proved claim names a theorem the Lean kernel checked under propext and Quot.sound; the research modules are kernel-replayed with leanchecker.", realizedBy := (cons "Register" (cons "axioms" (cons "choice_audit" (cons "frontier_check" (cons "kappa" (cons "module_build" (nil String))))))), conformance := "bin/r30 frontier check; bin/r30 axioms ; bin/r30 choice-audit", coverage := "implemented"}) (cons (record Standard {id := "lexlean", name := "UOR-Foundation/LexLean (closed-lexicon LaTeX to Lean 4)", authority := "https://github.com/UOR-Foundation/LexLean", version := "0.4.0, language 1.2, compiler semantics 91d8c0b208d5", scope := "The authoring surface: the paper, the register and these API modules are LexLean modules verified by lexlean; the production roots export to certified Rust.", realizedBy := (cons "Api" (cons "Register" (cons "Architecture" (cons "Presentation" (cons "Application" (cons "Observer" (cons "Convert" (cons "Standards" (cons "Rule30Core" (cons "Sequences" (cons "Discovery" (cons "verify" (cons "check" (cons "api_sync" (cons "api_check" (cons "api_production" (nil String))))))))))))))))), conformance := "bin/r30 verify api; bin/r30 check api; bin/r30 api check", coverage := "implemented"}) (nil Standard))))))))))))))))))))))))), axioms: [] } @@ -281,7 +281,7 @@ theorem{ name: lexleanPinned, parameters: [], - statement: ((prim equal (standardVersion "lexlean" (standards)) "0.4.0, language 1.2, compiler semantics 2e4c0ddd6084" : Bool) = true), + statement: ((prim equal (standardVersion "lexlean" (standards)) "0.4.0, language 1.2, compiler semantics 91d8c0b208d5" : Bool) = true), proof: decide{}, axioms: [] } diff --git a/rule30-lexlean/Core.pdf b/rule30-lexlean/Core.pdf index 07f8713..837d1c7 100644 Binary files a/rule30-lexlean/Core.pdf and b/rule30-lexlean/Core.pdf differ diff --git a/rule30-lexlean/lexlean.lock b/rule30-lexlean/lexlean.lock index 867bbef..08f6734 100644 --- a/rule30-lexlean/lexlean.lock +++ b/rule30-lexlean/lexlean.lock @@ -1,6 +1,6 @@ spec = "lexlean/lock/2" language = "1.2" -compiler_semantics = "2e4c0ddd6084eba8fa99f04ab0235bfc5775dbc0455216b6ec51abe8ce8d9750" +compiler_semantics = "91d8c0b208d5226c5cd8db1761372e17ccad485a604168a54a83455e4ad30ff7" project_config_sha256 = "19b484b35998550fc91a00820ee56382eaf79bbb39852dfb7d54e82018f0cd7b" lean_toolchain = "leanprover/lean4:v4.32.1" diff --git a/rule30-lexlean/pdf/Core.pdf b/rule30-lexlean/pdf/Core.pdf index 07f8713..837d1c7 100644 Binary files a/rule30-lexlean/pdf/Core.pdf and b/rule30-lexlean/pdf/Core.pdf differ diff --git a/rule30-paper/Observations.pdf b/rule30-paper/Observations.pdf index 58d4c52..a7df039 100644 Binary files a/rule30-paper/Observations.pdf and b/rule30-paper/Observations.pdf differ diff --git a/rule30-paper/Paper.pdf b/rule30-paper/Paper.pdf index 72606c7..e8b5d17 100644 Binary files a/rule30-paper/Paper.pdf and b/rule30-paper/Paper.pdf differ diff --git a/rule30-paper/lexlean.lock b/rule30-paper/lexlean.lock index 915cb6d..32bd207 100644 --- a/rule30-paper/lexlean.lock +++ b/rule30-paper/lexlean.lock @@ -1,6 +1,6 @@ spec = "lexlean/lock/2" language = "1.2" -compiler_semantics = "2e4c0ddd6084eba8fa99f04ab0235bfc5775dbc0455216b6ec51abe8ce8d9750" +compiler_semantics = "91d8c0b208d5226c5cd8db1761372e17ccad485a604168a54a83455e4ad30ff7" project_config_sha256 = "65f34bd573a071519ef77a8129d6aaba99072b7612e53043eac3033c4f4dfcbc" lean_toolchain = "leanprover/lean4:v4.32.1" diff --git a/rule30-paper/pdf/Observations.pdf b/rule30-paper/pdf/Observations.pdf index 58d4c52..a7df039 100644 Binary files a/rule30-paper/pdf/Observations.pdf and b/rule30-paper/pdf/Observations.pdf differ diff --git a/rule30-paper/pdf/Paper.pdf b/rule30-paper/pdf/Paper.pdf index 72606c7..e8b5d17 100644 Binary files a/rule30-paper/pdf/Paper.pdf and b/rule30-paper/pdf/Paper.pdf differ