OAI/Combinatorics/ContingencyTables/Dense/DenseIntegerTable.lean

GitHub source file

11 declarations, 0 contain sorry, 0 declared as axioms

Integral dense completion formulas

The sampler fills dependent cells by integer sums and differences. The acceptance test is exactly nonnegativity of these integers; accepted outputs have the prescribed natural margins.

  1. def OAI.ContingencyTables.DenseAffine.integerTable line 19
  2. def OAI.ContingencyTables.DenseAffine.naturalTable line 26
  3. theorem OAI.ContingencyTables.DenseAffine.integerTable_cast line 29
  4. theorem OAI.ContingencyTables.DenseAffine.scaled_integerTable_cast line 37
  5. theorem OAI.ContingencyTables.DenseAffine.integerTable_recover line 48
  6. theorem OAI.ContingencyTables.DenseAffine.integer_acceptance_iff line 66
  7. theorem OAI.ContingencyTables.DenseAffine.naturalTable_cast line 81
  8. theorem OAI.ContingencyTables.DenseAffine.naturalTable_rows line 86
  9. theorem OAI.ContingencyTables.DenseAffine.naturalTable_columns line 94
  10. theorem OAI.ContingencyTables.DenseAffine.naturalTable_free line 102
  11. theorem OAI.ContingencyTables.DenseAffine.naturalTable_unique line 106