Skip to content
Snippets Groups Projects
Commit 5ec97220 authored by Christoph's avatar Christoph
Browse files

Implement initTables for μ-Calculus

Make following state of a fixpoint it's unfold
parent 6553983f
No related branches found
No related tags found
No related merge requests found
...@@ -1047,6 +1047,16 @@ let initTables nomTbl hcF htF htR s f n = ...@@ -1047,6 +1047,16 @@ let initTables nomTbl hcF htF htR s f n =
let s1 = List.nth sortlst (if first then 0 else 1) in let s1 = List.nth sortlst (if first then 0 else 1) in
!arrayDest1.(s).(n) <- C.HcFHt.find htF.(s1) f1; !arrayDest1.(s).(n) <- C.HcFHt.find htF.(s1) f1;
!arrayDest3.(s).(n) <- if first then 0 else 1 !arrayDest3.(s).(n) <- if first then 0 else 1
| C.HCMU (name, f1) ->
!arrayType.(s).(n) <- MuF;
let unfold = C.hc_replace hcF name f f1 in
!arrayDest1.(s).(n) <- C.HcFHt.find htF.(s) unfold
| C.HCNU (name, f1) ->
!arrayType.(s).(n) <- NuF;
let unfold = C.hc_replace hcF name f f1 in
!arrayDest1.(s).(n) <- C.HcFHt.find htF.(s) unfold
| C.HCVAR _ -> !arrayType.(s).(n) <- Other
let initTablesAt hcF htF name sort = let initTablesAt hcF htF name sort =
let hcnom = C.HcFormula.hashcons hcF (C.HCAP name) in let hcnom = C.HcFormula.hashcons hcF (C.HCAP name) in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment