OAI/Combinatorics/ContingencyTables/Dense/DenseTrialSemantics.lean

GitHub source file

8 declarations, 0 contain sorry, 0 declared as axioms

The complete trial program uses the manuscript's finite-bit experiment

  1. def OAI.ContingencyTables.DensePrograms.trialInput line 15
  2. lemma OAI.ContingencyTables.DensePrograms.flatToGridData_code line 19
  3. lemma OAI.ContingencyTables.DensePrograms.trialGrid_code line 27
  4. lemma OAI.ContingencyTables.DensePrograms.trialOffsets_code line 44
  5. theorem OAI.ContingencyTables.DensePrograms.trialCompletion_code line 62
  6. def OAI.ContingencyTables.DensePrograms.tableOutput line 77
  7. lemma OAI.ContingencyTables.DensePrograms.acceptCompletion_trialFree line 82
  8. theorem OAI.ContingencyTables.DensePrograms.denseTrialCode_eq line 102

    Source documentation

    The physical binary program returns exactly the successful table of the declared finite Boolean experiment, with the same rejection event.

    theorem denseTrialCode_eq {m n d : ℕ}
        (R : Option (Fin m) → ℕ) (P : Option (Fin n) → ℕ)
        (hd : 14 ≤ d) (hR : ∀ i,d^12 ≤ R i) (hP : ∀ j,d^12 ≤ P j)
        (htotal : ∑ i,R i=∑ j,P j) (h : ℕ)
        (a : Grid (I := Fin (m*n)) (4*d^8))
    …