@@ -222,9 +222,9 @@ impl<T> LogResource<T> {
222222 requires
223223 old( self ) @ is FullAuthority ,
224224 ensures
225- final ( self ) @ is FullAuthority ,
226- final ( self ) . id( ) == old( self ) . id( ) ,
227- final ( self ) @. log( ) == old( self ) @. log( ) + seq![ v] ,
225+ self @ is FullAuthority ,
226+ self . id( ) == old( self ) . id( ) ,
227+ self @. log( ) == old( self ) @. log( ) + seq![ v] ,
228228 {
229229 let value = LogResourceValue :: <T >:: FullAuthority { log: self @. log( ) + seq![ v] } ;
230230 update_mut( & mut self . r, value) ;
@@ -236,11 +236,11 @@ impl<T> LogResource<T> {
236236 old( other) @ is HalfAuthority ,
237237 old( self ) . id( ) == old( other) . id( ) ,
238238 ensures
239- final ( self ) @ is HalfAuthority ,
240- final ( self ) . id( ) == old( self ) . id( ) ,
241- final ( other) . id( ) == old( self ) . id( ) ,
242- final ( self ) @. log( ) == old( self ) @. log( ) + seq![ v] ,
243- final ( other) @ == final ( self ) @,
239+ self @ is HalfAuthority ,
240+ self . id( ) == old( self ) . id( ) ,
241+ other. id( ) == old( self ) . id( ) ,
242+ self @. log( ) == old( self ) @. log( ) + seq![ v] ,
243+ other@ == self @,
244244 {
245245 self . r. validate_2( & other. r) ;
246246 let new_log = self @. log( ) + seq![ v] ;
@@ -263,12 +263,12 @@ impl<T> LogResource<T> {
263263 requires
264264 old( self ) . id( ) == other. id( ) ,
265265 ensures
266- final ( self ) @ == old( self ) @,
267- is_prefix( final ( self ) @. log( ) , other@. log( ) ) || is_prefix( other@. log( ) , final ( self ) @. log( ) ) ,
268- final ( self ) @ is HalfAuthority ==> is_prefix( other@. log( ) , final ( self ) @. log( ) ) ,
269- final ( self ) @ is FullAuthority ==> is_prefix( other@. log( ) , final ( self ) @. log( ) ) ,
270- other@ is HalfAuthority ==> is_prefix( final ( self ) @. log( ) , other@. log( ) ) ,
271- other@ is FullAuthority ==> is_prefix( final ( self ) @. log( ) , other@. log( ) ) ,
266+ self @ == old( self ) @,
267+ is_prefix( self @. log( ) , other@. log( ) ) || is_prefix( other@. log( ) , self @. log( ) ) ,
268+ self @ is HalfAuthority ==> is_prefix( other@. log( ) , self @. log( ) ) ,
269+ self @ is FullAuthority ==> is_prefix( other@. log( ) , self @. log( ) ) ,
270+ other@ is HalfAuthority ==> is_prefix( self @. log( ) , other@. log( ) ) ,
271+ other@ is FullAuthority ==> is_prefix( self @. log( ) , other@. log( ) ) ,
272272 {
273273 self . r. validate_2( & other. r)
274274 }
0 commit comments