A strict interior joint fraction exactly detects a mixed list
ProvedAPFPaper1.Regulation.jointFraction_strictly_between_iffWork in a supplied typed-word regulation model with a fragment execution relation, whole-word bills, starting-context capacities and Boolean readings on raw endpoint states. A mark is holdable when some budgeted response has a run reading it true; joint holdability requires both readings true in the same run. Counts are taken over occurrences in the supplied finite list, so repetitions are retained. The joint fraction is the real quotient of the jointly-holdable count by the individually-holdable count, with zero denominator giving zero. The joint fraction lies strictly between zero and one if and only if the supplied list contains both a jointly-holdable disturbance and a disturbance where each mark is holdable but joint holdability fails. The two existential witnesses refer to that same list and the same pair of marks. Source: November 12 regulation ruling; Paper 1 Supplement v9.28, lines 1224–1235, for the underlying continuation vocabulary.
import Definitions.Def_APFPaper1_JointFraction
import Theorems.Thm_APFPaper1_Regulation_irreduciblyJointAt_iff_overflow
import Theorems.Thm_APFPaper1_Regulation_eachCount_pos_of_mem
import Theorems.Thm_APFPaper1_Regulation_count_ratio_strictly_between
set_option autoImplicit false
namespace APFPaper1.Regulation
end APFPaper1.Regulation
open APFPaper1.Regulation
open APFPaper1.Continuation
open Classical
universe uC uF uX uR uM
variable {Context : Type uC} {Frag : Context → Context → Type uF} {Raw : Context → Type uX}
{R : Context → Type uR} {M : Type uM}
(step : (g h : Context) → Frag g h → Raw g → Raw h → Prop)
(resource : (g : Context) → WordFrom Frag g → R g)
(calibration : (g : Context) → R g → NNReal) (C : Context → NNReal)
(reads : (h : Context) → Raw h → M → Bool)
theorem APFPaper1.Regulation.jointFraction_strictly_between_iff (g : Context) (xs : List (Raw g)) (m1 m2 : M) :
(0 < jointFraction step resource calibration C reads g xs m1 m2 ∧
jointFraction step resource calibration C reads g xs m1 m2 < 1) ↔
((∃ x0 ∈ xs, JointlyHoldable step resource calibration C reads g x0 m1 m2) ∧
(∃ x1 ∈ xs, IrreduciblyJointAt step resource calibration C reads g x1 m1 m2)) := by sorry
Confirmed by the mission captain (proposal self-audit).