Are "equi-expressivity" relations always congruences on Post's lattice?
Statement
Given a clone over the set , let be the version of first-order logic with (symbols corresponding to) elements of replacing the usual Booleans; note that I will always include , and . If is a proper subclone of then is strictly less expressive than . However, if we restrict the structures under consideration, the picture can change; e.g. while is not functionally complete in general it is if we restrict attention to the structure or similar. See this MSE post of mine for details.
For a structure and clones on , let iff every -definable relations on is -definable and vice-versa (allowing parameters from throughout). My general question is which equivalence relations are of the form for some , but I suspect that's intractable (EDIT: as Emil Jerabek observes, this …
Posed by Noah Schweber · lo.logic, model-theory, universal-algebra
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-474637.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-474637.lean
import Mathlib /-! # Are "equi-expressivity" relations always congruences on Post's lattice? Source: https://mathoverflow.net/questions/474637 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_474637 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_474637