units_kgate_report_json
plain-language theorem explainer
This definition delivers a JSON string report for units kgate certificates based on an input source. Engineers and auditors working with the LNAL compiler and certificate system would cite it to generate standardized outputs. The implementation consists of a straightforward composition: extract the certificate and serialize its status using the JSON constructor.
Claim. Define the map that sends an input source string to the JSON string obtained by serializing the success flag and error list of the certificate constructed from that source.
background
This definition sits in the LNAL reports adapter module, which converts internal certificate states into machine-readable JSON manifests for the certificate engine. It relies on the mkJson helper that builds a JSON object holding a boolean success indicator and an array of error strings. The certificate extraction step uses the fromSource constructor imported from the LNAL certificate generators.
proof idea
This is a one-line wrapper that applies certificate construction from the source string and then invokes the JSON builder on the resulting status fields.
why it matters
It supplies the JSON serialization entry point for units kgate reports, supporting manifest aggregation in the certificate engine. The declaration closes the adapter layer between certificate generation and external consumption without touching the core forcing chain or phi-ladder constructions.
Switch to Lean above to see the machine-checked source, dependencies, and usage graph.