Input: C hyperelliptic curve over an unramified extension K of p with p a prime of good reduction Points P, Q on C.

Output: P Q ω i .

1) Find Teichmüller points P , Q in the disks of P , Q .

2) Compute the tiny integrals P P ω i and Q Q ω i .

3) Calculate the action of Frobenius on each basis element ( ϕ m ) * ω i = j 2 g 1 M i j ω j + d f i .

4) Change of variables gives j = 0 2 g 1 ( M I ) P Q ω j = f i ( Q ) f i ( Q ) and solving the linear system gives the integrals P Q ω i .

5) Correct endpoints to recover P Q ω i P P ω i + P Q ω i + Q Q ω i .

6) Return P Q ω i .