ashlang 0.1.3

A language for zero knowledge proofs
Documentation
1
2
3
4
5
6
7
8
9
10
(a) -> (b)

# the witness generator will always return the
# lower root

# radix = √
# square (2) root
b = (2*one) radix (1*a) # b is the square root of a

0 = (1*b) * (1*b) - (1*a) # assert that a = b*b