refactor(library/kernel_serializer): implement maximal sharing directly
refactor(library/kernel_serializer): implement maximal sharing directly

avigad/lean,leanprover-community/lean,johoelzl/lean,rlewis1988/lean,digama0/lean,rlewis1988/lean,leanprover-community/lean,johoelzl/lean,leanprover/lean,digama0/lean,Kha/lean,leanprover/lean,avigad/lean,rlewis1988/lean,dselsam/lean,leodemoura/lean,Kha/lean,leodemoura/lean,dselsam/lean,avigad/lean,leanprover/lean,leanprover/lean,Kha/lean,fpvandoorn/lean,rlewis1988/lean,leanprover-community/lean,leanprover-community/lean,digama0/lean,leanprover-community/lean,leodemoura/lean,leodemoura/lean,leodemoura/lean,digama0/lean,digama0/lean,Kha/lean,dselsam/lean,avigad/lean,johoelzl/lean,johoelzl/lean,dselsam/lean,dselsam/lean,fpvandoorn/lean,leanprover/lean,leanprover/lean,rlewis1988/lean,fpvandoorn/lean,johoelzl/lean,Kha/lean,johoelzl/lean,dselsam/lean,avigad/lean,avigad/lean,leanprover-community/lean,leodemoura/lean,fpvandoorn/lean,rlewis1988/lean,Kha/lean,digama0/lean,fpvandoorn/lean,fpvandoorn/lean