mirror of
https://github.com/Kindelia/Kind2.git
synced 2024-11-05 07:05:32 +03:00
prove RLP.aux.0
This commit is contained in:
parent
d87ada0334
commit
f694cb0143
@ -2,9 +2,14 @@
|
||||
RLP.aux.0(
|
||||
add: Nat
|
||||
len: Nat
|
||||
pf0: Either<Equal<Nat, add, 128>, Equal<Nat, add, 192>>
|
||||
H0: Either<Equal<Nat, add, 128>, Equal<Nat, add, 192>>
|
||||
): Nat.ltn(0,Nat.add(add,len)) == Bool.true
|
||||
RLP.aux.0(add, len, pf0)
|
||||
case H0 {
|
||||
} default
|
||||
case mirror(H0.value) {
|
||||
refl:
|
||||
refl
|
||||
}: Nat.ltn(0,Nat.add(self.b,len)) == Bool.true
|
||||
|
||||
// TODO: include `a <= 192`
|
||||
RLP.aux.1(
|
||||
|
Loading…
Reference in New Issue
Block a user