AFTD Auto-Formalizing Theoretical Domains

Biplane

structure

A biplane is a symmetric 2-(v, k, 2) design: a finite incidence structure of points and lines where each line contains k points, each point lies on k lines, any two distinct lines intersect in exactly 2 points, and any two distinct points lie on exactly 2 lines.

Statement

structure Biplane (P L : Type*) [Fintype P] [Fintype L]
Defined in
arXiv:2611.17855, Section 2.2
Verified
23 Nov 2026
Axioms
none listed
Used by 8

Read back from the Lean

Given two finite types P (points) and L (lines), the structure Biplane P L defines a biplane structure on P and L consisting of: 1. An incidence relation inc : P → L → Prop; 2. A natural number k; such that: - For every line l : L, the number of points incident with l (the cardinality of { p : P // inc p l }) is equal to k; - For every point p : P, the number of lines incident with p (the cardinality of { l : L // inc p l }) is equal to k; - For any two distinct lines l₁, l₂ : L (l₁ ≠ l₂), the number of points incident with both l₁ and l₂ (the cardinality of { p : P // inc p l₁ ∧ inc p l₂ }) is equal to 2; - For any two distinct points p₁, p₂ : P (p₁ ≠ p₂), the number of lines incident with both p₁ and p₂ (the cardinality of { l : L // inc p₁ l ∧ inc p₂ l }) is equal to 2.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- A biplane is a symmetric 2-(v, k, 2) design. -/
structure Biplane (P L : Type*) [Fintype P] [Fintype L] where
  inc : P → L → Prop
  k : ℕ
  points_per_line : ∀ l : L, Nat.card { p : P // inc p l } = k
  lines_per_point : ∀ p : P, Nat.card { l : L // inc p l } = k
  lines_inter_two : ∀ l₁ l₂ : L, l₁ ≠ l₂ → Nat.card { p : P // inc p l₁ ∧ inc p l₂ } = 2
  points_inter_two : ∀ p₁ p₂ : P, p₁ ≠ p₂ → Nat.card { l : L // inc p₁ l ∧ inc p₂ l } = 2
See it in the graphDiscuss this resultChallenge it