History log of /seL4-l4v-master/l4v/lib/AutoLevity_Hooks.thy
Revision Date Author Comments
# a424d55e 09-Mar-2020 Gerwin Klein <gerwin.klein@data61.csiro.au>

licenses: convert license tags to SPDX


# 6ff1a38f 23-May-2019 Michael McInerney <Michael.McInerney@data61.csiro.au>

lib: update for Isabelle 2019


# ecc84ffc 22-Oct-2018 Edward Pierzchalski <ed.pierzchalski@data61.csiro.au>

lib: fix up Levity JSON output

- Previously printed `~` for negative numbers, which is invalid
JSON. Now prints `-`.

- Previously the outpout would unconditionally trim
'underscore-number' suffixes. Now uses theory context to determine
if it's likely to be an index into a theory list or an existing
fact name.

- Changed JSON structure to avoid using dynamic names for keys, i.e.
from this:

{
"my_theory_name": {...}
}

to this:

{
"theory": "my_theory_name",
"content": {...}
}

This should make processing the output slightly nicer by matching
what other tools expect.

- Changed JSON structure to consolidate dependencies. Lemmas are no
longer special-cased.


# 46ccc2ba 03-Jul-2018 Japheth Lim <Japheth.Lim@data61.csiro.au>

lib: change where temp file for AutoLevity tracing is created

We need to create the temp file on the same file system as the output
file in order for atomic renaming to work properly.


# a4b0287e 03-Jul-2018 Japheth Lim <Japheth.Lim@data61.csiro.au>

lib: log exceptions from AutoLevity trace writer


# da866255 29-Jun-2018 Japheth Lim <Japheth.Lim@data61.csiro.au>

lib: fail gracefully if AutoLevity can't install hooks in unpatched Isabelle


# 791f6ea3 29-Jun-2018 Japheth Lim <Japheth.Lim@data61.csiro.au>

lib: write autolevity traces on session shutdown

This commit depends on patching Isabelle to add a session shutdown hook.


# 796887d9 11-Jul-2017 Alejandro Gomez-Londono <alejandro.gomez@nicta.com.au>

Removes all trailing whitespaces


# ceca9325 07-Jun-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

added missing license headers


# eed586f4 30-May-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

autolevity: allow proof tracing level to be set with AUTOLEVITY environment variable

AUTOLEVITY=1 -- trace lemma dependencies, proof start/end
AUTOLEVITY=2 -- as above, also trace all dependent theorems per apply statement


# 92139db6 25-May-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

autolevity: refine tracing apply everywhere to work via Proof module hooks

This avoids doing redundant tactic operations at the top-level and lets
us trace "by" statements easily.


# 4c89bcf2 20-May-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

autolevity: add support for per-apply lemma dependency tracking

Also remove at-end theory hook due to unfinished proofs causing issues. Autolevity must be run from a completed session (see lib/AutoLevity_Run).

Per-apply dependency tracking requires a small isabelle patch.


# df8e65fb 16-May-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

autolevity: initial commit with test run on AInvs