annotate Todo.txt @ 780:0b791ae19543 default tip

test
author Moririn < Moririn@cr.ie.u-ryukyu.ac.jp>
date Mon, 10 Jul 2023 20:19:13 +0900
parents 68904fdaab71 c588b77bc197
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
710
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 709
diff changeset
1 Wed May 4 22:07:32 JST 2022
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 709
diff changeset
2
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 709
diff changeset
3 Context memory に DataGear を Binary Tree で入れる。List で良いのだが
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 709
diff changeset
4 Libaryの Data.Tree.Binary には insert はない ( まぁ、alloc / read / update くらいで map で書けるとか?)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 709
diff changeset
5 共有データは、memory に入れる
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 709
diff changeset
6 free はしない(?)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 709
diff changeset
7
709
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
8 Sun May 1 15:04:57 JST 2022
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
9
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
10 Model checking
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
12 goto 先の番号を stub に書くのは変
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
13
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
14   process : context が別々
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
15   thread : context 一緒、goto 先が異なる
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
16 context は共有 実行は codeGear は atomic
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
17 shared file descriptor など
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
18
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
19 single phils direct connection single thread
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
20 no shared data
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
21
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
22 multi process phils separate process
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
23 shared context
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
25 multi threaded phils shared process
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
26 serate next
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
27 atomic codeGear execution
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
28   
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 578
diff changeset
29
578
7bacba816277 use list base simple stack
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 575
diff changeset
30 Thu May 17 15:26:56 JST 2018
7bacba816277 use list base simple stack
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 575
diff changeset
31
7bacba816277 use list base simple stack
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 575
diff changeset
32 findNode -> replaceNode -> getRedBlackTree だが
7bacba816277 use list base simple stack
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 575
diff changeset
33
7bacba816277 use list base simple stack
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 575
diff changeset
34 findNode -> P0 -> replaceNode -> P1 -> getRedBlackTree
7bacba816277 use list base simple stack
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 575
diff changeset
35
7bacba816277 use list base simple stack
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 575
diff changeset
36 という形で証明しても良い。一挙に証明するのは,可能だろうけど、良くないはず。
7bacba816277 use list base simple stack
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 575
diff changeset
37
573
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
38 Sun May 6 17:54:50 JST 2018
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
39
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
40 do1 a $ \b -> do2 b next を、do1 と do2 に分離することはできる?
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
41
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
42
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
43 Mon Apr 30 17:15:16 JST 2018
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
44
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
45 Stack の初期化を別にするだけだと、置き換えの条件に到達した時に、Stack が empty になるのを保証できない
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
46 やはり、 Stack + Current Tree = Original Tree という不変式を入れないとだめらしい
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
47
553
7d9af1d4b5af add compareTri
ryokka
parents: 524
diff changeset
48 Mon Mar 26 17:43:06 JST 2018
7d9af1d4b5af add compareTri
ryokka
parents: 524
diff changeset
49
573
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
50 Decidable を使って Compare の場合分けを行う
553
7d9af1d4b5af add compareTri
ryokka
parents: 524
diff changeset
51 Decidable を使うと Eq から x ≡ y の証明を取り出すことができる
7d9af1d4b5af add compareTri
ryokka
parents: 524
diff changeset
52 場合分けには Trichotomous を使う
573
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 553
diff changeset
53 compareTri を完成させる Done
553
7d9af1d4b5af add compareTri
ryokka
parents: 524
diff changeset
54
524
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
55 Fri Jan 5 16:43:26 JST 2018
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
56
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
57 unbalanced binary search tree の動作を調べる
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
58
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
59 RedBlackTree の put を完成させる
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
60
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
61 RedBlackTree の Deletion を完成させる
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
62
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
63 unbalanced binary search tree と同様の動作をする
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
64
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
65 木の深さの最小と最大の差が2倍を超えない
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
66
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
67 CodeGear/DataGear が構成する圏を定義する
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
68
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
69 goto を定義して meta 計算を可能にする
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
70
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
71 DataSegment をすべて含む sum 型を定義しmetaDataSegmentとする
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
72
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
73 実行環境をcontextとして定義しgotoと合わせて並列実行をモデル化する
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
74
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
75 Monad の合成に必要な規則を上の圏上に定義する
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
76
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
77 synchronizedQueue の仕様をCTLを使って定義する
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
78
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
79 Gearsで記述したsynchornizedQueueを検証する
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
80
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
81 gotoを用いてモデル検査と証明の組み合わせを実現する
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
82
5f684d39832e add Todo.txt
ryokka
parents:
diff changeset
83
575
73fc32092b64 push local rbtree
ryokka
parents: 573
diff changeset
84 Wed Aug 27 17:52:00 JST 2019
73fc32092b64 push local rbtree
ryokka
parents: 573
diff changeset
85
73fc32092b64 push local rbtree
ryokka
parents: 573
diff changeset
86 別で定義した TriCotomos や \=? などの Relation の関数を
73fc32092b64 push local rbtree
ryokka
parents: 573
diff changeset
87 Agdaで定義してあるものに置き換える,まとめる
73fc32092b64 push local rbtree
ryokka
parents: 573
diff changeset
88
73fc32092b64 push local rbtree
ryokka
parents: 573
diff changeset
89 HoareLogic をベースにした SingleLinkedStack の作成
73fc32092b64 push local rbtree
ryokka
parents: 573
diff changeset
90
73fc32092b64 push local rbtree
ryokka
parents: 573
diff changeset
91 HoareLogic ベースの Tree の証明