cfahlgren1's picture
download
raw
69.7 kB
22
def required_361 : Finset Cell := ⟨(([(2, 2), (2, 3), (3, 2), (3, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
23
def envelope_361 : Finset Cell := ⟨(([(0, 2), (1, 2), (1, 4), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6), (3, 0), (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6), (4, 3), (4, 4), (4, 5), (4, 6), (5, 3), (5, 4), (6, 3), (6, 4)] : List Cell) : Multiset Cell), by decide +kernel⟩
24
def childrenC_361 : Fin 3 → Finset Cell := ![(placed21 2 (3, 0) required_15), (placed21 1 (0, 0) required_57), (placed21 1 (1, 1) required_360)]
25
def childrenD_361 : Fin 3 → Finset Cell := ![(placed21 2 (3, 0) envelope_15), (placed21 1 (0, 0) envelope_57), (placed21 1 (1, 1) envelope_360)]
26
theorem common_sub_361 : commonEnvelope childrenD_361 ⊆ insert (3, 1) required_361 := by decide +kernel
27
theorem child_required_sub_361 : ∀ j, childrenC_361 j ⊆ insert (3, 1) required_361 := by decide +kernel
28
theorem child_envelope_sub_361 : ∀ j, childrenD_361 j ⊆ envelope_361 := by decide +kernel
29
theorem pivot_mem_361 : (3, 1) ∈ envelope_361 := by decide +kernel
30
theorem children_work_361 : ∀ j, Template HasSnaky 6 (childrenC_361 j) (childrenD_361 j) := by
proof · 5 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_15 2 (3, 0)).mono (by decide +kernel)
  · exact (placed21_template row_works_57 1 (0, 0)).mono (by decide +kernel)
  · exact (placed21_template row_works_360 1 (1, 1)).mono (by decide +kernel)
36
theorem row_works_361 : Template HasSnaky 7 required_361 envelope_361 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_361 childrenD_361 children_work_361 (3, 1)
    required_361 envelope_361 pivot_mem_361 child_required_sub_361 child_envelope_sub_361 ?_
  intro b hb
  exact common_sub_361 (mem_commonEnvelope childrenD_361 b hb)
41
def required_372_i0 : Finset Cell := ⟨(([(1, 1), (1, 2), (1, 3), (1, 4), (2, 1), (3, 1), (4, 2)] : List Cell) : Multiset Cell), by decide +kernel⟩
42
def envelope_372_i0 : Finset Cell := ⟨(([(0, 3), (1, 1), (1, 2), (1, 3), (1, 4), (2, 1), (2, 3), (2, 4), (2, 5), (3, 1), (3, 4), (4, 0), (4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (5, 0), (5, 1), (5, 2), (5, 4), (5, 5), (6, 0), (6, 5)] : List Cell) : Multiset Cell), by decide +kernel⟩
43
def childrenC_372_i0 : Fin 2 → Finset Cell := ![(placed21 1 (0, 1) required_81), (placed21 0 (1, 0) required_351)]
44
def childrenD_372_i0 : Fin 2 → Finset Cell := ![(placed21 1 (0, 1) envelope_81), (placed21 0 (1, 0) envelope_351)]
45
theorem common_sub_372_i0 : commonEnvelope childrenD_372_i0 ⊆ insert (4, 4) required_372_i0 := by decide +kernel
46
theorem child_required_sub_372_i0 : ∀ j, childrenC_372_i0 j ⊆ insert (4, 4) required_372_i0 := by decide +kernel
47
theorem child_envelope_sub_372_i0 : ∀ j, childrenD_372_i0 j ⊆ envelope_372_i0 := by decide +kernel
48
theorem pivot_mem_372_i0 : (4, 4) ∈ envelope_372_i0 := by decide +kernel
49
theorem children_work_372_i0 : ∀ j, Template HasSnaky 5 (childrenC_372_i0 j) (childrenD_372_i0 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_81 1 (0, 1)).mono (by decide +kernel)
  · exact (placed21_template row_works_351 0 (1, 0)).mono (by decide +kernel)
54
theorem row_works_372_i0 : Template HasSnaky 6 required_372_i0 envelope_372_i0 := by
proof · 4 lines
  refine compose HasSnaky 5 childrenC_372_i0 childrenD_372_i0 children_work_372_i0 (4, 4)
    required_372_i0 envelope_372_i0 pivot_mem_372_i0 child_required_sub_372_i0 child_envelope_sub_372_i0 ?_
  intro b hb
  exact common_sub_372_i0 (mem_commonEnvelope childrenD_372_i0 b hb)
59
def required_372 : Finset Cell := ⟨(([(1, 1), (1, 2), (1, 3), (1, 4), (2, 1), (3, 1)] : List Cell) : Multiset Cell), by decide +kernel⟩
60
def envelope_372 : Finset Cell := ⟨(([(0, 0), (0, 1), (0, 3), (1, 1), (1, 2), (1, 3), (1, 4), (2, 1), (2, 3), (2, 4), (2, 5), (3, 1), (3, 2), (3, 4), (4, 0), (4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (5, 0), (5, 1), (5, 2), (5, 4), (5, 5), (6, 0), (6, 5)] : List Cell) : Multiset Cell), by decide +kernel⟩
61
def childrenC_372 : Fin 2 → Finset Cell := ![(placed21 3 (0, 4) required_96), required_372_i0]
62
def childrenD_372 : Fin 2 → Finset Cell := ![(placed21 3 (0, 4) envelope_96), envelope_372_i0]
63
theorem common_sub_372 : commonEnvelope childrenD_372 ⊆ insert (4, 2) required_372 := by decide +kernel
64
theorem child_required_sub_372 : ∀ j, childrenC_372 j ⊆ insert (4, 2) required_372 := by decide +kernel
65
theorem child_envelope_sub_372 : ∀ j, childrenD_372 j ⊆ envelope_372 := by decide +kernel
66
theorem pivot_mem_372 : (4, 2) ∈ envelope_372 := by decide +kernel
67
theorem children_work_372 : ∀ j, Template HasSnaky 6 (childrenC_372 j) (childrenD_372 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_96 3 (0, 4)).mono (by decide +kernel)
  · exact row_works_372_i0.mono (by decide +kernel)
72
theorem row_works_372 : Template HasSnaky 7 required_372 envelope_372 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_372 childrenD_372 children_work_372 (4, 2)
    required_372 envelope_372 pivot_mem_372 child_required_sub_372 child_envelope_sub_372 ?_
  intro b hb
  exact common_sub_372 (mem_commonEnvelope childrenD_372 b hb)
77
def required_379 : Finset Cell := ⟨(([(0, 2), (1, 1), (1, 2), (2, 0), (2, 2)] : List Cell) : Multiset Cell), by decide +kernel⟩
78
def envelope_379 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 1), (1, 2), (2, 0), (2, 1), (2, 2), (2, 4), (2, 5), (2, 6), (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6), (5, 1), (5, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
79
def childrenC_379 : Fin 3 → Finset Cell := ![(placed21 3 (0, 2) required_21), (placed21 1 (0, 1) required_37), required_378]
80
def childrenD_379 : Fin 3 → Finset Cell := ![(placed21 3 (0, 2) envelope_21), (placed21 1 (0, 1) envelope_37), envelope_378]
81
theorem common_sub_379 : commonEnvelope childrenD_379 ⊆ insert (3, 2) required_379 := by decide +kernel
82
theorem child_required_sub_379 : ∀ j, childrenC_379 j ⊆ insert (3, 2) required_379 := by decide +kernel
83
theorem child_envelope_sub_379 : ∀ j, childrenD_379 j ⊆ envelope_379 := by decide +kernel
84
theorem pivot_mem_379 : (3, 2) ∈ envelope_379 := by decide +kernel
85
theorem children_work_379 : ∀ j, Template HasSnaky 6 (childrenC_379 j) (childrenD_379 j) := by
proof · 5 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_21 3 (0, 2)).mono (by decide +kernel)
  · exact (placed21_template row_works_37 1 (0, 1)).mono (by decide +kernel)
  · exact row_works_378.mono (by decide +kernel)
91
theorem row_works_379 : Template HasSnaky 7 required_379 envelope_379 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_379 childrenD_379 children_work_379 (3, 2)
    required_379 envelope_379 pivot_mem_379 child_required_sub_379 child_envelope_sub_379 ?_
  intro b hb
  exact common_sub_379 (mem_commonEnvelope childrenD_379 b hb)
96
def required_385 : Finset Cell := ⟨(([(0, 2), (3, 1), (3, 2), (3, 4)] : List Cell) : Multiset Cell), by decide +kernel⟩
97
def envelope_385 : Finset Cell := ⟨(([(0, 1), (0, 2), (0, 3), (1, 1), (1, 2), (1, 3), (1, 4), (2, 0), (2, 1), (2, 3), (2, 4), (2, 5), (3, 1), (3, 2), (3, 3), (3, 4), (4, 0), (4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (5, 2), (5, 3), (5, 4), (5, 5), (6, 3), (6, 4), (6, 5), (7, 3), (7, 5)] : List Cell) : Multiset Cell), by decide +kernel⟩
98
def childrenC_385 : Fin 2 → Finset Cell := ![(placed21 1 (0, 1) required_115), (placed21 7 (5, 4) required_383)]
99
def childrenD_385 : Fin 2 → Finset Cell := ![(placed21 1 (0, 1) envelope_115), (placed21 7 (5, 4) envelope_383)]
100
theorem common_sub_385 : commonEnvelope childrenD_385 ⊆ insert (3, 3) required_385 := by decide +kernel
101
theorem child_required_sub_385 : ∀ j, childrenC_385 j ⊆ insert (3, 3) required_385 := by decide +kernel
102
theorem child_envelope_sub_385 : ∀ j, childrenD_385 j ⊆ envelope_385 := by decide +kernel
103
theorem pivot_mem_385 : (3, 3) ∈ envelope_385 := by decide +kernel
104
theorem children_work_385 : ∀ j, Template HasSnaky 6 (childrenC_385 j) (childrenD_385 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_115 1 (0, 1)).mono (by decide +kernel)
  · exact (placed21_template row_works_383 7 (5, 4)).mono (by decide +kernel)
109
theorem row_works_385 : Template HasSnaky 7 required_385 envelope_385 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_385 childrenD_385 children_work_385 (3, 3)
    required_385 envelope_385 pivot_mem_385 child_required_sub_385 child_envelope_sub_385 ?_
  intro b hb
  exact common_sub_385 (mem_commonEnvelope childrenD_385 b hb)
114
def required_388 : Finset Cell := ⟨(([(0, 2), (1, 2), (2, 1), (2, 2), (2, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
115
def envelope_388 : Finset Cell := ⟨(([(0, 2), (0, 3), (1, 0), (1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (3, 2), (3, 3), (3, 4), (3, 5), (4, 3), (4, 4), (5, 3), (5, 4)] : List Cell) : Multiset Cell), by decide +kernel⟩
116
def childrenC_388 : Fin 2 → Finset Cell := ![(placed21 2 (2, 0) required_11), (placed21 0 (0, 1) required_387)]
117
def childrenD_388 : Fin 2 → Finset Cell := ![(placed21 2 (2, 0) envelope_11), (placed21 0 (0, 1) envelope_387)]
118
theorem common_sub_388 : commonEnvelope childrenD_388 ⊆ insert (2, 4) required_388 := by decide +kernel
119
theorem child_required_sub_388 : ∀ j, childrenC_388 j ⊆ insert (2, 4) required_388 := by decide +kernel
120
theorem child_envelope_sub_388 : ∀ j, childrenD_388 j ⊆ envelope_388 := by decide +kernel
121
theorem pivot_mem_388 : (2, 4) ∈ envelope_388 := by decide +kernel
122
theorem children_work_388 : ∀ j, Template HasSnaky 6 (childrenC_388 j) (childrenD_388 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_11 2 (2, 0)).mono (by decide +kernel)
  · exact (placed21_template row_works_387 0 (0, 1)).mono (by decide +kernel)
127
theorem row_works_388 : Template HasSnaky 7 required_388 envelope_388 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_388 childrenD_388 children_work_388 (2, 4)
    required_388 envelope_388 pivot_mem_388 child_required_sub_388 child_envelope_sub_388 ?_
  intro b hb
  exact common_sub_388 (mem_commonEnvelope childrenD_388 b hb)
132
def required_394 : Finset Cell := ⟨(([(0, 2), (1, 1), (1, 2), (1, 3), (2, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
133
def envelope_394 : Finset Cell := ⟨(([(0, 2), (0, 3), (0, 5), (0, 6), (0, 7), (1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (2, 0), (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6), (3, 0), (3, 1), (3, 2), (3, 3), (4, 1), (4, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
134
def childrenC_394 : Fin 3 → Finset Cell := ![(placed21 0 (0, 1) required_17), required_241, required_392]
135
def childrenD_394 : Fin 3 → Finset Cell := ![(placed21 0 (0, 1) envelope_17), envelope_241, envelope_392]
136
theorem common_sub_394 : commonEnvelope childrenD_394 ⊆ insert (1, 4) required_394 := by decide +kernel
137
theorem child_required_sub_394 : ∀ j, childrenC_394 j ⊆ insert (1, 4) required_394 := by decide +kernel
138
theorem child_envelope_sub_394 : ∀ j, childrenD_394 j ⊆ envelope_394 := by decide +kernel
139
theorem pivot_mem_394 : (1, 4) ∈ envelope_394 := by decide +kernel
140
theorem children_work_394 : ∀ j, Template HasSnaky 6 (childrenC_394 j) (childrenD_394 j) := by
proof · 5 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_17 0 (0, 1)).mono (by decide +kernel)
  · exact row_works_241.mono (by decide +kernel)
  · exact row_works_392.mono (by decide +kernel)
146
theorem row_works_394 : Template HasSnaky 7 required_394 envelope_394 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_394 childrenD_394 children_work_394 (1, 4)
    required_394 envelope_394 pivot_mem_394 child_required_sub_394 child_envelope_sub_394 ?_
  intro b hb
  exact common_sub_394 (mem_commonEnvelope childrenD_394 b hb)
151
def required_404_i1 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 1), (1, 2), (2, 1), (2, 4)] : List Cell) : Multiset Cell), by decide +kernel⟩
152
def envelope_404_i1 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 1), (1, 2), (2, 1), (2, 2), (2, 3), (2, 4), (3, 0), (3, 1), (3, 2), (3, 3), (4, 0), (4, 1), (4, 2)] : List Cell) : Multiset Cell), by decide +kernel⟩
153
def childrenC_404_i1 : Fin 2 → Finset Cell := ![(placed21 2 (4, 1) required_0), required_354]
154
def childrenD_404_i1 : Fin 2 → Finset Cell := ![(placed21 2 (4, 1) envelope_0), envelope_354]
155
theorem common_sub_404_i1 : commonEnvelope childrenD_404_i1 ⊆ insert (3, 1) required_404_i1 := by decide +kernel
156
theorem child_required_sub_404_i1 : ∀ j, childrenC_404_i1 j ⊆ insert (3, 1) required_404_i1 := by decide +kernel
157
theorem child_envelope_sub_404_i1 : ∀ j, childrenD_404_i1 j ⊆ envelope_404_i1 := by decide +kernel
158
theorem pivot_mem_404_i1 : (3, 1) ∈ envelope_404_i1 := by decide +kernel
159
theorem children_work_404_i1 : ∀ j, Template HasSnaky 4 (childrenC_404_i1 j) (childrenD_404_i1 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_0 2 (4, 1)).mono (by decide +kernel)
  · exact row_works_354.mono (by decide +kernel)
164
theorem row_works_404_i1 : Template HasSnaky 5 required_404_i1 envelope_404_i1 := by
proof · 4 lines
  refine compose HasSnaky 4 childrenC_404_i1 childrenD_404_i1 children_work_404_i1 (3, 1)
    required_404_i1 envelope_404_i1 pivot_mem_404_i1 child_required_sub_404_i1 child_envelope_sub_404_i1 ?_
  intro b hb
  exact common_sub_404_i1 (mem_commonEnvelope childrenD_404_i1 b hb)
169
def required_404_i0 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 1), (1, 2), (1, 3), (1, 4), (2, 4)] : List Cell) : Multiset Cell), by decide +kernel⟩
170
def envelope_404_i0 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 1), (1, 2), (1, 3), (1, 4), (2, 0), (2, 1), (2, 2), (2, 3), (2, 4), (3, 0), (3, 1), (3, 2), (3, 3), (4, 0), (4, 1), (4, 2)] : List Cell) : Multiset Cell), by decide +kernel⟩
171
def childrenC_404_i0 : Fin 2 → Finset Cell := ![(placed21 3 (1, 4) required_5), required_404_i1]
172
def childrenD_404_i0 : Fin 2 → Finset Cell := ![(placed21 3 (1, 4) envelope_5), envelope_404_i1]
173
theorem common_sub_404_i0 : commonEnvelope childrenD_404_i0 ⊆ insert (2, 1) required_404_i0 := by decide +kernel
174
theorem child_required_sub_404_i0 : ∀ j, childrenC_404_i0 j ⊆ insert (2, 1) required_404_i0 := by decide +kernel
175
theorem child_envelope_sub_404_i0 : ∀ j, childrenD_404_i0 j ⊆ envelope_404_i0 := by decide +kernel
176
theorem pivot_mem_404_i0 : (2, 1) ∈ envelope_404_i0 := by decide +kernel
177
theorem children_work_404_i0 : ∀ j, Template HasSnaky 5 (childrenC_404_i0 j) (childrenD_404_i0 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_5 3 (1, 4)).mono (by decide +kernel)
  · exact row_works_404_i1.mono (by decide +kernel)
182
theorem row_works_404_i0 : Template HasSnaky 6 required_404_i0 envelope_404_i0 := by
proof · 4 lines
  refine compose HasSnaky 5 childrenC_404_i0 childrenD_404_i0 children_work_404_i0 (2, 1)
    required_404_i0 envelope_404_i0 pivot_mem_404_i0 child_required_sub_404_i0 child_envelope_sub_404_i0 ?_
  intro b hb
  exact common_sub_404_i0 (mem_commonEnvelope childrenD_404_i0 b hb)
187
def required_404 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 1), (1, 2), (1, 3), (1, 4)] : List Cell) : Multiset Cell), by decide +kernel⟩
188
def envelope_404 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 1), (1, 2), (1, 3), (1, 4), (2, 0), (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (3, 0), (3, 1), (3, 2), (3, 3), (4, 0), (4, 1), (4, 2)] : List Cell) : Multiset Cell), by decide +kernel⟩
189
def childrenC_404 : Fin 2 → Finset Cell := ![(placed21 1 (1, 1) required_5), required_404_i0]
190
def childrenD_404 : Fin 2 → Finset Cell := ![(placed21 1 (1, 1) envelope_5), envelope_404_i0]
191
theorem common_sub_404 : commonEnvelope childrenD_404 ⊆ insert (2, 4) required_404 := by decide +kernel
192
theorem child_required_sub_404 : ∀ j, childrenC_404 j ⊆ insert (2, 4) required_404 := by decide +kernel
193
theorem child_envelope_sub_404 : ∀ j, childrenD_404 j ⊆ envelope_404 := by decide +kernel
194
theorem pivot_mem_404 : (2, 4) ∈ envelope_404 := by decide +kernel
195
theorem children_work_404 : ∀ j, Template HasSnaky 6 (childrenC_404 j) (childrenD_404 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_5 1 (1, 1)).mono (by decide +kernel)
  · exact row_works_404_i0.mono (by decide +kernel)
