October 2026 · Preprint

Homological percolation in characteristic two: the Ising gauge case

Abstract

Duncan and Schweinhart proved that the i-dimensional plaquette random-cluster model with cluster weight q on the 2i-dimensional torus has a sharp homological percolation transition at the self-dual point, for coefficients in a field of characteristic other than 2. Their proof needs the point group of the lattice to act irreducibly on the i-th homology of the torus. In characteristic 2 it does not, and the most important case is excluded: q = 2 with F₂ coefficients, which represents the (i−1)-form Ising lattice gauge theory. We prove the theorem for q = 2^r with r ≥ 1 and F₂ coefficients. The representation-theoretic step is replaced by a transfer-matrix inequality, the classical positivity of the partition functions of 't Hooft's electric-flux sectors; read in the random-cluster representation, this inequality compares the probabilities of homological events. As a corollary, for the ferromagnetic (i−1)-form Ising gauge theory on the 2i-dimensional torus (Wegner's model when i = 2), the free energy of every nontrivial 't Hooft twist tends to 0 below the self-dual coupling and to infinity above it as the torus grows. For Bernoulli plaquette percolation (q = 1) the characteristic-2 case remains open for i ≥ 2; we describe obstructions to proving it, and on the 4-torus we prove a computer-assisted divisibility theorem for the classes of integral giant cycles just above p = 1/2.

In plain words

Percolation asks when random links first join up across a whole system. Its version for surfaces asks when random patches first wrap around a four-dimensional torus. Duncan and Schweinhart built on earlier work with Kahle and found exactly when random patches first wrap around the torus for a family of surface percolation models. Their proof does not cover the case where wrapping is detected with arithmetic modulo 2, which keeps track only of whether numbers are even or odd. This paper settles that case for part of the family, including the Ising gauge theory from physics. The result shows, for each ’t Hooft twist in that theory, how the twist’s cost changes as the system gets larger: for couplings between zero and Wegner’s self-dual coupling, the cost tends to zero; for couplings above Wegner’s self-dual coupling, the cost grows without bound.

A 32-by-32 grid with periodic boundaries: most open edges belong to one large teal cluster, and a thick magenta loop runs from the top edge to the bottom edge, wrapping around the torus.
Illustration of the lowest case, i = 1, of the paper's Theorem A: a computer-drawn sample of the random-cluster model with q = 2 on a 32 × 32 torus at the self-dual point p = √2/(1+√2). One cluster's edges are teal, and its magenta cycle wraps around the torus: a giant cycle. For i = 1 the theorem was known; the paper's new case is i ≥ 2, where edges become i-dimensional plaquettes on the 2i-dimensional torus.

Formal statement and axioms

Each main result as stated in Lean, copied verbatim from the published package, with the axioms that the proof rests on. Lean v4.35.0-rc3, Mathlib c55e6e786f49. The package.

Char2.D24.sublevel_H1

The capsule certificate’s finite base case, the part stating H₁(𝒦_{<h}; A) = 0 for 𝔇₂₄, a statement that is the conclusion of Lemma 26 from (C1) in the local form: kernel-only

theorem D24.sublevel_H1 (A : Type*) [CommRing A] (k : Nat) : H1Zero A (D24.cell1 k) (D24.cell2 k)
Definitions used in the statement
def D24.cell1 (k : Nat) (e : Edge) : Prop :=
  (D24.isSafe e = true ∧ D24.availE e = true) ∨ (D24.isNS e = true ∧ D24.nsKey e < k)
def D24.cell2 (k : Nat) (p : Plaq) : Prop :=
  D24.availP p = true ∧ D24.inP p = true ∧ ∀ f ∈ p.edges, D24.cell1 k f
def H1Zero (C1 : Edge → Prop) (C2 : Plaq → Prop) : Prop :=
  ∀ z : Edge →₀ A, (∀ e ∈ z.support, C1 e) → bd1 A z = 0 →
    ∃ c : Plaq →₀ A, (∀ p ∈ c.support, C2 p) ∧ bd2 A c = z
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdE (e : Edge) : Pt →₀ A := Finsupp.single e.dst 1 - Finsupp.single e.src 1
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/KernelV3/Main.lean:42.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/logs/axioms_v3.log:1.

'Char2.D24.sublevel_H1' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.D24.strip_H1

The capsule certificate’s finite base case, the part on (C2) and (C3) with the integral link criterion of Lemma 27, as well as (H₂₄): kernel-only

theorem D24.strip_H1 (e : Edge) (hns : D24.isNS e = true) (hmax : D24.maxable e) :
    ∃ P₀ Q sp, (D24.setting D24_keyInj).StripCert e P₀ Q sp ∧
      (∀ (A : Type) [CommRing A], H1Zero A ((D24.setting D24_keyInj).cell1X (D24.nsKey e) sp)
        ((D24.setting D24_keyInj).cell2X (D24.nsKey e) sp)) ∧ D24.H24 e (P₀ :: Q)
Definitions used in the statement
def maxable (e : Edge) : Prop :=
  ∀ w ∈ e.ends, ∃ f ∈ edgesAt w, f ≠ e ∧ P.isNS f = true ∧ P.nsKey f < P.nsKey e
def KeyInj : Prop := ∀ e f, P.isNS e = true → P.isNS f = true → P.nsKey e = P.nsKey f → e = f
def setting (hinj : P.KeyInj) : Setting where
  safeE e := P.isSafe e = true ∧ P.availE e = true
  nsE e := P.isNS e = true
  key := P.nsKey
  inPa p := P.availP p = true ∧ P.inP p = true
  tau := P.tau
  disj := P.disj
  inj := hinj
structure Setting where
  /-- available safe edges -/
  safeE : Edge → Prop
  /-- NS edges -/
  nsE : Edge → Prop
  /-- the NS order key -/
  key : Edge → Nat
  /-- available plaquettes of 𝒫(R) -/
  inPa : Plaq → Prop
  /-- the port -/
  tau : Plaq
  disj : ∀ f, safeE f → ¬ nsE f
  inj : ∀ f g, nsE f → nsE g → key f = key g → f = g
structure StripCert (e : Edge) (P₀ : Plaq) (Q : List Plaq) (sp : List Edge) : Prop where
  ep0 : e ∈ P₀.edges
  inP0 : S.inPa P₀
  p0edges : ∀ f ∈ P₀.edges, f ≠ e → S.cell1 (S.key e) f
  len : Q.length = sp.length
  last : Q.getLast? = some S.tau
  qcell : ∀ q ∈ Q, S.cell2 (S.key e) q
  nodup : (P₀ :: Q).Nodup
  spsafe : ∀ s ∈ sp, S.safeE s
  clean : ∀ kk < sp.length, sp.getD kk default ∈ ((P₀ :: Q).getD kk default).edges ∧
    sp.getD kk default ∈ ((P₀ :: Q).getD (kk + 1) default).edges ∧
    ∀ jj < sp.length + 1, sp.getD kk default ∈ ((P₀ :: Q).getD jj default).edges → jj = kk ∨ jj = kk + 1
def cell1 (k : Nat) (f : Edge) : Prop := S.safeE f ∨ (S.nsE f ∧ S.key f < k)
def cell2 (k : Nat) (p : Plaq) : Prop := S.inPa p ∧ ∀ f ∈ p.edges, S.cell1 k f
def cell1X (k : Nat) (X : List Edge) (f : Edge) : Prop := S.cell1 k f ∧ f ∉ X
def cell2X (k : Nat) (X : List Edge) (p : Plaq) : Prop := S.cell2 k p ∧ ∀ f ∈ p.edges, f ∉ X
def H1Zero (C1 : Edge → Prop) (C2 : Plaq → Prop) : Prop :=
  ∀ z : Edge →₀ A, (∀ e ∈ z.support, C1 e) → bd1 A z = 0 →
    ∃ c : Plaq →₀ A, (∀ p ∈ c.support, C2 p) ∧ bd2 A c = z
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdE (e : Edge) : Pt →₀ A := Finsupp.single e.dst 1 - Finsupp.single e.src 1
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/KernelV3/Main.lean:51-54.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/logs/axioms_v3.log:2.

'Char2.D24.strip_H1' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.D24.funnel_designs

The capsule certificate’s finite base case, the part on the 2-chain of Proposition 28 without the network, for 𝔇₂₄: kernel-only

theorem D24.funnel_designs (A : Type) [CommRing A] (ε₀ : Edge) (hns : D24.isNS ε₀ = true) (γ : Edge →₀ A)
    (hcyc : bd1 A γ = 0) (hsupp : ∀ f ∈ γ.support, D24.isNS f = true ∧ D24.nsKey f ≤ D24.nsKey ε₀)
    (hne : γ ε₀ ≠ 0) :
    ∃ (F : Plaq →₀ A) (P₀ : Plaq) (Q : List Plaq) (sp : List Edge),
      bd2 A F = γ ∧
      (∀ p ∈ F.support, D24.availP p = true ∧ D24.inP p = true ∧
        ∀ f ∈ p.edges, D24.isNS f = true → D24.nsKey f ≤ D24.nsKey ε₀) ∧
      (P₀ ∈ F.support ∧ ε₀ ∈ P₀.edges ∧ ∀ p ∈ F.support, ε₀ ∈ p.edges → p = P₀) ∧
      (Q.length = sp.length ∧ Q.getLast? = some D24.tau ∧ (P₀ :: Q).Nodup ∧ (∀ q ∈ Q, q ∈ F.support) ∧
        ∀ k < sp.length,
          (D24.isSafe (sp.getD k default) = true ∧ D24.availE (sp.getD k default) = true) ∧
          sp.getD k default ∈ ((P₀ :: Q).getD k default).edges ∧
          sp.getD k default ∈ ((P₀ :: Q).getD (k + 1) default).edges ∧
          ∀ p ∈ F.support, sp.getD k default ∈ p.edges →
            p = (P₀ :: Q).getD k default ∨ p = (P₀ :: Q).getD (k + 1) default)
Definitions used in the statement
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdE (e : Edge) : Pt →₀ A := Finsupp.single e.dst 1 - Finsupp.single e.src 1
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/KernelV3/Main.lean:63-77.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/logs/axioms_v3.log:3.

'Char2.D24.funnel_designs' depends on axioms: [propext, Classical.choice, Quot.sound]
32 more formal statements

Char2.D24.ns_available

The capsule certificate’s finite base case, the part stating that every NS edge of 𝔇₂₄ is available: kernel-only

theorem D24.ns_available (e : Edge) (he : D24.isNS e = true) : D24.availE e = true

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/KernelV3/Main.lean:87.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/logs/axioms_v3.log:4.

'Char2.D24.ns_available' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.D24.far_from_NS

The capsule certificate’s finite base case, the part stating (F) at L = 24: kernel-only

theorem D24.far_from_NS (p : Plaq) (hp : p ∈ D24lane ++ D24endPath) (u : Pt) (hu : u ∈ p.verts) (e : Edge)
    (he : D24.isNS e = true) :
    ¬ (|e.v.x0 - u.x0| ≤ 3 ∧ |e.v.x1 - u.x1| ≤ 3 ∧ |e.v.x2 - u.x2| ≤ 3 ∧ |e.v.x3 - u.x3| ≤ 3)

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/KernelV3/Main.lean:92-94.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/logs/axioms_v3.log:5.

'Char2.D24.far_from_NS' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.D24_keyInj

The capsule certificate’s finite base case, the part stating that the integer NS key is injective on the NS edges of 𝔇₂₄: kernel-only

theorem D24_keyInj : D24.KeyInj
Definitions used in the statement
def KeyInj : Prop := ∀ e f, P.isNS e = true → P.isNS f = true → P.nsKey e = P.nsKey f → e = f

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/KernelV3/Main.lean:30.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel/logs/axioms_v3.log:6.

'Char2.D24_keyInj' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a0.sublevel_H1

The region certificates of Remark 2 for hole type Z/8, type 0, the part stating H₁(𝒦_{<h}; A) = 0 for the region, a statement that is the conclusion of Lemma 26: kernel-only

theorem CT25z8a0.sublevel_H1 (A : Type*) [CommRing A] (k : Nat) :
    H1Zero A ((CT25z8a0.setting CT25z8a0_keyInj).cell1 k) ((CT25z8a0.setting CT25z8a0_keyInj).cell2 k)
Definitions used in the statement
def H1Zero (C1 : Edge → Prop) (C2 : Plaq → Prop) : Prop :=
  ∀ z : Edge →₀ A, (∀ e ∈ z.support, C1 e) → bd1 A z = 0 →
    ∃ c : Plaq →₀ A, (∀ p ∈ c.support, C2 p) ∧ bd2 A c = z
def setting (hinj : P.KeyInj) : Setting where
  safeE e := P.isSafe e = true ∧ P.availE e = true
  nsE e := P.isNS e = true
  key := P.nsKey
  inPa p := P.availP p = true ∧ P.inP p = true
  tau := P.tau
  disj := P.disj
  inj := hinj
structure Setting where
  /-- available safe edges -/
  safeE : Edge → Prop
  /-- NS edges -/
  nsE : Edge → Prop
  /-- the NS order key -/
  key : Edge → Nat
  /-- available plaquettes of 𝒫(R) -/
  inPa : Plaq → Prop
  /-- the port -/
  tau : Plaq
  disj : ∀ f, safeE f → ¬ nsE f
  inj : ∀ f g, nsE f → nsE g → key f = key g → f = g
def cell1 (k : Nat) (f : Edge) : Prop := S.safeE f ∨ (S.nsE f ∧ S.key f < k)
def cell2 (k : Nat) (p : Plaq) : Prop := S.inPa p ∧ ∀ f ∈ p.edges, S.cell1 k f
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A0/Main.lean:31-32.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:1.

'Char2.CT25z8a0.sublevel_H1' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a0.funnel_designs

The region certificates of Remark 2 for hole type Z/8, type 0, the part on the 2-chain of Proposition 28 without the network: kernel-only

theorem CT25z8a0.funnel_designs (A : Type) [CommRing A] (ε₀ : Edge) (hns : CT25z8a0.isNS ε₀ = true) (γ : Edge →₀ A)
    (hcyc : bd1 A γ = 0) (hsupp : ∀ f ∈ γ.support, CT25z8a0.isNS f = true ∧ CT25z8a0.nsKey f ≤ CT25z8a0.nsKey ε₀)
    (hne : γ ε₀ ≠ 0) :
    ∃ F P₀ Q sp, (CT25z8a0.setting CT25z8a0_keyInj).FunnelDesign A ε₀ γ F P₀ Q sp
Definitions used in the statement
structure FunnelDesign (e : Edge) (γ : Edge →₀ A) (F : Plaq →₀ A) (P₀ : Plaq) (Q : List Plaq)
    (sp : List Edge) : Prop where
  /-- (F1) -/
  bd : bd2 A F = γ
  /-- (F2), with availability -/
  supp : ∀ p ∈ F.support, S.inPa p ∧ ∀ f ∈ p.edges, S.nsE f → S.key f ≤ S.key e
  /-- (F3) -/
  p0mem : P₀ ∈ F.support
  ep0 : e ∈ P₀.edges
  p0uniq : ∀ p ∈ F.support, e ∈ p.edges → p = P₀
  /-- (F4) -/
  len : Q.length = sp.length
  last : Q.getLast? = some S.tau
  nodup : (P₀ :: Q).Nodup
  qmem : ∀ q ∈ Q, q ∈ F.support
  spine : ∀ kk < sp.length, S.safeE (sp.getD kk default) ∧
    sp.getD kk default ∈ ((P₀ :: Q).getD kk default).edges ∧
    sp.getD kk default ∈ ((P₀ :: Q).getD (kk + 1) default).edges ∧
    ∀ p ∈ F.support, sp.getD kk default ∈ p.edges → p = (P₀ :: Q).getD kk default ∨
      p = (P₀ :: Q).getD (kk + 1) default
def setting (hinj : P.KeyInj) : Setting where
  safeE e := P.isSafe e = true ∧ P.availE e = true
  nsE e := P.isNS e = true
  key := P.nsKey
  inPa p := P.availP p = true ∧ P.inP p = true
  tau := P.tau
  disj := P.disj
  inj := hinj
structure Setting where
  /-- available safe edges -/
  safeE : Edge → Prop
  /-- NS edges -/
  nsE : Edge → Prop
  /-- the NS order key -/
  key : Edge → Nat
  /-- available plaquettes of 𝒫(R) -/
  inPa : Plaq → Prop
  /-- the port -/
  tau : Plaq
  disj : ∀ f, safeE f → ¬ nsE f
  inj : ∀ f g, nsE f → nsE g → key f = key g → f = g
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdE (e : Edge) : Pt →₀ A := Finsupp.single e.dst 1 - Finsupp.single e.src 1
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A0/Main.lean:36-39.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:2.

'Char2.CT25z8a0.funnel_designs' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a0.ns_available

The region certificates of Remark 2 for hole type Z/8, type 0, the part stating that every NS edge of the region is available: kernel-only

theorem CT25z8a0.ns_available (e : Edge) (he : CT25z8a0.isNS e = true) : CT25z8a0.availE e = true

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A0/Main.lean:28.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:3.

'Char2.CT25z8a0.ns_available' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a0_keyInj

The region certificates of Remark 2 for hole type Z/8, type 0, the part stating that the integer NS key is injective on the NS edges: kernel-only

theorem CT25z8a0_keyInj : CT25z8a0.KeyInj
Definitions used in the statement
def KeyInj : Prop := ∀ e f, P.isNS e = true → P.isNS f = true → P.nsKey e = P.nsKey f → e = f

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A0/Main.lean:26.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:4.

'Char2.CT25z8a0_keyInj' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a1.sublevel_H1

The region certificates of Remark 2 for hole type Z/8, type 1, the part stating H₁(𝒦_{<h}; A) = 0 for the region, a statement that is the conclusion of Lemma 26: kernel-only

theorem CT25z8a1.sublevel_H1 (A : Type*) [CommRing A] (k : Nat) :
    H1Zero A ((CT25z8a1.setting CT25z8a1_keyInj).cell1 k) ((CT25z8a1.setting CT25z8a1_keyInj).cell2 k)
Definitions used in the statement
def H1Zero (C1 : Edge → Prop) (C2 : Plaq → Prop) : Prop :=
  ∀ z : Edge →₀ A, (∀ e ∈ z.support, C1 e) → bd1 A z = 0 →
    ∃ c : Plaq →₀ A, (∀ p ∈ c.support, C2 p) ∧ bd2 A c = z
def setting (hinj : P.KeyInj) : Setting where
  safeE e := P.isSafe e = true ∧ P.availE e = true
  nsE e := P.isNS e = true
  key := P.nsKey
  inPa p := P.availP p = true ∧ P.inP p = true
  tau := P.tau
  disj := P.disj
  inj := hinj
structure Setting where
  /-- available safe edges -/
  safeE : Edge → Prop
  /-- NS edges -/
  nsE : Edge → Prop
  /-- the NS order key -/
  key : Edge → Nat
  /-- available plaquettes of 𝒫(R) -/
  inPa : Plaq → Prop
  /-- the port -/
  tau : Plaq
  disj : ∀ f, safeE f → ¬ nsE f
  inj : ∀ f g, nsE f → nsE g → key f = key g → f = g
def cell1 (k : Nat) (f : Edge) : Prop := S.safeE f ∨ (S.nsE f ∧ S.key f < k)
def cell2 (k : Nat) (p : Plaq) : Prop := S.inPa p ∧ ∀ f ∈ p.edges, S.cell1 k f
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A1/Main.lean:31-32.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:5.

'Char2.CT25z8a1.sublevel_H1' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a1.funnel_designs

The region certificates of Remark 2 for hole type Z/8, type 1, the part on the 2-chain of Proposition 28 without the network: kernel-only

theorem CT25z8a1.funnel_designs (A : Type) [CommRing A] (ε₀ : Edge) (hns : CT25z8a1.isNS ε₀ = true) (γ : Edge →₀ A)
    (hcyc : bd1 A γ = 0) (hsupp : ∀ f ∈ γ.support, CT25z8a1.isNS f = true ∧ CT25z8a1.nsKey f ≤ CT25z8a1.nsKey ε₀)
    (hne : γ ε₀ ≠ 0) :
    ∃ F P₀ Q sp, (CT25z8a1.setting CT25z8a1_keyInj).FunnelDesign A ε₀ γ F P₀ Q sp
Definitions used in the statement
structure FunnelDesign (e : Edge) (γ : Edge →₀ A) (F : Plaq →₀ A) (P₀ : Plaq) (Q : List Plaq)
    (sp : List Edge) : Prop where
  /-- (F1) -/
  bd : bd2 A F = γ
  /-- (F2), with availability -/
  supp : ∀ p ∈ F.support, S.inPa p ∧ ∀ f ∈ p.edges, S.nsE f → S.key f ≤ S.key e
  /-- (F3) -/
  p0mem : P₀ ∈ F.support
  ep0 : e ∈ P₀.edges
  p0uniq : ∀ p ∈ F.support, e ∈ p.edges → p = P₀
  /-- (F4) -/
  len : Q.length = sp.length
  last : Q.getLast? = some S.tau
  nodup : (P₀ :: Q).Nodup
  qmem : ∀ q ∈ Q, q ∈ F.support
  spine : ∀ kk < sp.length, S.safeE (sp.getD kk default) ∧
    sp.getD kk default ∈ ((P₀ :: Q).getD kk default).edges ∧
    sp.getD kk default ∈ ((P₀ :: Q).getD (kk + 1) default).edges ∧
    ∀ p ∈ F.support, sp.getD kk default ∈ p.edges → p = (P₀ :: Q).getD kk default ∨
      p = (P₀ :: Q).getD (kk + 1) default
def setting (hinj : P.KeyInj) : Setting where
  safeE e := P.isSafe e = true ∧ P.availE e = true
  nsE e := P.isNS e = true
  key := P.nsKey
  inPa p := P.availP p = true ∧ P.inP p = true
  tau := P.tau
  disj := P.disj
  inj := hinj
structure Setting where
  /-- available safe edges -/
  safeE : Edge → Prop
  /-- NS edges -/
  nsE : Edge → Prop
  /-- the NS order key -/
  key : Edge → Nat
  /-- available plaquettes of 𝒫(R) -/
  inPa : Plaq → Prop
  /-- the port -/
  tau : Plaq
  disj : ∀ f, safeE f → ¬ nsE f
  inj : ∀ f g, nsE f → nsE g → key f = key g → f = g
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdE (e : Edge) : Pt →₀ A := Finsupp.single e.dst 1 - Finsupp.single e.src 1
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A1/Main.lean:36-39.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:6.

'Char2.CT25z8a1.funnel_designs' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a1.ns_available

The region certificates of Remark 2 for hole type Z/8, type 1, the part stating that every NS edge of the region is available: kernel-only

theorem CT25z8a1.ns_available (e : Edge) (he : CT25z8a1.isNS e = true) : CT25z8a1.availE e = true

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A1/Main.lean:28.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:7.

'Char2.CT25z8a1.ns_available' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a1_keyInj

The region certificates of Remark 2 for hole type Z/8, type 1, the part stating that the integer NS key is injective on the NS edges: kernel-only

theorem CT25z8a1_keyInj : CT25z8a1.KeyInj
Definitions used in the statement
def KeyInj : Prop := ∀ e f, P.isNS e = true → P.isNS f = true → P.nsKey e = P.nsKey f → e = f

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A1/Main.lean:26.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:8.

'Char2.CT25z8a1_keyInj' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a2.sublevel_H1

The region certificates of Remark 2 for hole type Z/8, type 2, the part stating H₁(𝒦_{<h}; A) = 0 for the region, a statement that is the conclusion of Lemma 26: kernel-only

theorem CT25z8a2.sublevel_H1 (A : Type*) [CommRing A] (k : Nat) :
    H1Zero A ((CT25z8a2.setting CT25z8a2_keyInj).cell1 k) ((CT25z8a2.setting CT25z8a2_keyInj).cell2 k)
Definitions used in the statement
def H1Zero (C1 : Edge → Prop) (C2 : Plaq → Prop) : Prop :=
  ∀ z : Edge →₀ A, (∀ e ∈ z.support, C1 e) → bd1 A z = 0 →
    ∃ c : Plaq →₀ A, (∀ p ∈ c.support, C2 p) ∧ bd2 A c = z
def setting (hinj : P.KeyInj) : Setting where
  safeE e := P.isSafe e = true ∧ P.availE e = true
  nsE e := P.isNS e = true
  key := P.nsKey
  inPa p := P.availP p = true ∧ P.inP p = true
  tau := P.tau
  disj := P.disj
  inj := hinj
structure Setting where
  /-- available safe edges -/
  safeE : Edge → Prop
  /-- NS edges -/
  nsE : Edge → Prop
  /-- the NS order key -/
  key : Edge → Nat
  /-- available plaquettes of 𝒫(R) -/
  inPa : Plaq → Prop
  /-- the port -/
  tau : Plaq
  disj : ∀ f, safeE f → ¬ nsE f
  inj : ∀ f g, nsE f → nsE g → key f = key g → f = g
def cell1 (k : Nat) (f : Edge) : Prop := S.safeE f ∨ (S.nsE f ∧ S.key f < k)
def cell2 (k : Nat) (p : Plaq) : Prop := S.inPa p ∧ ∀ f ∈ p.edges, S.cell1 k f
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A2/Main.lean:31-32.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:9.

'Char2.CT25z8a2.sublevel_H1' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a2.funnel_designs

The region certificates of Remark 2 for hole type Z/8, type 2, the part on the 2-chain of Proposition 28 without the network: kernel-only

theorem CT25z8a2.funnel_designs (A : Type) [CommRing A] (ε₀ : Edge) (hns : CT25z8a2.isNS ε₀ = true) (γ : Edge →₀ A)
    (hcyc : bd1 A γ = 0) (hsupp : ∀ f ∈ γ.support, CT25z8a2.isNS f = true ∧ CT25z8a2.nsKey f ≤ CT25z8a2.nsKey ε₀)
    (hne : γ ε₀ ≠ 0) :
    ∃ F P₀ Q sp, (CT25z8a2.setting CT25z8a2_keyInj).FunnelDesign A ε₀ γ F P₀ Q sp
Definitions used in the statement
structure FunnelDesign (e : Edge) (γ : Edge →₀ A) (F : Plaq →₀ A) (P₀ : Plaq) (Q : List Plaq)
    (sp : List Edge) : Prop where
  /-- (F1) -/
  bd : bd2 A F = γ
  /-- (F2), with availability -/
  supp : ∀ p ∈ F.support, S.inPa p ∧ ∀ f ∈ p.edges, S.nsE f → S.key f ≤ S.key e
  /-- (F3) -/
  p0mem : P₀ ∈ F.support
  ep0 : e ∈ P₀.edges
  p0uniq : ∀ p ∈ F.support, e ∈ p.edges → p = P₀
  /-- (F4) -/
  len : Q.length = sp.length
  last : Q.getLast? = some S.tau
  nodup : (P₀ :: Q).Nodup
  qmem : ∀ q ∈ Q, q ∈ F.support
  spine : ∀ kk < sp.length, S.safeE (sp.getD kk default) ∧
    sp.getD kk default ∈ ((P₀ :: Q).getD kk default).edges ∧
    sp.getD kk default ∈ ((P₀ :: Q).getD (kk + 1) default).edges ∧
    ∀ p ∈ F.support, sp.getD kk default ∈ p.edges → p = (P₀ :: Q).getD kk default ∨
      p = (P₀ :: Q).getD (kk + 1) default
def setting (hinj : P.KeyInj) : Setting where
  safeE e := P.isSafe e = true ∧ P.availE e = true
  nsE e := P.isNS e = true
  key := P.nsKey
  inPa p := P.availP p = true ∧ P.inP p = true
  tau := P.tau
  disj := P.disj
  inj := hinj
structure Setting where
  /-- available safe edges -/
  safeE : Edge → Prop
  /-- NS edges -/
  nsE : Edge → Prop
  /-- the NS order key -/
  key : Edge → Nat
  /-- available plaquettes of 𝒫(R) -/
  inPa : Plaq → Prop
  /-- the port -/
  tau : Plaq
  disj : ∀ f, safeE f → ¬ nsE f
  inj : ∀ f g, nsE f → nsE g → key f = key g → f = g
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdE (e : Edge) : Pt →₀ A := Finsupp.single e.dst 1 - Finsupp.single e.src 1
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A2/Main.lean:36-39.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:10.

'Char2.CT25z8a2.funnel_designs' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a2.ns_available

The region certificates of Remark 2 for hole type Z/8, type 2, the part stating that every NS edge of the region is available: kernel-only

theorem CT25z8a2.ns_available (e : Edge) (he : CT25z8a2.isNS e = true) : CT25z8a2.availE e = true

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A2/Main.lean:28.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:11.

'Char2.CT25z8a2.ns_available' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z8a2_keyInj

The region certificates of Remark 2 for hole type Z/8, type 2, the part stating that the integer NS key is injective on the NS edges: kernel-only

theorem CT25z8a2_keyInj : CT25z8a2.KeyInj
Definitions used in the statement
def KeyInj : Prop := ∀ e f, P.isNS e = true → P.isNS f = true → P.nsKey e = P.nsKey f → e = f

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z8A2/Main.lean:26.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:12.

'Char2.CT25z8a2_keyInj' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z4a0.sublevel_H1

The region certificates of Remark 2 for hole type Z/4, type 0, the part stating H₁(𝒦_{<h}; A) = 0 for the region, a statement that is the conclusion of Lemma 26: kernel-only

theorem CT25z4a0.sublevel_H1 (A : Type*) [CommRing A] (k : Nat) :
    H1Zero A ((CT25z4a0.setting CT25z4a0_keyInj).cell1 k) ((CT25z4a0.setting CT25z4a0_keyInj).cell2 k)
Definitions used in the statement
def H1Zero (C1 : Edge → Prop) (C2 : Plaq → Prop) : Prop :=
  ∀ z : Edge →₀ A, (∀ e ∈ z.support, C1 e) → bd1 A z = 0 →
    ∃ c : Plaq →₀ A, (∀ p ∈ c.support, C2 p) ∧ bd2 A c = z
def setting (hinj : P.KeyInj) : Setting where
  safeE e := P.isSafe e = true ∧ P.availE e = true
  nsE e := P.isNS e = true
  key := P.nsKey
  inPa p := P.availP p = true ∧ P.inP p = true
  tau := P.tau
  disj := P.disj
  inj := hinj
structure Setting where
  /-- available safe edges -/
  safeE : Edge → Prop
  /-- NS edges -/
  nsE : Edge → Prop
  /-- the NS order key -/
  key : Edge → Nat
  /-- available plaquettes of 𝒫(R) -/
  inPa : Plaq → Prop
  /-- the port -/
  tau : Plaq
  disj : ∀ f, safeE f → ¬ nsE f
  inj : ∀ f g, nsE f → nsE g → key f = key g → f = g
def cell1 (k : Nat) (f : Edge) : Prop := S.safeE f ∨ (S.nsE f ∧ S.key f < k)
def cell2 (k : Nat) (p : Plaq) : Prop := S.inPa p ∧ ∀ f ∈ p.edges, S.cell1 k f
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z4A0/Main.lean:31-32.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:13.

'Char2.CT25z4a0.sublevel_H1' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z4a0.funnel_designs

The region certificates of Remark 2 for hole type Z/4, type 0, the part on the 2-chain of Proposition 28 without the network: kernel-only

theorem CT25z4a0.funnel_designs (A : Type) [CommRing A] (ε₀ : Edge) (hns : CT25z4a0.isNS ε₀ = true) (γ : Edge →₀ A)
    (hcyc : bd1 A γ = 0) (hsupp : ∀ f ∈ γ.support, CT25z4a0.isNS f = true ∧ CT25z4a0.nsKey f ≤ CT25z4a0.nsKey ε₀)
    (hne : γ ε₀ ≠ 0) :
    ∃ F P₀ Q sp, (CT25z4a0.setting CT25z4a0_keyInj).FunnelDesign A ε₀ γ F P₀ Q sp
Definitions used in the statement
structure FunnelDesign (e : Edge) (γ : Edge →₀ A) (F : Plaq →₀ A) (P₀ : Plaq) (Q : List Plaq)
    (sp : List Edge) : Prop where
  /-- (F1) -/
  bd : bd2 A F = γ
  /-- (F2), with availability -/
  supp : ∀ p ∈ F.support, S.inPa p ∧ ∀ f ∈ p.edges, S.nsE f → S.key f ≤ S.key e
  /-- (F3) -/
  p0mem : P₀ ∈ F.support
  ep0 : e ∈ P₀.edges
  p0uniq : ∀ p ∈ F.support, e ∈ p.edges → p = P₀
  /-- (F4) -/
  len : Q.length = sp.length
  last : Q.getLast? = some S.tau
  nodup : (P₀ :: Q).Nodup
  qmem : ∀ q ∈ Q, q ∈ F.support
  spine : ∀ kk < sp.length, S.safeE (sp.getD kk default) ∧
    sp.getD kk default ∈ ((P₀ :: Q).getD kk default).edges ∧
    sp.getD kk default ∈ ((P₀ :: Q).getD (kk + 1) default).edges ∧
    ∀ p ∈ F.support, sp.getD kk default ∈ p.edges → p = (P₀ :: Q).getD kk default ∨
      p = (P₀ :: Q).getD (kk + 1) default
def setting (hinj : P.KeyInj) : Setting where
  safeE e := P.isSafe e = true ∧ P.availE e = true
  nsE e := P.isNS e = true
  key := P.nsKey
  inPa p := P.availP p = true ∧ P.inP p = true
  tau := P.tau
  disj := P.disj
  inj := hinj
structure Setting where
  /-- available safe edges -/
  safeE : Edge → Prop
  /-- NS edges -/
  nsE : Edge → Prop
  /-- the NS order key -/
  key : Edge → Nat
  /-- available plaquettes of 𝒫(R) -/
  inPa : Plaq → Prop
  /-- the port -/
  tau : Plaq
  disj : ∀ f, safeE f → ¬ nsE f
  inj : ∀ f g, nsE f → nsE g → key f = key g → f = g
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdE (e : Edge) : Pt →₀ A := Finsupp.single e.dst 1 - Finsupp.single e.src 1
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z4A0/Main.lean:36-39.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:14.

'Char2.CT25z4a0.funnel_designs' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z4a0.ns_available

The region certificates of Remark 2 for hole type Z/4, type 0, the part stating that every NS edge of the region is available: kernel-only

theorem CT25z4a0.ns_available (e : Edge) (he : CT25z4a0.isNS e = true) : CT25z4a0.availE e = true

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z4A0/Main.lean:28.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:15.

'Char2.CT25z4a0.ns_available' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z4a0_keyInj

The region certificates of Remark 2 for hole type Z/4, type 0, the part stating that the integer NS key is injective on the NS edges: kernel-only

theorem CT25z4a0_keyInj : CT25z4a0.KeyInj
Definitions used in the statement
def KeyInj : Prop := ∀ e f, P.isNS e = true → P.isNS f = true → P.nsKey e = P.nsKey f → e = f

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z4A0/Main.lean:26.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:16.

'Char2.CT25z4a0_keyInj' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z4a1.sublevel_H1

The region certificates of Remark 2 for hole type Z/4, type 1, the part stating H₁(𝒦_{<h}; A) = 0 for the region, a statement that is the conclusion of Lemma 26: kernel-only

theorem CT25z4a1.sublevel_H1 (A : Type*) [CommRing A] (k : Nat) :
    H1Zero A ((CT25z4a1.setting CT25z4a1_keyInj).cell1 k) ((CT25z4a1.setting CT25z4a1_keyInj).cell2 k)
Definitions used in the statement
def H1Zero (C1 : Edge → Prop) (C2 : Plaq → Prop) : Prop :=
  ∀ z : Edge →₀ A, (∀ e ∈ z.support, C1 e) → bd1 A z = 0 →
    ∃ c : Plaq →₀ A, (∀ p ∈ c.support, C2 p) ∧ bd2 A c = z
def setting (hinj : P.KeyInj) : Setting where
  safeE e := P.isSafe e = true ∧ P.availE e = true
  nsE e := P.isNS e = true
  key := P.nsKey
  inPa p := P.availP p = true ∧ P.inP p = true
  tau := P.tau
  disj := P.disj
  inj := hinj
structure Setting where
  /-- available safe edges -/
  safeE : Edge → Prop
  /-- NS edges -/
  nsE : Edge → Prop
  /-- the NS order key -/
  key : Edge → Nat
  /-- available plaquettes of 𝒫(R) -/
  inPa : Plaq → Prop
  /-- the port -/
  tau : Plaq
  disj : ∀ f, safeE f → ¬ nsE f
  inj : ∀ f g, nsE f → nsE g → key f = key g → f = g
def cell1 (k : Nat) (f : Edge) : Prop := S.safeE f ∨ (S.nsE f ∧ S.key f < k)
def cell2 (k : Nat) (p : Plaq) : Prop := S.inPa p ∧ ∀ f ∈ p.edges, S.cell1 k f
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z4A1/Main.lean:31-32.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:17.

'Char2.CT25z4a1.sublevel_H1' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z4a1.funnel_designs

The region certificates of Remark 2 for hole type Z/4, type 1, the part on the 2-chain of Proposition 28 without the network: kernel-only

theorem CT25z4a1.funnel_designs (A : Type) [CommRing A] (ε₀ : Edge) (hns : CT25z4a1.isNS ε₀ = true) (γ : Edge →₀ A)
    (hcyc : bd1 A γ = 0) (hsupp : ∀ f ∈ γ.support, CT25z4a1.isNS f = true ∧ CT25z4a1.nsKey f ≤ CT25z4a1.nsKey ε₀)
    (hne : γ ε₀ ≠ 0) :
    ∃ F P₀ Q sp, (CT25z4a1.setting CT25z4a1_keyInj).FunnelDesign A ε₀ γ F P₀ Q sp
Definitions used in the statement
structure FunnelDesign (e : Edge) (γ : Edge →₀ A) (F : Plaq →₀ A) (P₀ : Plaq) (Q : List Plaq)
    (sp : List Edge) : Prop where
  /-- (F1) -/
  bd : bd2 A F = γ
  /-- (F2), with availability -/
  supp : ∀ p ∈ F.support, S.inPa p ∧ ∀ f ∈ p.edges, S.nsE f → S.key f ≤ S.key e
  /-- (F3) -/
  p0mem : P₀ ∈ F.support
  ep0 : e ∈ P₀.edges
  p0uniq : ∀ p ∈ F.support, e ∈ p.edges → p = P₀
  /-- (F4) -/
  len : Q.length = sp.length
  last : Q.getLast? = some S.tau
  nodup : (P₀ :: Q).Nodup
  qmem : ∀ q ∈ Q, q ∈ F.support
  spine : ∀ kk < sp.length, S.safeE (sp.getD kk default) ∧
    sp.getD kk default ∈ ((P₀ :: Q).getD kk default).edges ∧
    sp.getD kk default ∈ ((P₀ :: Q).getD (kk + 1) default).edges ∧
    ∀ p ∈ F.support, sp.getD kk default ∈ p.edges → p = (P₀ :: Q).getD kk default ∨
      p = (P₀ :: Q).getD (kk + 1) default
def setting (hinj : P.KeyInj) : Setting where
  safeE e := P.isSafe e = true ∧ P.availE e = true
  nsE e := P.isNS e = true
  key := P.nsKey
  inPa p := P.availP p = true ∧ P.inP p = true
  tau := P.tau
  disj := P.disj
  inj := hinj
structure Setting where
  /-- available safe edges -/
  safeE : Edge → Prop
  /-- NS edges -/
  nsE : Edge → Prop
  /-- the NS order key -/
  key : Edge → Nat
  /-- available plaquettes of 𝒫(R) -/
  inPa : Plaq → Prop
  /-- the port -/
  tau : Plaq
  disj : ∀ f, safeE f → ¬ nsE f
  inj : ∀ f g, nsE f → nsE g → key f = key g → f = g
noncomputable def bd1 : (Edge →₀ A) →ₗ[A] (Pt →₀ A) := Finsupp.linearCombination A (bdE A)
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdE (e : Edge) : Pt →₀ A := Finsupp.single e.dst 1 - Finsupp.single e.src 1
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z4A1/Main.lean:36-39.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:18.

'Char2.CT25z4a1.funnel_designs' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z4a1.ns_available

The region certificates of Remark 2 for hole type Z/4, type 1, the part stating that every NS edge of the region is available: kernel-only

theorem CT25z4a1.ns_available (e : Edge) (he : CT25z4a1.isNS e = true) : CT25z4a1.availE e = true

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z4A1/Main.lean:28.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:19.

'Char2.CT25z4a1.ns_available' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.CT25z4a1_keyInj

The region certificates of Remark 2 for hole type Z/4, type 1, the part stating that the integer NS key is injective on the NS edges: kernel-only

theorem CT25z4a1_keyInj : CT25z4a1.KeyInj
Definitions used in the statement
def KeyInj : Prop := ∀ e f, P.isNS e = true → P.isNS f = true → P.nsKey e = P.nsKey f → e = f

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/KernelCT25/Z4A1/Main.lean:26.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_ct25/logs/axioms.log:20.

'Char2.CT25z4a1_keyInj' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.NetK.n2_1_1_0_moduleK

Lemma 30’s module equalities for (ℓ, a, d) = (2, 1, 1), type 0: kernel-only

theorem n2_1_1_0_moduleK :
    modA (2 ^ (1 + 1)) n2_1_1_0_N n2_1_1_0_tau = {b | ∃ r, b = ((2 : Nat) : ZMod (2 ^ (1 + 1))) ^ (0 + 1) * r} ∧
    modA (2 ^ (1 + 1)) (n2_1_1_0_x :: n2_1_1_0_N) n2_1_1_0_tau = {b | ∃ r, b = ((2 : Nat) : ZMod (2 ^ (1 + 1))) ^ 0 * r} ∧
    (1 : ZMod (2 ^ 1)) ∈ modA (2 ^ 1) n2_1_1_0_N n2_1_1_0_x
Definitions used in the statement
def modA (m : Nat) (N : List Plaq) (τ : Plaq) : Set (ZMod m) :=
  {b | ∃ c : Plaq →₀ ZMod m, (∀ p ∈ c.support, p ∈ N) ∧ bd2 (ZMod m) c = b • bdP (ZMod m) τ}
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/KernelNets/Modules.lean:24-27.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/logs/Axioms.log:10.

'Char2.NetK.n2_1_1_0_moduleK' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.NetK.n2_1_1_1_moduleK

Lemma 30’s module equalities for (ℓ, a, d) = (2, 1, 1), type 1: kernel-only

theorem n2_1_1_1_moduleK :
    modA (2 ^ (1 + 1)) n2_1_1_1_N n2_1_1_1_tau = {b | ∃ r, b = ((2 : Nat) : ZMod (2 ^ (1 + 1))) ^ (1 + 1) * r} ∧
    modA (2 ^ (1 + 1)) (n2_1_1_1_x :: n2_1_1_1_N) n2_1_1_1_tau = {b | ∃ r, b = ((2 : Nat) : ZMod (2 ^ (1 + 1))) ^ 1 * r} ∧
    (1 : ZMod (2 ^ 1)) ∈ modA (2 ^ 1) n2_1_1_1_N n2_1_1_1_x
Definitions used in the statement
def modA (m : Nat) (N : List Plaq) (τ : Plaq) : Set (ZMod m) :=
  {b | ∃ c : Plaq →₀ ZMod m, (∀ p ∈ c.support, p ∈ N) ∧ bd2 (ZMod m) c = b • bdP (ZMod m) τ}
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/KernelNets/Modules.lean:31-34.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/logs/Axioms.log:11.

'Char2.NetK.n2_1_1_1_moduleK' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.NetK.n2_2_1_0_moduleK

Lemma 30’s module equalities for (ℓ, a, d) = (2, 2, 1), type 0: kernel-only

theorem n2_2_1_0_moduleK :
    modA (2 ^ (2 + 1)) n2_2_1_0_N n2_2_1_0_tau = {b | ∃ r, b = ((2 : Nat) : ZMod (2 ^ (2 + 1))) ^ (0 + 1) * r} ∧
    modA (2 ^ (2 + 1)) (n2_2_1_0_x :: n2_2_1_0_N) n2_2_1_0_tau = {b | ∃ r, b = ((2 : Nat) : ZMod (2 ^ (2 + 1))) ^ 0 * r} ∧
    (1 : ZMod (2 ^ 2)) ∈ modA (2 ^ 2) n2_2_1_0_N n2_2_1_0_x
Definitions used in the statement
def modA (m : Nat) (N : List Plaq) (τ : Plaq) : Set (ZMod m) :=
  {b | ∃ c : Plaq →₀ ZMod m, (∀ p ∈ c.support, p ∈ N) ∧ bd2 (ZMod m) c = b • bdP (ZMod m) τ}
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/KernelNets/Modules.lean:38-41.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/logs/Axioms.log:12.

'Char2.NetK.n2_2_1_0_moduleK' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.NetK.n2_2_1_1_moduleK

Lemma 30’s module equalities for (ℓ, a, d) = (2, 2, 1), type 1: kernel-only

theorem n2_2_1_1_moduleK :
    modA (2 ^ (2 + 1)) n2_2_1_1_N n2_2_1_1_tau = {b | ∃ r, b = ((2 : Nat) : ZMod (2 ^ (2 + 1))) ^ (1 + 1) * r} ∧
    modA (2 ^ (2 + 1)) (n2_2_1_1_x :: n2_2_1_1_N) n2_2_1_1_tau = {b | ∃ r, b = ((2 : Nat) : ZMod (2 ^ (2 + 1))) ^ 1 * r} ∧
    (1 : ZMod (2 ^ 2)) ∈ modA (2 ^ 2) n2_2_1_1_N n2_2_1_1_x
Definitions used in the statement
def modA (m : Nat) (N : List Plaq) (τ : Plaq) : Set (ZMod m) :=
  {b | ∃ c : Plaq →₀ ZMod m, (∀ p ∈ c.support, p ∈ N) ∧ bd2 (ZMod m) c = b • bdP (ZMod m) τ}
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/KernelNets/Modules.lean:45-48.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/logs/Axioms.log:13.

'Char2.NetK.n2_2_1_1_moduleK' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.NetK.n2_2_1_2_moduleK

Lemma 30’s module equalities for (ℓ, a, d) = (2, 2, 1), type 2: kernel-only

theorem n2_2_1_2_moduleK :
    modA (2 ^ (2 + 1)) n2_2_1_2_N n2_2_1_2_tau = {b | ∃ r, b = ((2 : Nat) : ZMod (2 ^ (2 + 1))) ^ (2 + 1) * r} ∧
    modA (2 ^ (2 + 1)) (n2_2_1_2_x :: n2_2_1_2_N) n2_2_1_2_tau = {b | ∃ r, b = ((2 : Nat) : ZMod (2 ^ (2 + 1))) ^ 2 * r} ∧
    (1 : ZMod (2 ^ 2)) ∈ modA (2 ^ 2) n2_2_1_2_N n2_2_1_2_x
Definitions used in the statement
def modA (m : Nat) (N : List Plaq) (τ : Plaq) : Set (ZMod m) :=
  {b | ∃ c : Plaq →₀ ZMod m, (∀ p ∈ c.support, p ∈ N) ∧ bd2 (ZMod m) c = b • bdP (ZMod m) τ}
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/KernelNets/Modules.lean:52-55.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/logs/Axioms.log:14.

'Char2.NetK.n2_2_1_2_moduleK' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.NetK.n3_1_1_0_moduleK

Lemma 30’s module equalities for (ℓ, a, d) = (3, 1, 1), type 0: kernel-only

theorem n3_1_1_0_moduleK :
    modA (3 ^ (1 + 1)) n3_1_1_0_N n3_1_1_0_tau = {b | ∃ r, b = ((3 : Nat) : ZMod (3 ^ (1 + 1))) ^ (0 + 1) * r} ∧
    modA (3 ^ (1 + 1)) (n3_1_1_0_x :: n3_1_1_0_N) n3_1_1_0_tau = {b | ∃ r, b = ((3 : Nat) : ZMod (3 ^ (1 + 1))) ^ 0 * r} ∧
    (1 : ZMod (3 ^ 1)) ∈ modA (3 ^ 1) n3_1_1_0_N n3_1_1_0_x
Definitions used in the statement
def modA (m : Nat) (N : List Plaq) (τ : Plaq) : Set (ZMod m) :=
  {b | ∃ c : Plaq →₀ ZMod m, (∀ p ∈ c.support, p ∈ N) ∧ bd2 (ZMod m) c = b • bdP (ZMod m) τ}
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/KernelNets/Modules.lean:59-62.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/logs/Axioms.log:15.

'Char2.NetK.n3_1_1_0_moduleK' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.NetK.n3_1_1_1_moduleK

Lemma 30’s module equalities for (ℓ, a, d) = (3, 1, 1), type 1: kernel-only

theorem n3_1_1_1_moduleK :
    modA (3 ^ (1 + 1)) n3_1_1_1_N n3_1_1_1_tau = {b | ∃ r, b = ((3 : Nat) : ZMod (3 ^ (1 + 1))) ^ (1 + 1) * r} ∧
    modA (3 ^ (1 + 1)) (n3_1_1_1_x :: n3_1_1_1_N) n3_1_1_1_tau = {b | ∃ r, b = ((3 : Nat) : ZMod (3 ^ (1 + 1))) ^ 1 * r} ∧
    (1 : ZMod (3 ^ 1)) ∈ modA (3 ^ 1) n3_1_1_1_N n3_1_1_1_x
Definitions used in the statement
def modA (m : Nat) (N : List Plaq) (τ : Plaq) : Set (ZMod m) :=
  {b | ∃ c : Plaq →₀ ZMod m, (∀ p ∈ c.support, p ∈ N) ∧ bd2 (ZMod m) c = b • bdP (ZMod m) τ}
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/KernelNets/Modules.lean:66-69.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/logs/Axioms.log:16.

'Char2.NetK.n3_1_1_1_moduleK' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.NetK.n5_1_1_0_moduleK

Lemma 30’s module equalities for (ℓ, a, d) = (5, 1, 1), type 0: kernel-only

theorem n5_1_1_0_moduleK :
    modA (5 ^ (1 + 1)) n5_1_1_0_N n5_1_1_0_tau = {b | ∃ r, b = ((5 : Nat) : ZMod (5 ^ (1 + 1))) ^ (0 + 1) * r} ∧
    modA (5 ^ (1 + 1)) (n5_1_1_0_x :: n5_1_1_0_N) n5_1_1_0_tau = {b | ∃ r, b = ((5 : Nat) : ZMod (5 ^ (1 + 1))) ^ 0 * r} ∧
    (1 : ZMod (5 ^ 1)) ∈ modA (5 ^ 1) n5_1_1_0_N n5_1_1_0_x
Definitions used in the statement
def modA (m : Nat) (N : List Plaq) (τ : Plaq) : Set (ZMod m) :=
  {b | ∃ c : Plaq →₀ ZMod m, (∀ p ∈ c.support, p ∈ N) ∧ bd2 (ZMod m) c = b • bdP (ZMod m) τ}
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/KernelNets/Modules.lean:73-76.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/logs/Axioms.log:17.

'Char2.NetK.n5_1_1_0_moduleK' depends on axioms: [propext, Classical.choice, Quot.sound]

Char2.NetK.n5_1_1_1_moduleK

Lemma 30’s module equalities for (ℓ, a, d) = (5, 1, 1), type 1: kernel-only

theorem n5_1_1_1_moduleK :
    modA (5 ^ (1 + 1)) n5_1_1_1_N n5_1_1_1_tau = {b | ∃ r, b = ((5 : Nat) : ZMod (5 ^ (1 + 1))) ^ (1 + 1) * r} ∧
    modA (5 ^ (1 + 1)) (n5_1_1_1_x :: n5_1_1_1_N) n5_1_1_1_tau = {b | ∃ r, b = ((5 : Nat) : ZMod (5 ^ (1 + 1))) ^ 1 * r} ∧
    (1 : ZMod (5 ^ 1)) ∈ modA (5 ^ 1) n5_1_1_1_N n5_1_1_1_x
Definitions used in the statement
def modA (m : Nat) (N : List Plaq) (τ : Plaq) : Set (ZMod m) :=
  {b | ∃ c : Plaq →₀ ZMod m, (∀ p ∈ c.support, p ∈ N) ∧ bd2 (ZMod m) c = b • bdP (ZMod m) τ}
noncomputable def bd2 : (Plaq →₀ A) →ₗ[A] (Edge →₀ A) := Finsupp.linearCombination A (bdP A)
noncomputable def bdP (p : Plaq) : Edge →₀ A := (p.bd.map fun x => Finsupp.single x.1 (x.2 : A)).sum

Source: Zenodo record 23631702, char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/KernelNets/Modules.lean:80-83.

Axioms, as Lean reports them. Recorded in zenodo:23631702/char2_v6_supplement.zip/char2_v6_supplement/lean_kernel_nets/logs/Axioms.log:18.

'Char2.NetK.n5_1_1_1_moduleK' depends on axioms: [propext, Classical.choice, Quot.sound]