History log of /seL4-l4v-master/HOL4/examples/computability/lambda/numsAsCompStatesScript.sml
Revision Date Author Comments
# 57c68692 12-Aug-2020 Michael Norrish <michael.norrish@data61.csiro.au>

Fix numsAsCompStates for experimental kernel


# ac225e4b 11-Aug-2020 Michael Norrish <michael.norrish@data61.csiro.au>

Remove some trailing whitespace


# 8ecb08ab 22-Jan-2020 ejcatt <ejcatt@gmail.com>

Added theorems to nACS


# da49fcfe 18-Feb-2019 Michael Norrish <Michael.Norrish@nicta.com.au>

Make numsAsCompStates more abstract by using algebraic "masking" type

Could make the type completely opaque by deleting the CS constructor.


# f535214b 14-Feb-2019 Michael Norrish <Michael.Norrish@nicta.com.au>

Add theory presenting abstract view of computation states

Concretely these states are encoded λ-calculus terms, but we can present
the universal Phi function in terms of states with a nice API on them:

mk_initial_state : num -> num -> state
terminated : state -> bool
step1 : state -> state
comp_count : state -> num option
cs_to_num : state -> num

where comp_count is the number of steps needed to take a state to
termination, and cs_to_num extracts a result from a terminated state.