Sampling from the uniform distribution on preorderings on n objects
Statement
Let be a natural number, and be the set of all preorderings (i.e., reflexive and transitive relations) on . (Equivalently, we can defined as the set of all topologies on ; its cardinality is given by OEIS sequence A000798.)
I would like to draw a random element from the uniform distribution on “reasonably efficiently”. Is there a way to do this? Has this problem been investigated?
If it seems hopeless to do this exactly, is there at least some easily implementable stochastic process that would converge to the uniform distribution on “reasonably rapidly”?
To clarify the question, my purpose is to do some experimental mathematics with random preorderings, so I'm looking for something that can actually be implemented. I'm not sure what value of I could hope to handle, but it's certainly less than or so.
Posed by Gro-Tsen · co.combinatorics, pr.probability, order-theory, sampling
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-491212.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-491212.lean
import Mathlib /-! # Sampling from the uniform distribution on preorderings on n objects Source: https://mathoverflow.net/questions/491212 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_491212 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_491212