> Most of the ocean is just dead water with nothing in it.
You're closer to life than you would be when you're on any other planet than Earth.
> But even there getting the resources that you theoretically have is not easy - electrolysis is like charging a battery - you don't get ANY energy from it, because you would need the oxygen, and hydrogen needs oxygen to react with
I'm aware of how thermodynamics work, and I bring it up because our nuclear submarines rely on electrolysis to generate oxygen so that they don't have to resurface for long periods of time.
They just release their hydrogen as waste gas, though.
> Compare it to Mars - you get sunlight for crops
There is barely an atmosphere on Mars.
> you get it for solar panels
You can capture wind, solar, tidal or geothermal energy while sitting at the bottom of the ocean.
> There is water on Mars as we know now, so you can use it while also having easier time building
There is a incredibly small amount of water on Mars. Meanwhile in the ocean, you're surrounded by it.
I don't think the bottom of the ocean would be a good place to survive an extinction event, because there are plenty of places on the surface or beneath the surface that are better suited.
I use the bottom of the ocean as an example because it is Earth, our home, yet we still have an extremely difficult time surviving in it. Despite that, it is infinitely more livable than any other planet in our solar system.