snapkitty
developer-tools
java
File size: 1,429 Bytes
1eff9b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://ortho32.dev/schemas/theorem-result.schema.json",
  "title": "TheoremResult",
  "description": "Result for one of the 12 ORTHO-32 theorems from a specific proof system. Status is set only from real checker output; VERIFIED != TESTED != ASSUMED.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Stable identifier for theorem (e.g., THM_001)"
    },
    "system": {
      "type": "string",
      "enum": ["LEAN4", "HOL_LIGHT"],
      "description": "Proof system that checked the theorem"
    },
    "status": {
      "type": "string",
      "enum": ["VERIFIED", "CROSS_VERIFIED", "TESTED", "OBSERVED", "ASSUMED", "UNVERIFIED", "FAILED"],
      "description": "VerificationStatus. VERIFIED requires zero sorries and successful checker run."
    },
    "assumptions": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Assumptions/axioms used"
    },
    "sourceHash": {
      "type": "string",
      "pattern": "^[0-9a-fA-F]{64}$",
      "description": "SHA-256 hex of source checked"
    },
    "sorryCount": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of sorries/admitted axioms. Must be 0 for VERIFIED."
    }
  },
  "required": ["id", "system", "status", "assumptions", "sourceHash", "sorryCount"],
  "additionalProperties": false
}