English
Copy construction for a frame preserving all frame-structure data including sSup and sInf over sets.
Русский
Копирование рамки сохраняет структуру с предельными операциями по множествам
LaTeX
$$$\\exists c' : \\text{Frame }\\alpha \\text{ with preserved data } le, top, bot, sup, inf, himp, compl, sSup, sInf$$$
Lean4
/-- A function to create a provable equal copy of a frame with possibly different definitional
equalities. -/
def copy (c : Frame α) (le : α → α → Prop) (eq_le : le = (by infer_instance : LE α).le) (top : α)
(eq_top : top = (by infer_instance : Top α).top) (bot : α) (eq_bot : bot = (by infer_instance : Bot α).bot)
(sup : α → α → α) (eq_sup : sup = (by infer_instance : Max α).max) (inf : α → α → α)
(eq_inf : inf = (by infer_instance : Min α).min) (himp : α → α → α)
(eq_himp : himp = (by infer_instance : HImp α).himp) (compl : α → α)
(eq_compl : compl = (by infer_instance : HasCompl α).compl) (sSup : Set α → α)
(eq_sSup : sSup = (by infer_instance : SupSet α).sSup) (sInf : Set α → α)
(eq_sInf : sInf = (by infer_instance : InfSet α).sInf) : Frame α
where
toCompleteLattice :=
CompleteLattice.copy (@Frame.toCompleteLattice α c) le eq_le top eq_top bot eq_bot sup eq_sup inf eq_inf sSup
eq_sSup sInf eq_sInf
__ :=
HeytingAlgebra.copy (@Frame.toHeytingAlgebra α c) le eq_le top eq_top bot eq_bot sup eq_sup inf eq_inf himp eq_himp
compl eq_compl