cfahlgren1's picture
download
raw
1.11 kB
11
theorem actual_algorithm_correct (G : Input) :
    0 < (MachineMain.A G).2 ∧
    (MachineMain.A G).1 ≤ (MachineMain.A G).2 * count G ∧
    (MachineMain.A G).2 * count G ≤ 2 ^ (18 * G.n) * (MachineMain.A G).1 ∧
    ((MachineMain.A G).1 = 0 ↔ count G = 0) := by
proof · 7 lines
  by_cases h : 2 * G.ordinary.records.length + G.loops.length < G.n
  · have hz := count_eq_zero_of_sparse_bound G h
    simp [MachineMain.A, h, hz]
  · rw [MachineMain.A, ite_eq_right h]
    exact ⟨Approximation.output_den_pos G,
      Approximation.output_bounds_of_expanded_count G
        (fun j _ => expanded_count G j)⟩
24
theorem fullEndpoint : FullEndpoint := by
proof · 2 lines
  obtain ⟨machine, hfinite, hlength⟩ := MachineMain.computational_endpoint
  exact ⟨MachineMain.A, machine, hfinite, hlength, actual_algorithm_correct⟩

Xet Storage Details

Size:
1.11 kB
·
Xet hash:
a86cf0b23be7092215029e099f6f5b1f1d8f525aa91b7b68b70c162d7159c0ae

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.