OAI/Computability/WLIdentification/GlobalSolvability.lean
37 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.WLIdentification.ComparisonSchemas.Avoidsline 12Source documentation
Cut an unused middle link on each private wire. End links need never be removed: the private interior alone is longer than any small support.
def Avoids (n : ℕ) (U : Finset (S.layout n).Block) (cut : E → Fin n) : Prop := …
- theorem
OAI.WLIdentification.ComparisonSchemas.exists_cutsline 15 - def
OAI.WLIdentification.ComparisonSchemas.rootline 37 - def
OAI.WLIdentification.ComparisonSchemas.onLeftline 41 - instance
OAI.WLIdentification.ComparisonSchemas.(instance at line 44)line 44 - theorem
OAI.WLIdentification.ComparisonSchemas.cut_middleline 47 - theorem
OAI.WLIdentification.ComparisonSchemas.root_linkline 53 - theorem
OAI.WLIdentification.ComparisonSchemas.binary_extensionline 72Source documentation
Every injective partial binary coordinate map extends to a permutation. This lemma preserves singleton domains rather than silently enlarging them.
theorem binary_extension (A : Finset Bool) (hA : A.Nonempty) (f : {a // a ∈ A} → Bool) (hf : Function.Injective f) : ∃ p : Equiv.Perm Bool, ∀ a, p a.val = f a := by … - def
OAI.WLIdentification.ComparisonSchemas.permutationline 100 - theorem
OAI.WLIdentification.ComparisonSchemas.permutation_applyline 104 - def
OAI.WLIdentification.ComparisonSchemas.alignline 109 - theorem
OAI.WLIdentification.ComparisonSchemas.align_linkline 113 - theorem
OAI.WLIdentification.RingLayout.vertical_usedLinkline 139 - abbrev
OAI.WLIdentification.RingLayout.Shiftline 150 - abbrev
OAI.WLIdentification.RingLayout.Potentialline 151 - def
OAI.WLIdentification.RingLayout.potentialHorizontalline 153 - def
OAI.WLIdentification.RingLayout.potentialVerticalline 156 - def
OAI.WLIdentification.RingLayout.translationline 160 - theorem
OAI.WLIdentification.RingLayout.translation_squareline 165Source documentation
The potential terms cancel on every square, leaving only its row marker multiplied by the affine link-shift equation.
theorem translation_square (h : R.Shift) (M : R.Potential) (b : R.Square) : R.firstForm b.1 (R.horizontal (R.translation h M) (R.leftH b)) + R.secondForm b.1 (R.horizontal (R.translation h M) (R.rightH b)) + R.vertical (R.translation h M) (R.topV b) + R.vertical (R.translation h M) (R.bottomV b) = Marker.delta b.2.1 * (R.firstForm b.1 (h (R.first b.1)) + R.secondForm b.1 (h (R.second b.1))) := by …Mentions: OAI.WLIdentification.Marker.delta
- theorem
OAI.WLIdentification.ComparisonSchemas.align_alignedline 186 - theorem
OAI.WLIdentification.ComparisonSchemas.root_edgeline 191 - theorem
OAI.WLIdentification.ComparisonSchemas.root_reachableline 204 - abbrev
OAI.WLIdentification.ComparisonSchemas.RealShiftline 213 - def
OAI.WLIdentification.ComparisonSchemas.linkConstantline 215 - def
OAI.WLIdentification.ComparisonSchemas.specialTwistline 220 - def
OAI.WLIdentification.ComparisonSchemas.starShiftline 226Source documentation
Completing the cut layout to rooted stars gives a uniform affine shift. The real vectors may be arbitrary; internal values are constant on each arm.
def starShift (n : ℕ) (cut : E → Fin n) (b : E → Bit) (q : S.RealShift) : (S.layout n).Shift | .inl p => q p | .inr (e, i) => fun _ => if S.onLeft n cut e i then S.left e (q (S.source e)) else b e + S.right e (q (S.target e))Mentions: OAI.WLIdentification.Bit
- theorem
OAI.WLIdentification.ComparisonSchemas.starShift_linkline 231 - theorem
OAI.WLIdentification.ComparisonSchemas.translation_legalline 256 - def
OAI.WLIdentification.RingLayout.coordinateNameline 281 - theorem
OAI.WLIdentification.RingLayout.coordinate_name_memline 285 - theorem
OAI.WLIdentification.RingLayout.cornerMarker_symmline 304 - theorem
OAI.WLIdentification.RingLayout.nonwrapping_exactline 319 - theorem
OAI.WLIdentification.RingLayout.adjust_potentialline 335Source documentation
On a nonwrapping support any two shifts with the same affine link equations induce the same offset family after a potential adjustment.
theorem adjust_potential (hr : 3 ≤ r) {U : Finset R.Block} (hw : ¬R.Wrapping (by omega) U) (old new : R.Shift) (M : R.Potential) (he : ∀ l ∈ R.usedLinks U, R.firstForm l (old (R.first l)) + R.secondForm l (old (R.second l)) = R.firstForm l (new (R.first l)) + R.secondForm l (new (R.second l))) : ∃ N : R.Potential, ∀ b ∈ U, ∀ c ∈ R.coordinates b, R.translation new N c = R.translation old M c := by … - def
OAI.WLIdentification.ComparisonSchemas.GoodAddressline 382 - theorem
OAI.WLIdentification.ComparisonSchemas.goodAddress_existsline 387 - theorem
OAI.WLIdentification.ComparisonSchemas.avoids_monoline 403 - theorem
OAI.WLIdentification.ComparisonSchemas.goodAddress_monoline 409