-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CERTS should do the base case first #604
base: master
Are you sure you want to change the base?
Conversation
This closes issue #545.
1c7ea3f
to
20ffac4
Compare
\end{code} | ||
\begin{code}[hide] | ||
data | ||
\end{code} | ||
\begin{code} | ||
_⊢_⇀⦇_,CERT⦈_ : CertEnv → CertState → DCert → CertState → Type | ||
_⊢_⇀⦇_,CERT⦈_ : CertEnv → CertState → DCert → CertState → Type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
White space added to work around the "missing l" TeX bug.
⟦ pp , pools , delegatees ⟧ᵈᵉ ⊢ | ||
⟦ vDelegs , sDelegs , rwds ⟧ᵈ ⇀⦇ delegate c mv mkh d ,DELEG⦈ | ||
⟦ pp , pools , delegatees ⟧ᵈᵉ ⊢ ⟦ vDelegs , sDelegs , rwds ⟧ᵈ | ||
⇀⦇ delegate c mv mkh d ,DELEG⦈ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix pdf figure where this line gets stretched and ugly.
@@ -430,7 +429,8 @@ data _⊢_⇀⦇_,CERTBASE⦈_ where | |||
refresh = mapPartial getDRepVote (fromList vs) | |||
refreshedDReps = mapValueRestricted (const (e + drepActivity)) dReps refresh | |||
wdrlCreds = mapˢ stake (dom wdrls) | |||
validVoteDelegs = voteDelegs ∣^ (mapˢ (credVoter DRep) (dom dReps) ∪ fromList (noConfidenceRep ∷ abstainRep ∷ [])) | |||
validVoteDelegs = voteDelegs ∣^ ( mapˢ (credVoter DRep) (dom dReps) | |||
∪ fromList (noConfidenceRep ∷ abstainRep ∷ []) ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix pdf figure box overrun.
_⊢_⇀⦇_,CERTBASE⦈_ : CertEnv → CertState → ⊤ → CertState → Type | ||
|
||
_⊢_⇀⦇_,CERTS⦈_ : CertEnv → CertState → List DCert → CertState → Type | ||
_⊢_⇀⦇_,CERTS⦈_ = ReflexiveTransitiveClosure _⊢_⇀⦇_,CERT⦈_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be much nicer if you just make an abstraction here that replaces ReflexiveTransitiveClosureᵇ
. Then you wouldn't have to modify LEDGER
at all, which is better because it keeps the concerns of the different STSs separate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It also means that the proof that this new closure operator preserves Computational
would be general, whereas right now it's intertwined with the Computational
proof of LEDGER
.
Description
This closes issue #545.
Checklist
CHANGELOG.md