OAI/RingTheory/DirectFiniteness/PrescribedSearch.lean
17 declarations, 0 contain sorry, 0 declared as axioms
- abbrev
OAI.KaplanskyCounterexample.Prescription.Affineline 9 - abbrev
OAI.KaplanskyCounterexample.Prescription.Pairline 10 - def
OAI.KaplanskyCounterexample.Prescription.pairOrderline 15Source documentation
Coordinate-lex order, then indicator order for points and lines, then indicator order for families, finally lexicographic order of the pair. Discarding the non-full-line candidates does not change relative order.
@[instance_reducible] def pairOrder (h : Input) : LinearOrder (Pair h) := …
Mentions: OAI.KaplanskyCounterexample.Prescription.Input, OAI.KaplanskyCounterexample.Prescription.Pair
- def
OAI.KaplanskyCounterexample.Prescription.Testline 21 - def
OAI.KaplanskyCounterexample.Prescription.Succeedsline 24 - lemma
OAI.KaplanskyCounterexample.Prescription.succeeds217line 26 - def
OAI.KaplanskyCounterexample.Prescription.selectedHline 41Source documentation
The exact least successful outer input, not the convenient existence bound 217.
def selectedH : ℕ := Nat.find (show ∃ h, Succeeds h from ⟨217,succeeds217⟩)
Mentions: OAI.KaplanskyCounterexample.Prescription.Succeeds, OAI.KaplanskyCounterexample.Prescription.succeeds217
- lemma
OAI.KaplanskyCounterexample.Prescription.selectedH_specline 42 - lemma
OAI.KaplanskyCounterexample.Prescription.selectedH_leline 43 - lemma
OAI.KaplanskyCounterexample.Prescription.selectedH_geline 44 - lemma
OAI.KaplanskyCounterexample.Prescription.selectedH_le217line 45 - def
OAI.KaplanskyCounterexample.Prescription.selectedInputline 47 - lemma
OAI.KaplanskyCounterexample.Prescription.selectedInput_successline 48 - def
OAI.KaplanskyCounterexample.Prescription.selectedPairline 51Source documentation
The first successful pair in the literal finite lexicographic search.
def selectedPair : Pair selectedInput := …
Mentions: OAI.KaplanskyCounterexample.Prescription.Pair, OAI.KaplanskyCounterexample.Prescription.selectedInput
- lemma
OAI.KaplanskyCounterexample.Prescription.selectedPair_specline 55 - lemma
OAI.KaplanskyCounterexample.Prescription.selectedPair_minimalline 58 - theorem
OAI.KaplanskyCounterexample.Prescription.finite_search_terminatesline 64Source documentation
Formal termination certificate for both the outer loop and its finite inner loop.
theorem finite_search_terminates : 2 ≤ selectedH ∧ selectedH ≤ 217 ∧ Test selectedInput selectedPair ∧ (∀ h, Succeeds h → selectedH ≤ h) ∧ (∀ p, Test selectedInput p → @LE.le _ (pairOrder selectedInput).toLE selectedPair p) := …Mentions: OAI.KaplanskyCounterexample.Prescription.selectedH, OAI.KaplanskyCounterexample.Prescription.Test, OAI.KaplanskyCounterexample.Prescription.selectedInput, OAI.KaplanskyCounterexample.Prescription.selectedPair, OAI.KaplanskyCounterexample.Prescription.Succeeds, OAI.KaplanskyCounterexample.Prescription.pairOrder