Buckets:
| import Mathlib | |
| namespace OAI | |
| /-! | |
| Proper clauses choose distinct variables uniformly and give them independent fair | |
| signs. Formulas consist of independent uniform whole-clause draws with replacement. | |
| Their satisfiability probability is the literal finite cardinality ratio. | |
| For zero clauses this probability is one, including when there are fewer variables | |
| than literals per clause. When there are fewer variables than literals per clause | |
| and the clause count is positive, the ensemble is empty and its probability is zero | |
| by the convention that division by zero is zero. | |
| For each fixed clause size at least three, one positive finite real threshold | |
| governs the limits at every fixed density below or above it. There is no assertion | |
| at the critical density, no explicit threshold value, and no varying-size claim. | |
| -/ | |
| namespace FixedClauseThreshold | |
| abbrev Assignment (n : ℕ) := Fin n → Bool | |
| abbrev ProperClause (n k : ℕ) := | |
| { C : Fin n → Option Bool // (Finset.univ.filter fun i => (C i).isSome).card = k } | |
| abbrev Formula (n k m : ℕ) := Fin m → ProperClause n k | |
| def SatisfiesClause {n k : ℕ} (σ : Assignment n) (C : ProperClause n k) : Prop := | |
| ∃ i : Fin n, C.val i = some (σ i) | |
| def Satisfies {n k m : ℕ} (σ : Assignment n) (F : Formula n k m) : Prop := | |
| ∀ j, SatisfiesClause σ (F j) | |
| def Satisfiable {n k m : ℕ} (F : Formula n k m) : Prop := | |
| ∃ σ : Assignment n, Satisfies σ F | |
| noncomputable def properSATProbability (n k m : ℕ) : ℝ := by | |
| classical | |
| exact (Fintype.card { F : Formula n k m // Satisfiable F } : ℝ) / | |
| (Fintype.card (Formula n k m) : ℝ) | |
| def HasLimitingThreshold (k : ℕ) : Prop := | |
| ∃ α : ℝ, 0 < α ∧ | |
| (∀ c : ℝ, 0 ≤ c → c < α → | |
| Filter.Tendsto (fun n : ℕ => properSATProbability n k ⌊c * (n : ℝ)⌋₊) | |
| Filter.atTop (nhds 1)) ∧ | |
| (∀ c : ℝ, α < c → | |
| Filter.Tendsto (fun n : ℕ => properSATProbability n k ⌊c * (n : ℝ)⌋₊) | |
| Filter.atTop (nhds 0)) | |
| theorem main (k : ℕ) (hk : 3 ≤ k) : HasLimitingThreshold k := by | |
| sorry | |
| end FixedClauseThreshold | |
| end OAI | |
Xet Storage Details
- Size:
- 2.1 kB
- Xet hash:
- 4dac0d7999d314027a5e28585b481b83b038a7adc296d1832f2d0cffd27d89c4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.