Homework 1: Creating Proofs

Show a proof that if your providing 2 tokens simultaneously, that this is going to be the equation that describes the amount of LP tokens youll be issued in return for those tokens.

Adding Liquidity

Part in the Video: https://youtu.be/TmKXBicL_ZE?feature=shared&t=3374

Screenshot 2023-10-07 at 2.00.46 PM.png


Proove that this equation is true based on the equations provided in the video

Removing Liquidity

Part in the Video: https://youtu.be/TmKXBicL_ZE?feature=shared&t=3845

Screenshot 2023-10-07 at 2.08.57 PM.png


Create a proof for these equations

Performing a Swap by Adding Liquidity in One Token and Removing Liquidity in the Other Token

Part in the video: https://youtu.be/TmKXBicL_ZE?feature=shared&t=4028

Screenshot 2023-10-07 at 2.13.16 PM.png