200
theorem row_works_404 : Template HasSnaky 7 required_404 envelope_404 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_404 childrenD_404 children_work_404 (2, 4)
    required_404 envelope_404 pivot_mem_404 child_required_sub_404 child_envelope_sub_404 ?_
  intro b hb
  exact common_sub_404 (mem_commonEnvelope childrenD_404 b hb)
205
def required_415 : Finset Cell := ⟨(([(0, 2), (1, 2), (3, 1), (4, 1), (4, 2), (4, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
206
def envelope_415 : Finset Cell := ⟨(([(0, 2), (0, 4), (1, 2), (1, 4), (2, 2), (2, 4), (2, 5), (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (4, 0), (4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (5, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
207
def childrenC_415 : Fin 2 → Finset Cell := ![(placed21 4 (0, 2) required_2), (placed21 2 (5, 0) required_414)]
208
def childrenD_415 : Fin 2 → Finset Cell := ![(placed21 4 (0, 2) envelope_2), (placed21 2 (5, 0) envelope_414)]
209
theorem common_sub_415 : commonEnvelope childrenD_415 ⊆ insert (3, 2) required_415 := by decide +kernel
210
theorem child_required_sub_415 : ∀ j, childrenC_415 j ⊆ insert (3, 2) required_415 := by decide +kernel
211
theorem child_envelope_sub_415 : ∀ j, childrenD_415 j ⊆ envelope_415 := by decide +kernel
212
theorem pivot_mem_415 : (3, 2) ∈ envelope_415 := by decide +kernel
213
theorem children_work_415 : ∀ j, Template HasSnaky 6 (childrenC_415 j) (childrenD_415 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_2 4 (0, 2)).mono (by decide +kernel)
  · exact (placed21_template row_works_414 2 (5, 0)).mono (by decide +kernel)
218
theorem row_works_415 : Template HasSnaky 7 required_415 envelope_415 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_415 childrenD_415 children_work_415 (3, 2)
    required_415 envelope_415 pivot_mem_415 child_required_sub_415 child_envelope_sub_415 ?_
  intro b hb
  exact common_sub_415 (mem_commonEnvelope childrenD_415 b hb)
223
def required_418_i2 : Finset Cell := ⟨(([(0, 2), (1, 2), (2, 1), (3, 0), (3, 1), (3, 2), (3, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
224
def envelope_418_i2 : Finset Cell := ⟨(([(0, 2), (1, 2), (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (3, 0), (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (4, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
225
def childrenC_418_i2 : Fin 2 → Finset Cell := ![(placed21 0 (0, 2) required_5), (placed21 2 (3, 0) required_29)]
226
def childrenD_418_i2 : Fin 2 → Finset Cell := ![(placed21 0 (0, 2) envelope_5), (placed21 2 (3, 0) envelope_29)]
227
theorem common_sub_418_i2 : commonEnvelope childrenD_418_i2 ⊆ insert (2, 2) required_418_i2 := by decide +kernel
228
theorem child_required_sub_418_i2 : ∀ j, childrenC_418_i2 j ⊆ insert (2, 2) required_418_i2 := by decide +kernel
229
theorem child_envelope_sub_418_i2 : ∀ j, childrenD_418_i2 j ⊆ envelope_418_i2 := by decide +kernel
230
theorem pivot_mem_418_i2 : (2, 2) ∈ envelope_418_i2 := by decide +kernel
231
theorem children_work_418_i2 : ∀ j, Template HasSnaky 3 (childrenC_418_i2 j) (childrenD_418_i2 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_5 0 (0, 2)).mono (by decide +kernel)
  · exact (placed21_template row_works_29 2 (3, 0)).mono (by decide +kernel)
236
theorem row_works_418_i2 : Template HasSnaky 4 required_418_i2 envelope_418_i2 := by
proof · 4 lines
  refine compose HasSnaky 3 childrenC_418_i2 childrenD_418_i2 children_work_418_i2 (2, 2)
    required_418_i2 envelope_418_i2 pivot_mem_418_i2 child_required_sub_418_i2 child_envelope_sub_418_i2 ?_
  intro b hb
  exact common_sub_418_i2 (mem_commonEnvelope childrenD_418_i2 b hb)
241
def required_418_i1 : Finset Cell := ⟨(([(0, 2), (1, 2), (2, 1), (3, 0), (3, 1), (3, 2)] : List Cell) : Multiset Cell), by decide +kernel⟩
242
def envelope_418_i1 : Finset Cell := ⟨(([(0, 2), (1, 2), (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (3, 0), (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (4, 3), (4, 4), (4, 5), (4, 6)] : List Cell) : Multiset Cell), by decide +kernel⟩
243
def childrenC_418_i1 : Fin 4 → Finset Cell := ![(placed21 1 (2, 0) required_8), (placed21 5 (4, 0) required_25), (placed21 0 (2, 0) required_41), required_418_i2]
244
def childrenD_418_i1 : Fin 4 → Finset Cell := ![(placed21 1 (2, 0) envelope_8), (placed21 5 (4, 0) envelope_25), (placed21 0 (2, 0) envelope_41), envelope_418_i2]
245
theorem common_sub_418_i1 : commonEnvelope childrenD_418_i1 ⊆ insert (3, 3) required_418_i1 := by decide +kernel
246
theorem child_required_sub_418_i1 : ∀ j, childrenC_418_i1 j ⊆ insert (3, 3) required_418_i1 := by decide +kernel
247
theorem child_envelope_sub_418_i1 : ∀ j, childrenD_418_i1 j ⊆ envelope_418_i1 := by decide +kernel
248
theorem pivot_mem_418_i1 : (3, 3) ∈ envelope_418_i1 := by decide +kernel
249
theorem children_work_418_i1 : ∀ j, Template HasSnaky 4 (childrenC_418_i1 j) (childrenD_418_i1 j) := by
proof · 6 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_8 1 (2, 0)).mono (by decide +kernel)
  · exact (placed21_template row_works_25 5 (4, 0)).mono (by decide +kernel)
  · exact (placed21_template row_works_41 0 (2, 0)).mono (by decide +kernel)
  · exact row_works_418_i2.mono (by decide +kernel)
256
theorem row_works_418_i1 : Template HasSnaky 5 required_418_i1 envelope_418_i1 := by
proof · 4 lines
  refine compose HasSnaky 4 childrenC_418_i1 childrenD_418_i1 children_work_418_i1 (3, 3)
    required_418_i1 envelope_418_i1 pivot_mem_418_i1 child_required_sub_418_i1 child_envelope_sub_418_i1 ?_
  intro b hb
  exact common_sub_418_i1 (mem_commonEnvelope childrenD_418_i1 b hb)
261
def required_418_i0 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 1), (1, 2), (2, 1), (3, 0), (3, 1)] : List Cell) : Multiset Cell), by decide +kernel⟩
262
def envelope_418_i0 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 1), (1, 2), (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (3, 0), (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6)] : List Cell) : Multiset Cell), by decide +kernel⟩
263
def childrenC_418_i0 : Fin 2 → Finset Cell := ![(placed21 0 (0, 1) required_5), required_418_i1]
264
def childrenD_418_i0 : Fin 2 → Finset Cell := ![(placed21 0 (0, 1) envelope_5), envelope_418_i1]
265
theorem common_sub_418_i0 : commonEnvelope childrenD_418_i0 ⊆ insert (3, 2) required_418_i0 := by decide +kernel
266
theorem child_required_sub_418_i0 : ∀ j, childrenC_418_i0 j ⊆ insert (3, 2) required_418_i0 := by decide +kernel
267
theorem child_envelope_sub_418_i0 : ∀ j, childrenD_418_i0 j ⊆ envelope_418_i0 := by decide +kernel
268
theorem pivot_mem_418_i0 : (3, 2) ∈ envelope_418_i0 := by decide +kernel
269
theorem children_work_418_i0 : ∀ j, Template HasSnaky 5 (childrenC_418_i0 j) (childrenD_418_i0 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_5 0 (0, 1)).mono (by decide +kernel)
  · exact row_works_418_i1.mono (by decide +kernel)
274
theorem row_works_418_i0 : Template HasSnaky 6 required_418_i0 envelope_418_i0 := by
proof · 4 lines
  refine compose HasSnaky 5 childrenC_418_i0 childrenD_418_i0 children_work_418_i0 (3, 2)
    required_418_i0 envelope_418_i0 pivot_mem_418_i0 child_required_sub_418_i0 child_envelope_sub_418_i0 ?_
  intro b hb
  exact common_sub_418_i0 (mem_commonEnvelope childrenD_418_i0 b hb)
279
def required_418 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 1), (1, 2), (2, 1), (3, 1)] : List Cell) : Multiset Cell), by decide +kernel⟩
280
def envelope_418 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 1), (1, 2), (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (3, 0), (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (4, 0), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6)] : List Cell) : Multiset Cell), by decide +kernel⟩
281
def childrenC_418 : Fin 2 → Finset Cell := ![(placed21 4 (0, 1) required_5), required_418_i0]
282
def childrenD_418 : Fin 2 → Finset Cell := ![(placed21 4 (0, 1) envelope_5), envelope_418_i0]
283
theorem common_sub_418 : commonEnvelope childrenD_418 ⊆ insert (3, 0) required_418 := by decide +kernel
284
theorem child_required_sub_418 : ∀ j, childrenC_418 j ⊆ insert (3, 0) required_418 := by decide +kernel
285
theorem child_envelope_sub_418 : ∀ j, childrenD_418 j ⊆ envelope_418 := by decide +kernel
286
theorem pivot_mem_418 : (3, 0) ∈ envelope_418 := by decide +kernel
287
theorem children_work_418 : ∀ j, Template HasSnaky 6 (childrenC_418 j) (childrenD_418 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_5 4 (0, 1)).mono (by decide +kernel)
  · exact row_works_418_i0.mono (by decide +kernel)
292
theorem row_works_418 : Template HasSnaky 7 required_418 envelope_418 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_418 childrenD_418 children_work_418 (3, 0)
    required_418 envelope_418 pivot_mem_418 child_required_sub_418 child_envelope_sub_418 ?_
  intro b hb
  exact common_sub_418 (mem_commonEnvelope childrenD_418 b hb)
297
def required_422_i0 : Finset Cell := ⟨(([(1, 2), (2, 2), (3, 2), (3, 3), (4, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
298
def envelope_422_i0 : Finset Cell := ⟨(([(0, 3), (0, 4), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (2, 1), (2, 2), (2, 3), (3, 2), (3, 3), (3, 4), (3, 5), (4, 0), (4, 1), (4, 2), (4, 3), (5, 1), (5, 2)] : List Cell) : Multiset Cell), by decide +kernel⟩
299
def childrenC_422_i0 : Fin 2 → Finset Cell := ![(placed21 0 (1, 0) required_69), (placed21 5 (5, 1) required_413)]
300
def childrenD_422_i0 : Fin 2 → Finset Cell := ![(placed21 0 (1, 0) envelope_69), (placed21 5 (5, 1) envelope_413)]
301
theorem common_sub_422_i0 : commonEnvelope childrenD_422_i0 ⊆ insert (4, 2) required_422_i0 := by decide +kernel
302
theorem child_required_sub_422_i0 : ∀ j, childrenC_422_i0 j ⊆ insert (4, 2) required_422_i0 := by decide +kernel
303
theorem child_envelope_sub_422_i0 : ∀ j, childrenD_422_i0 j ⊆ envelope_422_i0 := by decide +kernel
304
theorem pivot_mem_422_i0 : (4, 2) ∈ envelope_422_i0 := by decide +kernel
305
theorem children_work_422_i0 : ∀ j, Template HasSnaky 5 (childrenC_422_i0 j) (childrenD_422_i0 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_69 0 (1, 0)).mono (by decide +kernel)
  · exact (placed21_template row_works_413 5 (5, 1)).mono (by decide +kernel)
310
theorem row_works_422_i0 : Template HasSnaky 6 required_422_i0 envelope_422_i0 := by
proof · 4 lines
  refine compose HasSnaky 5 childrenC_422_i0 childrenD_422_i0 children_work_422_i0 (4, 2)
    required_422_i0 envelope_422_i0 pivot_mem_422_i0 child_required_sub_422_i0 child_envelope_sub_422_i0 ?_
  intro b hb
  exact common_sub_422_i0 (mem_commonEnvelope childrenD_422_i0 b hb)
315
def required_422 : Finset Cell := ⟨(([(1, 2), (3, 2), (3, 3), (4, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
316
def envelope_422 : Finset Cell := ⟨(([(0, 2), (0, 3), (0, 4), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (2, 1), (2, 2), (2, 3), (3, 2), (3, 3), (3, 4), (3, 5), (4, 0), (4, 1), (4, 2), (4, 3), (5, 1), (5, 2)] : List Cell) : Multiset Cell), by decide +kernel⟩
317
def childrenC_422 : Fin 2 → Finset Cell := ![(placed21 0 (0, 2) required_0), required_422_i0]
318
def childrenD_422 : Fin 2 → Finset Cell := ![(placed21 0 (0, 2) envelope_0), envelope_422_i0]
319
theorem common_sub_422 : commonEnvelope childrenD_422 ⊆ insert (2, 2) required_422 := by decide +kernel
320
theorem child_required_sub_422 : ∀ j, childrenC_422 j ⊆ insert (2, 2) required_422 := by decide +kernel
321
theorem child_envelope_sub_422 : ∀ j, childrenD_422 j ⊆ envelope_422 := by decide +kernel
322
theorem pivot_mem_422 : (2, 2) ∈ envelope_422 := by decide +kernel
323
theorem children_work_422 : ∀ j, Template HasSnaky 6 (childrenC_422 j) (childrenD_422 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_0 0 (0, 2)).mono (by decide +kernel)
  · exact row_works_422_i0.mono (by decide +kernel)
328
theorem row_works_422 : Template HasSnaky 7 required_422 envelope_422 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_422 childrenD_422 children_work_422 (2, 2)
    required_422 envelope_422 pivot_mem_422 child_required_sub_422 child_envelope_sub_422 ?_
  intro b hb
  exact common_sub_422 (mem_commonEnvelope childrenD_422 b hb)
333
def required_430 : Finset Cell := ⟨(([(0, 4), (1, 4), (3, 3), (3, 4)] : List Cell) : Multiset Cell), by decide +kernel⟩
334
def envelope_430 : Finset Cell := ⟨(([(0, 4), (0, 6), (1, 4), (1, 6), (2, 0), (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6), (2, 7), (2, 8), (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6), (3, 7), (4, 0), (4, 1), (4, 2), (4, 5), (4, 6), (4, 7), (4, 8), (5, 5)] : List Cell) : Multiset Cell), by decide +kernel⟩
335
def childrenC_430 : Fin 5 → Finset Cell := ![(placed21 4 (2, 7) required_14), (placed21 4 (2, 7) required_31), (placed21 0 (0, 2) required_58), (placed21 4 (0, 6) required_100), (placed21 0 (0, 2) required_429)]
336
def childrenD_430 : Fin 5 → Finset Cell := ![(placed21 4 (2, 7) envelope_14), (placed21 4 (2, 7) envelope_31), (placed21 0 (0, 2) envelope_58), (placed21 4 (0, 6) envelope_100), (placed21 0 (0, 2) envelope_429)]
337
theorem common_sub_430 : commonEnvelope childrenD_430 ⊆ insert (3, 5) required_430 := by decide +kernel
338
theorem child_required_sub_430 : ∀ j, childrenC_430 j ⊆ insert (3, 5) required_430 := by decide +kernel
339
theorem child_envelope_sub_430 : ∀ j, childrenD_430 j ⊆ envelope_430 := by decide +kernel
340
theorem pivot_mem_430 : (3, 5) ∈ envelope_430 := by decide +kernel
341
theorem children_work_430 : ∀ j, Template HasSnaky 6 (childrenC_430 j) (childrenD_430 j) := by
proof · 7 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_14 4 (2, 7)).mono (by decide +kernel)
  · exact (placed21_template row_works_31 4 (2, 7)).mono (by decide +kernel)
  · exact (placed21_template row_works_58 0 (0, 2)).mono (by decide +kernel)
  · exact (placed21_template row_works_100 4 (0, 6)).mono (by decide +kernel)
  · exact (placed21_template row_works_429 0 (0, 2)).mono (by decide +kernel)
349
theorem row_works_430 : Template HasSnaky 7 required_430 envelope_430 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_430 childrenD_430 children_work_430 (3, 5)
    required_430 envelope_430 pivot_mem_430 child_required_sub_430 child_envelope_sub_430 ?_
  intro b hb
  exact common_sub_430 (mem_commonEnvelope childrenD_430 b hb)
354
def required_431 : Finset Cell := ⟨(([(1, 3), (2, 2), (2, 3), (4, 2), (4, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
355
def envelope_431 : Finset Cell := ⟨(([(0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (1, 3), (1, 5), (2, 2), (2, 3), (2, 4), (2, 5), (3, 1), (3, 2), (3, 3), (3, 5), (3, 6), (3, 7), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6), (5, 3), (5, 4), (5, 5), (5, 6), (5, 7), (6, 4)] : List Cell) : Multiset Cell), by decide +kernel⟩
356
def childrenC_431 : Fin 3 → Finset Cell := ![(placed21 7 (5, 4) required_160), (placed21 2 (5, 0) required_243), (placed21 0 (1, 1) required_429)]
357
def childrenD_431 : Fin 3 → Finset Cell := ![(placed21 7 (5, 4) envelope_160), (placed21 2 (5, 0) envelope_243), (placed21 0 (1, 1) envelope_429)]
358
theorem common_sub_431 : commonEnvelope childrenD_431 ⊆ insert (4, 4) required_431 := by decide +kernel
359
theorem child_required_sub_431 : ∀ j, childrenC_431 j ⊆ insert (4, 4) required_431 := by decide +kernel
360
theorem child_envelope_sub_431 : ∀ j, childrenD_431 j ⊆ envelope_431 := by decide +kernel
361
theorem pivot_mem_431 : (4, 4) ∈ envelope_431 := by decide +kernel
362
theorem children_work_431 : ∀ j, Template HasSnaky 6 (childrenC_431 j) (childrenD_431 j) := by
proof · 5 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_160 7 (5, 4)).mono (by decide +kernel)
  · exact (placed21_template row_works_243 2 (5, 0)).mono (by decide +kernel)
  · exact (placed21_template row_works_429 0 (1, 1)).mono (by decide +kernel)
368
theorem row_works_431 : Template HasSnaky 7 required_431 envelope_431 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_431 childrenD_431 children_work_431 (4, 4)
    required_431 envelope_431 pivot_mem_431 child_required_sub_431 child_envelope_sub_431 ?_
  intro b hb
  exact common_sub_431 (mem_commonEnvelope childrenD_431 b hb)
373
def required_436 : Finset Cell := ⟨(([(2, 3), (3, 3), (3, 4)] : List Cell) : Multiset Cell), by decide +kernel⟩
374
def envelope_436 : Finset Cell := ⟨(([(0, 5), (1, 3), (1, 5), (2, 0), (2, 1), (2, 2), (2, 3), (2, 5), (2, 6), (2, 7), (2, 8), (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6), (3, 7), (4, 0), (4, 1), (4, 2), (4, 4), (4, 5), (4, 6), (4, 7), (4, 8), (5, 2), (5, 4), (5, 6), (6, 2), (6, 6)] : List Cell) : Multiset Cell), by decide +kernel⟩
375
def childrenC_436 : Fin 4 → Finset Cell := ![(placed21 0 (2, 2) required_10), (placed21 3 (1, 6) required_47), (placed21 6 (3, 6) required_52), (placed21 5 (6, 2) required_435)]
376
def childrenD_436 : Fin 4 → Finset Cell := ![(placed21 0 (2, 2) envelope_10), (placed21 3 (1, 6) envelope_47), (placed21 6 (3, 6) envelope_52), (placed21 5 (6, 2) envelope_435)]
377
theorem common_sub_436 : commonEnvelope childrenD_436 ⊆ insert (3, 5) required_436 := by decide +kernel
378
theorem child_required_sub_436 : ∀ j, childrenC_436 j ⊆ insert (3, 5) required_436 := by decide +kernel
379
theorem child_envelope_sub_436 : ∀ j, childrenD_436 j ⊆ envelope_436 := by decide +kernel
380
theorem pivot_mem_436 : (3, 5) ∈ envelope_436 := by decide +kernel
381
theorem children_work_436 : ∀ j, Template HasSnaky 6 (childrenC_436 j) (childrenD_436 j) := by
proof · 6 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_10 0 (2, 2)).mono (by decide +kernel)
  · exact (placed21_template row_works_47 3 (1, 6)).mono (by decide +kernel)
  · exact (placed21_template row_works_52 6 (3, 6)).mono (by decide +kernel)
  · exact (placed21_template row_works_435 5 (6, 2)).mono (by decide +kernel)
388
theorem row_works_436 : Template HasSnaky 7 required_436 envelope_436 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_436 childrenD_436 children_work_436 (3, 5)
    required_436 envelope_436 pivot_mem_436 child_required_sub_436 child_envelope_sub_436 ?_
  intro b hb
  exact common_sub_436 (mem_commonEnvelope childrenD_436 b hb)
393
def required_437 : Finset Cell := ⟨(([(2, 3), (3, 3), (3, 5)] : List Cell) : Multiset Cell), by decide +kernel⟩
394
def envelope_437 : Finset Cell := ⟨(([(0, 5), (1, 3), (1, 5), (2, 0), (2, 1), (2, 2), (2, 3), (2, 5), (2, 6), (2, 7), (2, 8), (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6), (3, 7), (4, 0), (4, 1), (4, 2), (4, 4), (4, 5), (4, 6), (4, 7), (4, 8), (5, 2), (5, 4), (5, 6), (6, 2), (6, 6)] : List Cell) : Multiset Cell), by decide +kernel⟩
395
def childrenC_437 : Fin 4 → Finset Cell := ![(placed21 0 (2, 2) required_10), (placed21 3 (1, 6) required_47), (placed21 6 (3, 6) required_52), (placed21 5 (6, 2) required_435)]
396
def childrenD_437 : Fin 4 → Finset Cell := ![(placed21 0 (2, 2) envelope_10), (placed21 3 (1, 6) envelope_47), (placed21 6 (3, 6) envelope_52), (placed21 5 (6, 2) envelope_435)]
397
theorem common_sub_437 : commonEnvelope childrenD_437 ⊆ insert (3, 4) required_437 := by decide +kernel
398
theorem child_required_sub_437 : ∀ j, childrenC_437 j ⊆ insert (3, 4) required_437 := by decide +kernel
399
theorem child_envelope_sub_437 : ∀ j, childrenD_437 j ⊆ envelope_437 := by decide +kernel
400
theorem pivot_mem_437 : (3, 4) ∈ envelope_437 := by decide +kernel
401
theorem children_work_437 : ∀ j, Template HasSnaky 6 (childrenC_437 j) (childrenD_437 j) := by
proof · 6 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_10 0 (2, 2)).mono (by decide +kernel)
  · exact (placed21_template row_works_47 3 (1, 6)).mono (by decide +kernel)
  · exact (placed21_template row_works_52 6 (3, 6)).mono (by decide +kernel)
  · exact (placed21_template row_works_435 5 (6, 2)).mono (by decide +kernel)
408
theorem row_works_437 : Template HasSnaky 7 required_437 envelope_437 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_437 childrenD_437 children_work_437 (3, 4)
    required_437 envelope_437 pivot_mem_437 child_required_sub_437 child_envelope_sub_437 ?_
  intro b hb
  exact common_sub_437 (mem_commonEnvelope childrenD_437 b hb)
413
def required_446_i0 : Finset Cell := ⟨(([(0, 3), (1, 3), (1, 4), (1, 5), (1, 6), (2, 3)] : List Cell) : Multiset Cell), by decide +kernel⟩
414
def envelope_446_i0 : Finset Cell := ⟨(([(0, 3), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (2, 3), (2, 4), (2, 5), (3, 0), (3, 1), (3, 2), (3, 3), (3, 4), (4, 2), (4, 3), (4, 4), (5, 2), (5, 3), (5, 4)] : List Cell) : Multiset Cell), by decide +kernel⟩
415
def childrenC_446_i0 : Fin 2 → Finset Cell := ![(placed21 3 (1, 7) required_0), (placed21 4 (0, 5) required_72)]
416
def childrenD_446_i0 : Fin 2 → Finset Cell := ![(placed21 3 (1, 7) envelope_0), (placed21 4 (0, 5) envelope_72)]
417
theorem common_sub_446_i0 : commonEnvelope childrenD_446_i0 ⊆ insert (2, 4) required_446_i0 := by decide +kernel
418
theorem child_required_sub_446_i0 : ∀ j, childrenC_446_i0 j ⊆ insert (2, 4) required_446_i0 := by decide +kernel
419
theorem child_envelope_sub_446_i0 : ∀ j, childrenD_446_i0 j ⊆ envelope_446_i0 := by decide +kernel
420
theorem pivot_mem_446_i0 : (2, 4) ∈ envelope_446_i0 := by decide +kernel
421
theorem children_work_446_i0 : ∀ j, Template HasSnaky 5 (childrenC_446_i0 j) (childrenD_446_i0 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_0 3 (1, 7)).mono (by decide +kernel)
  · exact (placed21_template row_works_72 4 (0, 5)).mono (by decide +kernel)
426
theorem row_works_446_i0 : Template HasSnaky 6 required_446_i0 envelope_446_i0 := by
proof · 4 lines
  refine compose HasSnaky 5 childrenC_446_i0 childrenD_446_i0 children_work_446_i0 (2, 4)
    required_446_i0 envelope_446_i0 pivot_mem_446_i0 child_required_sub_446_i0 child_envelope_sub_446_i0 ?_
  intro b hb
  exact common_sub_446_i0 (mem_commonEnvelope childrenD_446_i0 b hb)
431
def required_446 : Finset Cell := ⟨(([(0, 3), (1, 3), (1, 4), (1, 5), (1, 6)] : List Cell) : Multiset Cell), by decide +kernel⟩
432
def envelope_446 : Finset Cell := ⟨(([(0, 3), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (2, 2), (2, 3), (2, 4), (2, 5), (3, 0), (3, 1), (3, 2), (3, 3), (3, 4), (4, 2), (4, 3), (4, 4), (5, 2), (5, 3), (5, 4)] : List Cell) : Multiset Cell), by decide +kernel⟩
433
def childrenC_446 : Fin 2 → Finset Cell := ![(placed21 3 (1, 6) required_5), required_446_i0]
434
def childrenD_446 : Fin 2 → Finset Cell := ![(placed21 3 (1, 6) envelope_5), envelope_446_i0]
435
theorem common_sub_446 : commonEnvelope childrenD_446 ⊆ insert (2, 3) required_446 := by decide +kernel
436
theorem child_required_sub_446 : ∀ j, childrenC_446 j ⊆ insert (2, 3) required_446 := by decide +kernel
437
theorem child_envelope_sub_446 : ∀ j, childrenD_446 j ⊆ envelope_446 := by decide +kernel
438
theorem pivot_mem_446 : (2, 3) ∈ envelope_446 := by decide +kernel
439
theorem children_work_446 : ∀ j, Template HasSnaky 6 (childrenC_446 j) (childrenD_446 j) := by
proof · 4 lines
  intro j
  fin_cases j
  · exact (placed21_template row_works_5 3 (1, 6)).mono (by decide +kernel)
  · exact row_works_446_i0.mono (by decide +kernel)
444
theorem row_works_446 : Template HasSnaky 7 required_446 envelope_446 := by
proof · 4 lines
  refine compose HasSnaky 6 childrenC_446 childrenD_446 children_work_446 (2, 3)
    required_446 envelope_446 pivot_mem_446 child_required_sub_446 child_envelope_sub_446 ?_
  intro b hb
  exact common_sub_446 (mem_commonEnvelope childrenD_446 b hb)
449
def height_361 : ℕ := 7
450
def childrenH_361 : Fin 3 → ℕ := ![height_15, height_57, height_360]
451
theorem height_exact_361 : height_361 = 1 + Finset.univ.sup childrenH_361 := by decide +kernel
452
theorem required_origin_361 : ∀ x ∈ required_361,
    (∃ j, x ∈ childrenC_361 j) ∨ ∀ j, x ∈ childrenD_361 j := by decide +kernel
454
theorem required_exact_361 : required_361 =
    ((Finset.univ.biUnion childrenC_361) ∪ commonEnvelope childrenD_361).erase (3, 1) := by
proof · 2 lines
  exact required_eq_combination childrenC_361 childrenD_361 (3, 1) required_361
    (by decide +kernel) child_required_sub_361 common_sub_361 required_origin_361
458
theorem envelope_origin_361 : ∀ x ∈ envelope_361,
    x = (3, 1) ∨ ∃ j, x ∈ childrenD_361 j := by decide +kernel
460
theorem envelope_exact_361 : envelope_361 =
    insert (3, 1) (Finset.univ.biUnion childrenD_361) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_361 (3, 1) envelope_361
    pivot_mem_361 child_envelope_sub_361 envelope_origin_361
464
def checked_361 : CheckedCard where
body · 7 lines
  required := required_361
  envelope := envelope_361
  height := height_361
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_361
472
def height_372_i0 : ℕ := 6
473
def childrenH_372_i0 : Fin 2 → ℕ := ![height_81, height_351]
474
theorem height_exact_372_i0 : height_372_i0 = 1 + Finset.univ.sup childrenH_372_i0 := by decide +kernel
475
theorem required_origin_372_i0 : ∀ x ∈ required_372_i0,
    (∃ j, x ∈ childrenC_372_i0 j) ∨ ∀ j, x ∈ childrenD_372_i0 j := by decide +kernel
477
theorem required_exact_372_i0 : required_372_i0 =
    ((Finset.univ.biUnion childrenC_372_i0) ∪ commonEnvelope childrenD_372_i0).erase (4, 4) := by
proof · 2 lines
  exact required_eq_combination childrenC_372_i0 childrenD_372_i0 (4, 4) required_372_i0
    (by decide +kernel) child_required_sub_372_i0 common_sub_372_i0 required_origin_372_i0
481
theorem envelope_origin_372_i0 : ∀ x ∈ envelope_372_i0,
    x = (4, 4) ∨ ∃ j, x ∈ childrenD_372_i0 j := by decide +kernel
483
theorem envelope_exact_372_i0 : envelope_372_i0 =
    insert (4, 4) (Finset.univ.biUnion childrenD_372_i0) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_372_i0 (4, 4) envelope_372_i0
    pivot_mem_372_i0 child_envelope_sub_372_i0 envelope_origin_372_i0
487
def checked_372_i0 : CheckedCard where
body · 7 lines
  required := required_372_i0
  envelope := envelope_372_i0
  height := height_372_i0
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_372_i0
495
def height_372 : ℕ := 7
496
def childrenH_372 : Fin 2 → ℕ := ![height_96, height_372_i0]
497
theorem height_exact_372 : height_372 = 1 + Finset.univ.sup childrenH_372 := by decide +kernel
498
theorem required_origin_372 : ∀ x ∈ required_372,
    (∃ j, x ∈ childrenC_372 j) ∨ ∀ j, x ∈ childrenD_372 j := by decide +kernel
500
theorem required_exact_372 : required_372 =
    ((Finset.univ.biUnion childrenC_372) ∪ commonEnvelope childrenD_372).erase (4, 2) := by
proof · 2 lines
  exact required_eq_combination childrenC_372 childrenD_372 (4, 2) required_372
    (by decide +kernel) child_required_sub_372 common_sub_372 required_origin_372
504
theorem envelope_origin_372 : ∀ x ∈ envelope_372,
    x = (4, 2) ∨ ∃ j, x ∈ childrenD_372 j := by decide +kernel
506
theorem envelope_exact_372 : envelope_372 =
    insert (4, 2) (Finset.univ.biUnion childrenD_372) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_372 (4, 2) envelope_372
    pivot_mem_372 child_envelope_sub_372 envelope_origin_372
510
def checked_372 : CheckedCard where
body · 7 lines
  required := required_372
  envelope := envelope_372
  height := height_372
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_372
518
def height_379 : ℕ := 7
519
def childrenH_379 : Fin 3 → ℕ := ![height_21, height_37, height_378]
520
theorem height_exact_379 : height_379 = 1 + Finset.univ.sup childrenH_379 := by decide +kernel
521
theorem required_origin_379 : ∀ x ∈ required_379,
    (∃ j, x ∈ childrenC_379 j) ∨ ∀ j, x ∈ childrenD_379 j := by decide +kernel
523
theorem required_exact_379 : required_379 =
    ((Finset.univ.biUnion childrenC_379) ∪ commonEnvelope childrenD_379).erase (3, 2) := by
proof · 2 lines
  exact required_eq_combination childrenC_379 childrenD_379 (3, 2) required_379
    (by decide +kernel) child_required_sub_379 common_sub_379 required_origin_379
527
theorem envelope_origin_379 : ∀ x ∈ envelope_379,
    x = (3, 2) ∨ ∃ j, x ∈ childrenD_379 j := by decide +kernel
529
theorem envelope_exact_379 : envelope_379 =
    insert (3, 2) (Finset.univ.biUnion childrenD_379) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_379 (3, 2) envelope_379
    pivot_mem_379 child_envelope_sub_379 envelope_origin_379
533
def checked_379 : CheckedCard where
body · 7 lines
  required := required_379
  envelope := envelope_379
  height := height_379
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_379
541
def height_385 : ℕ := 7
542
def childrenH_385 : Fin 2 → ℕ := ![height_115, height_383]
543
theorem height_exact_385 : height_385 = 1 + Finset.univ.sup childrenH_385 := by decide +kernel
544
theorem required_origin_385 : ∀ x ∈ required_385,
    (∃ j, x ∈ childrenC_385 j) ∨ ∀ j, x ∈ childrenD_385 j := by decide +kernel
546
theorem required_exact_385 : required_385 =
    ((Finset.univ.biUnion childrenC_385) ∪ commonEnvelope childrenD_385).erase (3, 3) := by
proof · 2 lines
  exact required_eq_combination childrenC_385 childrenD_385 (3, 3) required_385
    (by decide +kernel) child_required_sub_385 common_sub_385 required_origin_385
550
theorem envelope_origin_385 : ∀ x ∈ envelope_385,
    x = (3, 3) ∨ ∃ j, x ∈ childrenD_385 j := by decide +kernel
552
theorem envelope_exact_385 : envelope_385 =
    insert (3, 3) (Finset.univ.biUnion childrenD_385) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_385 (3, 3) envelope_385
    pivot_mem_385 child_envelope_sub_385 envelope_origin_385
556
def checked_385 : CheckedCard where
body · 7 lines
  required := required_385
  envelope := envelope_385
  height := height_385
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_385
564
def height_388 : ℕ := 7
565
def childrenH_388 : Fin 2 → ℕ := ![height_11, height_387]
566
theorem height_exact_388 : height_388 = 1 + Finset.univ.sup childrenH_388 := by decide +kernel
567
theorem required_origin_388 : ∀ x ∈ required_388,
    (∃ j, x ∈ childrenC_388 j) ∨ ∀ j, x ∈ childrenD_388 j := by decide +kernel
569
theorem required_exact_388 : required_388 =
    ((Finset.univ.biUnion childrenC_388) ∪ commonEnvelope childrenD_388).erase (2, 4) := by
proof · 2 lines
  exact required_eq_combination childrenC_388 childrenD_388 (2, 4) required_388
    (by decide +kernel) child_required_sub_388 common_sub_388 required_origin_388
573
theorem envelope_origin_388 : ∀ x ∈ envelope_388,
    x = (2, 4) ∨ ∃ j, x ∈ childrenD_388 j := by decide +kernel
575
theorem envelope_exact_388 : envelope_388 =
    insert (2, 4) (Finset.univ.biUnion childrenD_388) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_388 (2, 4) envelope_388
    pivot_mem_388 child_envelope_sub_388 envelope_origin_388
579
def checked_388 : CheckedCard where
body · 7 lines
  required := required_388
  envelope := envelope_388
  height := height_388
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_388
587
def height_394 : ℕ := 7
588
def childrenH_394 : Fin 3 → ℕ := ![height_17, height_241, height_392]
589
theorem height_exact_394 : height_394 = 1 + Finset.univ.sup childrenH_394 := by decide +kernel
590
theorem required_origin_394 : ∀ x ∈ required_394,
    (∃ j, x ∈ childrenC_394 j) ∨ ∀ j, x ∈ childrenD_394 j := by decide +kernel
592
theorem required_exact_394 : required_394 =
    ((Finset.univ.biUnion childrenC_394) ∪ commonEnvelope childrenD_394).erase (1, 4) := by
proof · 2 lines
  exact required_eq_combination childrenC_394 childrenD_394 (1, 4) required_394
    (by decide +kernel) child_required_sub_394 common_sub_394 required_origin_394
596
theorem envelope_origin_394 : ∀ x ∈ envelope_394,
    x = (1, 4) ∨ ∃ j, x ∈ childrenD_394 j := by decide +kernel
598
theorem envelope_exact_394 : envelope_394 =
    insert (1, 4) (Finset.univ.biUnion childrenD_394) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_394 (1, 4) envelope_394
    pivot_mem_394 child_envelope_sub_394 envelope_origin_394
602
def checked_394 : CheckedCard where
body · 7 lines
  required := required_394
  envelope := envelope_394
  height := height_394
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_394
610
def height_404_i1 : ℕ := 5
611
def childrenH_404_i1 : Fin 2 → ℕ := ![height_0, height_354]
612
theorem height_exact_404_i1 : height_404_i1 = 1 + Finset.univ.sup childrenH_404_i1 := by decide +kernel
613
theorem required_origin_404_i1 : ∀ x ∈ required_404_i1,
    (∃ j, x ∈ childrenC_404_i1 j) ∨ ∀ j, x ∈ childrenD_404_i1 j := by decide +kernel
615
theorem required_exact_404_i1 : required_404_i1 =
    ((Finset.univ.biUnion childrenC_404_i1) ∪ commonEnvelope childrenD_404_i1).erase (3, 1) := by
proof · 2 lines
  exact required_eq_combination childrenC_404_i1 childrenD_404_i1 (3, 1) required_404_i1
    (by decide +kernel) child_required_sub_404_i1 common_sub_404_i1 required_origin_404_i1
619
theorem envelope_origin_404_i1 : ∀ x ∈ envelope_404_i1,
    x = (3, 1) ∨ ∃ j, x ∈ childrenD_404_i1 j := by decide +kernel
621
theorem envelope_exact_404_i1 : envelope_404_i1 =
    insert (3, 1) (Finset.univ.biUnion childrenD_404_i1) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_404_i1 (3, 1) envelope_404_i1
    pivot_mem_404_i1 child_envelope_sub_404_i1 envelope_origin_404_i1
625
def checked_404_i1 : CheckedCard where
body · 7 lines
  required := required_404_i1
  envelope := envelope_404_i1
  height := height_404_i1
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_404_i1
633
def height_404_i0 : ℕ := 6
634
def childrenH_404_i0 : Fin 2 → ℕ := ![height_5, height_404_i1]
635
theorem height_exact_404_i0 : height_404_i0 = 1 + Finset.univ.sup childrenH_404_i0 := by decide +kernel
636
theorem required_origin_404_i0 : ∀ x ∈ required_404_i0,
    (∃ j, x ∈ childrenC_404_i0 j) ∨ ∀ j, x ∈ childrenD_404_i0 j := by decide +kernel
638
theorem required_exact_404_i0 : required_404_i0 =
    ((Finset.univ.biUnion childrenC_404_i0) ∪ commonEnvelope childrenD_404_i0).erase (2, 1) := by
proof · 2 lines
  exact required_eq_combination childrenC_404_i0 childrenD_404_i0 (2, 1) required_404_i0
    (by decide +kernel) child_required_sub_404_i0 common_sub_404_i0 required_origin_404_i0
642
theorem envelope_origin_404_i0 : ∀ x ∈ envelope_404_i0,
    x = (2, 1) ∨ ∃ j, x ∈ childrenD_404_i0 j := by decide +kernel
644
theorem envelope_exact_404_i0 : envelope_404_i0 =
    insert (2, 1) (Finset.univ.biUnion childrenD_404_i0) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_404_i0 (2, 1) envelope_404_i0
    pivot_mem_404_i0 child_envelope_sub_404_i0 envelope_origin_404_i0
648
def checked_404_i0 : CheckedCard where
body · 7 lines
  required := required_404_i0
  envelope := envelope_404_i0
  height := height_404_i0
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_404_i0
656
def height_404 : ℕ := 7
657
def childrenH_404 : Fin 2 → ℕ := ![height_5, height_404_i0]
658
theorem height_exact_404 : height_404 = 1 + Finset.univ.sup childrenH_404 := by decide +kernel
659
theorem required_origin_404 : ∀ x ∈ required_404,
    (∃ j, x ∈ childrenC_404 j) ∨ ∀ j, x ∈ childrenD_404 j := by decide +kernel
661
theorem required_exact_404 : required_404 =
    ((Finset.univ.biUnion childrenC_404) ∪ commonEnvelope childrenD_404).erase (2, 4) := by
proof · 2 lines
  exact required_eq_combination childrenC_404 childrenD_404 (2, 4) required_404
    (by decide +kernel) child_required_sub_404 common_sub_404 required_origin_404
665
theorem envelope_origin_404 : ∀ x ∈ envelope_404,
    x = (2, 4) ∨ ∃ j, x ∈ childrenD_404 j := by decide +kernel
667
theorem envelope_exact_404 : envelope_404 =
    insert (2, 4) (Finset.univ.biUnion childrenD_404) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_404 (2, 4) envelope_404
    pivot_mem_404 child_envelope_sub_404 envelope_origin_404
671
def checked_404 : CheckedCard where
body · 7 lines
  required := required_404
  envelope := envelope_404
  height := height_404
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_404
679
def height_415 : ℕ := 7
680
def childrenH_415 : Fin 2 → ℕ := ![height_2, height_414]
681
theorem height_exact_415 : height_415 = 1 + Finset.univ.sup childrenH_415 := by decide +kernel
682
theorem required_origin_415 : ∀ x ∈ required_415,
    (∃ j, x ∈ childrenC_415 j) ∨ ∀ j, x ∈ childrenD_415 j := by decide +kernel
684
theorem required_exact_415 : required_415 =
    ((Finset.univ.biUnion childrenC_415) ∪ commonEnvelope childrenD_415).erase (3, 2) := by
proof · 2 lines
  exact required_eq_combination childrenC_415 childrenD_415 (3, 2) required_415
    (by decide +kernel) child_required_sub_415 common_sub_415 required_origin_415
688
theorem envelope_origin_415 : ∀ x ∈ envelope_415,
    x = (3, 2) ∨ ∃ j, x ∈ childrenD_415 j := by decide +kernel
690
theorem envelope_exact_415 : envelope_415 =
    insert (3, 2) (Finset.univ.biUnion childrenD_415) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_415 (3, 2) envelope_415
    pivot_mem_415 child_envelope_sub_415 envelope_origin_415
694
def checked_415 : CheckedCard where
body · 7 lines
  required := required_415
  envelope := envelope_415
  height := height_415
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_415
702
def height_418_i2 : ℕ := 4
703
def childrenH_418_i2 : Fin 2 → ℕ := ![height_5, height_29]
704
theorem height_exact_418_i2 : height_418_i2 = 1 + Finset.univ.sup childrenH_418_i2 := by decide +kernel
705
theorem required_origin_418_i2 : ∀ x ∈ required_418_i2,
    (∃ j, x ∈ childrenC_418_i2 j) ∨ ∀ j, x ∈ childrenD_418_i2 j := by decide +kernel
707
theorem required_exact_418_i2 : required_418_i2 =
    ((Finset.univ.biUnion childrenC_418_i2) ∪ commonEnvelope childrenD_418_i2).erase (2, 2) := by
proof · 2 lines
  exact required_eq_combination childrenC_418_i2 childrenD_418_i2 (2, 2) required_418_i2
    (by decide +kernel) child_required_sub_418_i2 common_sub_418_i2 required_origin_418_i2
711
theorem envelope_origin_418_i2 : ∀ x ∈ envelope_418_i2,
    x = (2, 2) ∨ ∃ j, x ∈ childrenD_418_i2 j := by decide +kernel
713
theorem envelope_exact_418_i2 : envelope_418_i2 =
    insert (2, 2) (Finset.univ.biUnion childrenD_418_i2) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_418_i2 (2, 2) envelope_418_i2
    pivot_mem_418_i2 child_envelope_sub_418_i2 envelope_origin_418_i2
717
def checked_418_i2 : CheckedCard where
body · 7 lines
  required := required_418_i2
  envelope := envelope_418_i2
  height := height_418_i2
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_418_i2
725
def height_418_i1 : ℕ := 5
726
def childrenH_418_i1 : Fin 4 → ℕ := ![height_8, height_25, height_41, height_418_i2]
727
theorem height_exact_418_i1 : height_418_i1 = 1 + Finset.univ.sup childrenH_418_i1 := by decide +kernel
728
theorem required_origin_418_i1 : ∀ x ∈ required_418_i1,
    (∃ j, x ∈ childrenC_418_i1 j) ∨ ∀ j, x ∈ childrenD_418_i1 j := by decide +kernel
730
theorem required_exact_418_i1 : required_418_i1 =
    ((Finset.univ.biUnion childrenC_418_i1) ∪ commonEnvelope childrenD_418_i1).erase (3, 3) := by
proof · 2 lines
  exact required_eq_combination childrenC_418_i1 childrenD_418_i1 (3, 3) required_418_i1
    (by decide +kernel) child_required_sub_418_i1 common_sub_418_i1 required_origin_418_i1
734
theorem envelope_origin_418_i1 : ∀ x ∈ envelope_418_i1,
    x = (3, 3) ∨ ∃ j, x ∈ childrenD_418_i1 j := by decide +kernel
736
theorem envelope_exact_418_i1 : envelope_418_i1 =
    insert (3, 3) (Finset.univ.biUnion childrenD_418_i1) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_418_i1 (3, 3) envelope_418_i1
    pivot_mem_418_i1 child_envelope_sub_418_i1 envelope_origin_418_i1
740
def checked_418_i1 : CheckedCard where
body · 7 lines
  required := required_418_i1
  envelope := envelope_418_i1
  height := height_418_i1
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_418_i1
748
def height_418_i0 : ℕ := 6
749
def childrenH_418_i0 : Fin 2 → ℕ := ![height_5, height_418_i1]
750
theorem height_exact_418_i0 : height_418_i0 = 1 + Finset.univ.sup childrenH_418_i0 := by decide +kernel
751
theorem required_origin_418_i0 : ∀ x ∈ required_418_i0,
    (∃ j, x ∈ childrenC_418_i0 j) ∨ ∀ j, x ∈ childrenD_418_i0 j := by decide +kernel
753
theorem required_exact_418_i0 : required_418_i0 =
    ((Finset.univ.biUnion childrenC_418_i0) ∪ commonEnvelope childrenD_418_i0).erase (3, 2) := by
proof · 2 lines
  exact required_eq_combination childrenC_418_i0 childrenD_418_i0 (3, 2) required_418_i0
    (by decide +kernel) child_required_sub_418_i0 common_sub_418_i0 required_origin_418_i0
757
theorem envelope_origin_418_i0 : ∀ x ∈ envelope_418_i0,
    x = (3, 2) ∨ ∃ j, x ∈ childrenD_418_i0 j := by decide +kernel
759
theorem envelope_exact_418_i0 : envelope_418_i0 =
    insert (3, 2) (Finset.univ.biUnion childrenD_418_i0) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_418_i0 (3, 2) envelope_418_i0
    pivot_mem_418_i0 child_envelope_sub_418_i0 envelope_origin_418_i0
763
def checked_418_i0 : CheckedCard where
body · 7 lines
  required := required_418_i0
  envelope := envelope_418_i0
  height := height_418_i0
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_418_i0
771
def height_418 : ℕ := 7
772
def childrenH_418 : Fin 2 → ℕ := ![height_5, height_418_i0]
773
theorem height_exact_418 : height_418 = 1 + Finset.univ.sup childrenH_418 := by decide +kernel
774
theorem required_origin_418 : ∀ x ∈ required_418,
    (∃ j, x ∈ childrenC_418 j) ∨ ∀ j, x ∈ childrenD_418 j := by decide +kernel
776
theorem required_exact_418 : required_418 =
    ((Finset.univ.biUnion childrenC_418) ∪ commonEnvelope childrenD_418).erase (3, 0) := by
proof · 2 lines
  exact required_eq_combination childrenC_418 childrenD_418 (3, 0) required_418
    (by decide +kernel) child_required_sub_418 common_sub_418 required_origin_418
780
theorem envelope_origin_418 : ∀ x ∈ envelope_418,
    x = (3, 0) ∨ ∃ j, x ∈ childrenD_418 j := by decide +kernel
782
theorem envelope_exact_418 : envelope_418 =
    insert (3, 0) (Finset.univ.biUnion childrenD_418) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_418 (3, 0) envelope_418
    pivot_mem_418 child_envelope_sub_418 envelope_origin_418
786
def checked_418 : CheckedCard where
body · 7 lines
  required := required_418
  envelope := envelope_418
  height := height_418
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_418
794
def height_422_i0 : ℕ := 6
795
def childrenH_422_i0 : Fin 2 → ℕ := ![height_69, height_413]
796
theorem height_exact_422_i0 : height_422_i0 = 1 + Finset.univ.sup childrenH_422_i0 := by decide +kernel
797
theorem required_origin_422_i0 : ∀ x ∈ required_422_i0,
    (∃ j, x ∈ childrenC_422_i0 j) ∨ ∀ j, x ∈ childrenD_422_i0 j := by decide +kernel
799
theorem required_exact_422_i0 : required_422_i0 =
    ((Finset.univ.biUnion childrenC_422_i0) ∪ commonEnvelope childrenD_422_i0).erase (4, 2) := by
proof · 2 lines
  exact required_eq_combination childrenC_422_i0 childrenD_422_i0 (4, 2) required_422_i0
    (by decide +kernel) child_required_sub_422_i0 common_sub_422_i0 required_origin_422_i0
803
theorem envelope_origin_422_i0 : ∀ x ∈ envelope_422_i0,
    x = (4, 2) ∨ ∃ j, x ∈ childrenD_422_i0 j := by decide +kernel
805
theorem envelope_exact_422_i0 : envelope_422_i0 =
    insert (4, 2) (Finset.univ.biUnion childrenD_422_i0) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_422_i0 (4, 2) envelope_422_i0
    pivot_mem_422_i0 child_envelope_sub_422_i0 envelope_origin_422_i0
809
def checked_422_i0 : CheckedCard where
body · 7 lines
  required := required_422_i0
  envelope := envelope_422_i0
  height := height_422_i0
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_422_i0
817
def height_422 : ℕ := 7
818
def childrenH_422 : Fin 2 → ℕ := ![height_0, height_422_i0]
819
theorem height_exact_422 : height_422 = 1 + Finset.univ.sup childrenH_422 := by decide +kernel
820
theorem required_origin_422 : ∀ x ∈ required_422,
    (∃ j, x ∈ childrenC_422 j) ∨ ∀ j, x ∈ childrenD_422 j := by decide +kernel
822
theorem required_exact_422 : required_422 =
    ((Finset.univ.biUnion childrenC_422) ∪ commonEnvelope childrenD_422).erase (2, 2) := by
proof · 2 lines
  exact required_eq_combination childrenC_422 childrenD_422 (2, 2) required_422
    (by decide +kernel) child_required_sub_422 common_sub_422 required_origin_422
826
theorem envelope_origin_422 : ∀ x ∈ envelope_422,
    x = (2, 2) ∨ ∃ j, x ∈ childrenD_422 j := by decide +kernel
828
theorem envelope_exact_422 : envelope_422 =
    insert (2, 2) (Finset.univ.biUnion childrenD_422) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_422 (2, 2) envelope_422
    pivot_mem_422 child_envelope_sub_422 envelope_origin_422
832
def checked_422 : CheckedCard where
body · 7 lines
  required := required_422
  envelope := envelope_422
  height := height_422
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_422
840
def height_430 : ℕ := 7
841
def childrenH_430 : Fin 5 → ℕ := ![height_14, height_31, height_58, height_100, height_429]
842
theorem height_exact_430 : height_430 = 1 + Finset.univ.sup childrenH_430 := by decide +kernel
843
theorem required_origin_430 : ∀ x ∈ required_430,
    (∃ j, x ∈ childrenC_430 j) ∨ ∀ j, x ∈ childrenD_430 j := by decide +kernel
845
theorem required_exact_430 : required_430 =
    ((Finset.univ.biUnion childrenC_430) ∪ commonEnvelope childrenD_430).erase (3, 5) := by
proof · 2 lines
  exact required_eq_combination childrenC_430 childrenD_430 (3, 5) required_430
    (by decide +kernel) child_required_sub_430 common_sub_430 required_origin_430
849
theorem envelope_origin_430 : ∀ x ∈ envelope_430,
    x = (3, 5) ∨ ∃ j, x ∈ childrenD_430 j := by decide +kernel
851
theorem envelope_exact_430 : envelope_430 =
    insert (3, 5) (Finset.univ.biUnion childrenD_430) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_430 (3, 5) envelope_430
    pivot_mem_430 child_envelope_sub_430 envelope_origin_430
855
def checked_430 : CheckedCard where
body · 7 lines
  required := required_430
  envelope := envelope_430
  height := height_430
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_430
863
def height_431 : ℕ := 7
864
def childrenH_431 : Fin 3 → ℕ := ![height_160, height_243, height_429]
865
theorem height_exact_431 : height_431 = 1 + Finset.univ.sup childrenH_431 := by decide +kernel
866
theorem required_origin_431 : ∀ x ∈ required_431,
    (∃ j, x ∈ childrenC_431 j) ∨ ∀ j, x ∈ childrenD_431 j := by decide +kernel
868
theorem required_exact_431 : required_431 =
    ((Finset.univ.biUnion childrenC_431) ∪ commonEnvelope childrenD_431).erase (4, 4) := by
proof · 2 lines
  exact required_eq_combination childrenC_431 childrenD_431 (4, 4) required_431
    (by decide +kernel) child_required_sub_431 common_sub_431 required_origin_431
872
theorem envelope_origin_431 : ∀ x ∈ envelope_431,
    x = (4, 4) ∨ ∃ j, x ∈ childrenD_431 j := by decide +kernel
874
theorem envelope_exact_431 : envelope_431 =
    insert (4, 4) (Finset.univ.biUnion childrenD_431) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_431 (4, 4) envelope_431
    pivot_mem_431 child_envelope_sub_431 envelope_origin_431
878
def checked_431 : CheckedCard where
body · 7 lines
  required := required_431
  envelope := envelope_431
  height := height_431
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_431
886
def height_436 : ℕ := 7
887
def childrenH_436 : Fin 4 → ℕ := ![height_10, height_47, height_52, height_435]
888
theorem height_exact_436 : height_436 = 1 + Finset.univ.sup childrenH_436 := by decide +kernel
889
theorem required_origin_436 : ∀ x ∈ required_436,
    (∃ j, x ∈ childrenC_436 j) ∨ ∀ j, x ∈ childrenD_436 j := by decide +kernel
891
theorem required_exact_436 : required_436 =
    ((Finset.univ.biUnion childrenC_436) ∪ commonEnvelope childrenD_436).erase (3, 5) := by
proof · 2 lines
  exact required_eq_combination childrenC_436 childrenD_436 (3, 5) required_436
    (by decide +kernel) child_required_sub_436 common_sub_436 required_origin_436
895
theorem envelope_origin_436 : ∀ x ∈ envelope_436,
    x = (3, 5) ∨ ∃ j, x ∈ childrenD_436 j := by decide +kernel
897
theorem envelope_exact_436 : envelope_436 =
    insert (3, 5) (Finset.univ.biUnion childrenD_436) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_436 (3, 5) envelope_436
    pivot_mem_436 child_envelope_sub_436 envelope_origin_436
901
def checked_436 : CheckedCard where
body · 7 lines
  required := required_436
  envelope := envelope_436
  height := height_436
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_436
909
def height_437 : ℕ := 7
910
def childrenH_437 : Fin 4 → ℕ := ![height_10, height_47, height_52, height_435]
911
theorem height_exact_437 : height_437 = 1 + Finset.univ.sup childrenH_437 := by decide +kernel
912
theorem required_origin_437 : ∀ x ∈ required_437,
    (∃ j, x ∈ childrenC_437 j) ∨ ∀ j, x ∈ childrenD_437 j := by decide +kernel
914
theorem required_exact_437 : required_437 =
    ((Finset.univ.biUnion childrenC_437) ∪ commonEnvelope childrenD_437).erase (3, 4) := by
proof · 2 lines
  exact required_eq_combination childrenC_437 childrenD_437 (3, 4) required_437
    (by decide +kernel) child_required_sub_437 common_sub_437 required_origin_437
918
theorem envelope_origin_437 : ∀ x ∈ envelope_437,
    x = (3, 4) ∨ ∃ j, x ∈ childrenD_437 j := by decide +kernel
920
theorem envelope_exact_437 : envelope_437 =
    insert (3, 4) (Finset.univ.biUnion childrenD_437) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_437 (3, 4) envelope_437
    pivot_mem_437 child_envelope_sub_437 envelope_origin_437
924
def checked_437 : CheckedCard where
body · 7 lines
  required := required_437
  envelope := envelope_437
  height := height_437
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_437
932
def height_446_i0 : ℕ := 6
933
def childrenH_446_i0 : Fin 2 → ℕ := ![height_0, height_72]
934
theorem height_exact_446_i0 : height_446_i0 = 1 + Finset.univ.sup childrenH_446_i0 := by decide +kernel
935
theorem required_origin_446_i0 : ∀ x ∈ required_446_i0,
    (∃ j, x ∈ childrenC_446_i0 j) ∨ ∀ j, x ∈ childrenD_446_i0 j := by decide +kernel
937
theorem required_exact_446_i0 : required_446_i0 =
    ((Finset.univ.biUnion childrenC_446_i0) ∪ commonEnvelope childrenD_446_i0).erase (2, 4) := by
proof · 2 lines
  exact required_eq_combination childrenC_446_i0 childrenD_446_i0 (2, 4) required_446_i0
    (by decide +kernel) child_required_sub_446_i0 common_sub_446_i0 required_origin_446_i0
941
theorem envelope_origin_446_i0 : ∀ x ∈ envelope_446_i0,
    x = (2, 4) ∨ ∃ j, x ∈ childrenD_446_i0 j := by decide +kernel
943
theorem envelope_exact_446_i0 : envelope_446_i0 =
    insert (2, 4) (Finset.univ.biUnion childrenD_446_i0) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_446_i0 (2, 4) envelope_446_i0
    pivot_mem_446_i0 child_envelope_sub_446_i0 envelope_origin_446_i0
947
def checked_446_i0 : CheckedCard where
body · 7 lines
  required := required_446_i0
  envelope := envelope_446_i0
  height := height_446_i0
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_446_i0
955
def height_446 : ℕ := 7
956
def childrenH_446 : Fin 2 → ℕ := ![height_5, height_446_i0]
957
theorem height_exact_446 : height_446 = 1 + Finset.univ.sup childrenH_446 := by decide +kernel
958
theorem required_origin_446 : ∀ x ∈ required_446,
    (∃ j, x ∈ childrenC_446 j) ∨ ∀ j, x ∈ childrenD_446 j := by decide +kernel
960
theorem required_exact_446 : required_446 =
    ((Finset.univ.biUnion childrenC_446) ∪ commonEnvelope childrenD_446).erase (2, 3) := by
proof · 2 lines
  exact required_eq_combination childrenC_446 childrenD_446 (2, 3) required_446
    (by decide +kernel) child_required_sub_446 common_sub_446 required_origin_446
964
theorem envelope_origin_446 : ∀ x ∈ envelope_446,
    x = (2, 3) ∨ ∃ j, x ∈ childrenD_446 j := by decide +kernel
966
theorem envelope_exact_446 : envelope_446 =
    insert (2, 3) (Finset.univ.biUnion childrenD_446) := by
proof · 2 lines
  exact envelope_eq_combination childrenD_446 (2, 3) envelope_446
    pivot_mem_446 child_envelope_sub_446 envelope_origin_446
970
def checked_446 : CheckedCard where
body · 7 lines
  required := required_446
  envelope := envelope_446
  height := height_446
  required_sub_envelope := by decide +kernel
  height_positive := by decide +kernel
  height_le_twenty_one := by decide +kernel
  works := row_works_446

Xet Storage Details

Size:
69.7 kB
·
Xet hash:
277f0b05215f919f21bd397ff39e815134a6ac189494565d24cc2df9fa05579f

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