You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CIP-????/README.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ License: Apache-2.0
15
15
16
16
At this time, there exists an [Agda model](https://github.com/IntersectMBO/formal-ledger-specifications)
17
17
of the Cardano ledger, which is used, among other things, as the source of truth
18
-
for the design of the Cardano ledger implementation, as well as for conformance testing. In this model, smart contracts
19
-
(which correspond a certain class of predicates in Plutus in the Cardano ledger implementation) are modeled using Agda
20
-
functions. This CIP describes a proposal for adding a framework for defining stateful computation called [structured contracts](https://omelkonian.github.io/data/publications/eutxo-struc.pdf)to this Agda specification model. A user may instantiate
18
+
for the design of the Cardano ledger implementation, as well as for conformance testing.
19
+
This CIP describes a proposal for adding a framework for defining stateful computation called [structured contracts](https://omelkonian.github.io/data/publications/eutxo-struc.pdf) to this Agda specification model,
20
+
using a certain class of boolean Agda predicates to model ledger scripts. A user may instantiate
21
21
this framework by specifying the semantics of their desired stateful program, then defining Agda functions
22
22
corresponding to smart contracts required to implement these semantics.
23
23
Finally, to show the implementation is correct, fulfilling some proof obligations
@@ -429,6 +429,10 @@ any stateful program on the ledger, and
429
429
is an instance of the right structured contract. That is, one that satisfies some properties desired by
430
430
the author, and describes the evolution of the the relevant data on the ledger.
431
431
432
+
We provide the specification and set of examples that must be implemented as part of this CIP
433
+
to demonstrate the above statements, and give users the tools to implement their own formally
434
+
verified stateful programs on the Cardano ledger.
435
+
432
436
### Automation Potential
433
437
434
438
The ideal eventual outcome of this script verification effort is automation of implementing
@@ -462,7 +466,8 @@ Two to four of the examples/usecases are implemented.
462
466
### Implementation Plan
463
467
464
468
1. Instantiate `Value`
465
-
2. Implement the examples discussed
469
+
2. Establish the scope of examples required for completion
0 commit comments