Commit 2025-03-19 10:04 49bf7285

View on Github →

chore(Order): split long file CompleteLattice.lean (#23064) This PR splits the long file Mathlib.Order.CompleteLattice into three files:

  • CompleteLattice.Defs: definition of CompleteSemilattice{Inf,Sup} and CompleteLattice, important constructors
  • CompleteLattice.Basic: basic theory (in particular the declarations that GaloisConnection.Basic depends on)
  • CompleteLattice.Lemmas: results that need more imports (such as sups on Nat or Bool) This file appears on the long pole between Order.Hom.Set and Order.GaloisConnection.Basic. The PR probably won't improve that metric much since the next import, Mathlib.Order.CompleteBooleanAlgebra still imports Mathlib.Order.CompleteLattice.Lemmas (and the differences between those files are small anyway).

Estimated changes

deleted theorem Antitone.iInf_nat_add
deleted theorem Monotone.iSup_nat_add
deleted theorem ULift.down_iInf
deleted theorem ULift.down_iSup
deleted theorem ULift.down_sInf
deleted theorem ULift.down_sSup
deleted theorem ULift.up_iInf
deleted theorem ULift.up_iSup
deleted theorem ULift.up_sInf
deleted theorem ULift.up_sSup
deleted theorem disjoint_of_sSup_disjoint
deleted theorem disjoint_sSup_left
deleted theorem disjoint_sSup_right
deleted theorem iInf_bool_eq
deleted theorem iInf_ge_eq_iInf_nat_add
deleted theorem iInf_iSup_ge_nat_add
deleted theorem iInf_le_iff
deleted theorem iInf_lt_iff
deleted theorem iInf_nat_gt_zero_eq
deleted theorem iInf_sup_iInf_le
deleted theorem iSup_bool_eq
deleted theorem iSup_ge_eq_iSup_nat_add
deleted theorem iSup_iInf_ge_nat_add
deleted theorem iSup_inf_le_inf_sSup
deleted theorem iSup_inf_le_sSup_inf
deleted theorem iSup_nat_gt_zero_eq
deleted theorem inf_eq_iInf
deleted theorem inf_iInf_nat_succ
deleted theorem isGLB_iff_sInf_eq
deleted theorem isGLB_sInf
deleted theorem isLUB_iff_sSup_eq
deleted theorem isLUB_sSup
deleted theorem le_iSup_iff
deleted theorem le_iSup_inf_iSup
deleted theorem le_sInf
deleted theorem le_sInf_iff
deleted theorem le_sSup
deleted theorem le_sSup_iff
deleted theorem le_sSup_of_le
deleted theorem lt_iSup_iff
deleted theorem lt_sSup_iff
deleted theorem ofDual_iInf
deleted theorem ofDual_iSup
deleted theorem ofDual_sInf
deleted theorem ofDual_sSup
deleted theorem sInf_eq_bot
deleted theorem sInf_le
deleted theorem sInf_le_iff
deleted theorem sInf_le_of_le
deleted theorem sInf_le_sInf
deleted theorem sInf_lt_iff
deleted theorem sInf_sup_le_iInf_sup
deleted theorem sSup_eq_top
deleted theorem sSup_le
deleted theorem sSup_le_iff
deleted theorem sSup_le_sSup
deleted theorem sup_eq_iSup
deleted theorem sup_iSup_nat_succ
deleted theorem sup_sInf_le_iInf_sup
deleted theorem toDual_iInf
deleted theorem toDual_iSup
deleted theorem toDual_sInf
deleted theorem toDual_sSup
added theorem iInf_le_iff
added theorem iInf_lt_iff
added theorem isGLB_iff_sInf_eq
added theorem isGLB_sInf
added theorem isLUB_iff_sSup_eq
added theorem isLUB_sSup
added theorem le_iSup_iff
added theorem le_sInf
added theorem le_sInf_iff
added theorem le_sSup
added theorem le_sSup_iff
added theorem le_sSup_of_le
added theorem lt_iSup_iff
added theorem lt_sSup_iff
added theorem ofDual_iInf
added theorem ofDual_iSup
added theorem ofDual_sInf
added theorem ofDual_sSup
added theorem sInf_eq_bot
added theorem sInf_le
added theorem sInf_le_iff
added theorem sInf_le_of_le
added theorem sInf_le_sInf
added theorem sInf_lt_iff
added theorem sSup_eq_top
added theorem sSup_le
added theorem sSup_le_iff
added theorem sSup_le_sSup
added theorem toDual_iInf
added theorem toDual_iSup
added theorem toDual_sInf
added theorem toDual_sSup
added theorem Antitone.iInf_nat_add
added theorem Monotone.iSup_nat_add
added theorem ULift.down_iInf
added theorem ULift.down_iSup
added theorem ULift.down_sInf
added theorem ULift.down_sSup
added theorem ULift.up_iInf
added theorem ULift.up_iSup
added theorem ULift.up_sInf
added theorem ULift.up_sSup
added theorem disjoint_sSup_left
added theorem disjoint_sSup_right
added theorem iInf_bool_eq
added theorem iInf_iSup_ge_nat_add
added theorem iInf_nat_gt_zero_eq
added theorem iInf_sup_iInf_le
added theorem iSup_bool_eq
added theorem iSup_iInf_ge_nat_add
added theorem iSup_inf_le_inf_sSup
added theorem iSup_inf_le_sSup_inf
added theorem iSup_nat_gt_zero_eq
added theorem inf_eq_iInf
added theorem inf_iInf_nat_succ
added theorem le_iSup_inf_iSup
added theorem sInf_sup_le_iInf_sup
added theorem sup_eq_iSup
added theorem sup_iSup_nat_succ
added theorem sup_sInf_le_iInf_sup