Alphabeta Math
Session-authored (Fable 5 assisted)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

10 results · all verified · 3 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 7 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Positive Definite Binary Quadratic Forms and Reduction — Examples

1 · Prerequisites

2 · Summary

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Reducing (458,214,25) to (1,0,1)

Example

The positive-definite form (458,214,25) reduces to (1,0,1) through the explicit swap-and-shear moves

(458,214,25)(25,214,458)(25,14,2)(2,14,25)(2,2,1)(1,2,2)(1,0,1).

Equivalently,

(458,214,25)(341317)=(1,0,1).

Facts & Assumptions

Given: The integral form f=(458,214,25).

[L1]

Integral substitution defines a right action of SL2(Z) on integral binary quadratic forms (Integral substitution defines a right action of SL2(Z) on integral binary quadratic forms).

[L2]

Every positive-definite integral binary quadratic form is properly equivalent to a reduced form (Every positive-definite integral binary quadratic form is properly equivalent to a reduced form).

[L3]

A positive-definite form is reduced when bac and the boundary sign condition holds (Reduced positive-definite binary quadratic forms).

Verification

technique · direct
1.1

Let S=(0110) and Tk=(1k01). Direct substitution gives fS=(25,214,458), (fS)T4=(25,14,2), ((fS)T4)S=(2,14,25), then after T3 one gets (2,2,1), after another S one gets (1,2,2), and after T1 one gets (1,0,1).

L1givenalgebra
2.1

The final form (1,0,1) is reduced because 011 and the boundary sign condition is automatic.

L3step 1.1algebra
2.2

By repeated use of the right-action law [L1], the composite matrix is ST4ST3ST1=(341317), which has determinant 1, so the single displayed substitution is exactly the product of the six moves in step 1.1.

L1step 1.1algebra
3.1

Thus the explicit reduction algorithm indeed carries (458,214,25) to the reduced form (1,0,1).

L2step 2.1step 2.2
ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-08-26Open item page →

The reduced primitive forms of discriminant 4

Example

The only reduced primitive positive-definite binary quadratic form of discriminant 4 is

x2+y2=(1,0,1).

Consequently h(4)=1.

Facts & Assumptions

Given: A reduced primitive positive-definite form (a,b,c) of discriminant 4.

[L1]

A reduced form of discriminant Δ satisfies aΔ/3 (A reduced positive-definite form of discriminant Δ satisfies aΔ/3).

[L3]

The class number h(Δ) counts proper-equivalence classes of primitive positive-definite forms of discriminant Δ (The class number of primitive positive-definite binary quadratic forms of discriminant Δ).

Verification

technique · direct
1.1

Here a4/3<2 by [L1], so the positive integer a must be 1.

L1givenalgebra
2.1

The discriminant equation gives 4=b24c, so 4c=b2+4. Since the form is reduced, b1; the choices b=±1 make c=5/4, not an integer, while b=0 gives c=1. Thus the only reduced possibility is (1,0,1).

step 1.1algebra
3.1

The form (1,0,1) is primitive, so by [L2] there is exactly one proper-equivalence class of primitive positive-definite forms of discriminant 4. Hence [L3] gives h(4)=1.

L2L3step 2.1
ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-08-26Open item page →

The reduced primitive forms of discriminant 8

Example

The only reduced primitive positive-definite binary quadratic form of discriminant 8 is

x2+2y2=(1,0,2).

Consequently h(8)=1, and every primitive positive-definite form of discriminant 8 is properly equivalent to x2+2y2.

Facts & Assumptions

Given: A reduced primitive positive-definite form (a,b,c) of discriminant 8.

[L1]

A reduced form of discriminant Δ satisfies aΔ/3 (A reduced positive-definite form of discriminant Δ satisfies aΔ/3).

[L3]

The class number h(Δ) counts proper-equivalence classes of primitive positive-definite forms of discriminant Δ (The class number of primitive positive-definite binary quadratic forms of discriminant Δ).

Verification

technique · direct
1.1

Here a8/3<2, so the positive integer a must be 1.

L1givenalgebra
2.1

The discriminant equation gives 8=b24c, so 4c=b2+8. Reducedness gives b1; the choices b=±1 make c=9/4, not an integer, while b=0 gives c=2. Thus the only reduced possibility is (1,0,2).

step 1.1algebra
3.1

The form (1,0,2) is primitive, so by [L2] there is exactly one proper-equivalence class of primitive positive-definite forms of discriminant 8. Hence [L3] gives h(8)=1, and every such form is properly equivalent to (1,0,2).

L2L3step 2.1
ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Odd primes congruent to 1 or 3 modulo 8 are represented by x2+2y2

Example

An odd prime p is represented by x2+2y2 if and only if

p1(mod8)orp3(mod8).

Facts & Assumptions

Given: An odd prime p.

[L1]

The unique reduced primitive form of discriminant 8 is (1,0,2), so every primitive positive-definite form of discriminant 8 is properly equivalent to x2+2y2 (The reduced primitive forms of discriminant 8).

[L2]
[L3]

An integral binary quadratic form is positive definite exactly when its leading coefficient is positive and its discriminant is negative (An integral binary quadratic form is positive definite exactly when its leading coefficient is positive and its discriminant is negative).

[L4]

For an odd prime p, (1p)=1 exactly when p1(mod4), and (1p)=1 exactly when p3(mod4) (First supplement: (1/p)=(1)(p1)/2).

[L5]

For an odd prime p, (2p)=1 exactly when p1 or 7(mod8), and (2p)=1 exactly when p3 or 5(mod8) (Second supplement: (2/p)=(1)(p21)/8).

[L6]

For every odd prime p and integers u,v, (uvp)=(up)(vp) (The Legendre symbol is multiplicative for all integer numerators).

[L7]

For an odd prime p, (ap)=1 exactly when a is a quadratic residue modulo p (The Legendre symbol, including its zero value).

Verification

technique · direct
1.1

If p=x2+2y2, then reducing modulo 8 shows x21(mod8) and 2y20 or 2(mod8), because squares modulo 8 are 0,1,4 and p is odd. Hence p1 or 3(mod8).

givenalgebra
1.2

Conversely, suppose p1 or 3(mod8). Then [L4] and [L5] give (1p)(2p)=1, so [L6] yields (2p)=1. By [L7], there is an integer t with t22(modp).

L4L5L6L7givenalgebra
2.1

Set c=(t2+2)/p, which is an integer by step 1.2, and define f=(p,2t,c). Then Δ(f)=(2t)24pc=4t24(t2+2)=8, and f(1,0)=p, so f represents p. If a divisor d of p, 2t, and c were greater than 1, then d=p because p is prime; but p2t would force pt, hence pt2+2, so p2, impossible for an odd prime. Thus f is primitive. Since its leading coefficient is p>0 and its discriminant is 8<0, [L3] makes f positive definite. Therefore [L1] shows that f is properly equivalent to x2+2y2, and then [L2] shows that x2+2y2 represents p.

L1L2L3step 1.2givenconstructalgebra
3.1

Steps 1.1 and 2.1 prove the claimed criterion.

step 1.1step 2.1
ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-08-26Open item page →

The reduced primitive forms of discriminant 20

Example

The reduced primitive positive-definite binary quadratic forms of discriminant 20 are

x2+5y2=(1,0,5),2x2+2xy+3y2=(2,2,3).

Consequently h(20)=2.

Facts & Assumptions

Given: A reduced primitive positive-definite form (a,b,c) of discriminant 20.

[L1]

A reduced form of discriminant Δ satisfies aΔ/3 (A reduced positive-definite form of discriminant Δ satisfies aΔ/3).

[L3]

The class number h(Δ) counts proper-equivalence classes of primitive positive-definite forms of discriminant Δ (The class number of primitive positive-definite binary quadratic forms of discriminant Δ).

Verification

technique · direct
1.1

Here a20/3<3, so a is 1 or 2.

L1givenalgebra
2.1

If a=1, then 20=b24c, so 4c=b2+20. Reducedness gives b1. The values b=±1 make c=21/4, not an integer, while b=0 gives c=5, yielding (1,0,5).

step 1.1algebra
2.2

If a=2, then 20=b28c, so 8c=b2+20. Reducedness gives b2. The values b=0,±1 give no integer c, while b=±2 gives c=3; the boundary rule forces b=2. Thus the only reduced possibility with a=2 is (2,2,3).

step 1.1algebra
3.1

The two forms of steps 2.1 and 2.2 are primitive and distinct, and [L2] shows that no other reduced primitive form of discriminant 20 exists. Hence [L3] gives h(20)=2.

L2L3step 2.1step 2.2
ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-08-26Open item page →

The reduced primitive forms of discriminant 23

Example

The reduced primitive positive-definite binary quadratic forms of discriminant 23 are

(1,1,6),(2,1,3),(2,1,3).

Consequently h(23)=3.

Facts & Assumptions

Given: A reduced primitive positive-definite form (a,b,c) of discriminant 23.

[L1]

A reduced form of discriminant Δ satisfies aΔ/3 (A reduced positive-definite form of discriminant Δ satisfies aΔ/3).

[L3]

The class number h(Δ) counts proper-equivalence classes of primitive positive-definite forms of discriminant Δ (The class number of primitive positive-definite binary quadratic forms of discriminant Δ).

Verification

technique · direct
1.1

Here a23/3<3, so a is 1 or 2.

L1givenalgebra
2.1

If a=1, then 23=b24c, so 4c=b2+23. Reducedness gives b1. The value b=0 gives no integer c, while b=±1 gives c=6; the boundary rule forces b=1. Thus (1,1,6) is the only reduced possibility with a=1.

step 1.1algebra
2.2

If a=2, then 23=b28c, so 8c=b2+23. Reducedness gives b2. The values b=0,±2 give no integer c, while b=±1 gives c=3, and both signs are allowed because b<a. Thus the reduced possibilities are (2,1,3) and (2,1,3).

step 1.1algebra
3.1

The three forms from steps 2.1 and 2.2 are primitive and distinct, and [L2] shows that no other reduced primitive form of discriminant 23 exists. Hence [L3] gives h(23)=3.

L2L3step 2.1step 2.2
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Forms of discriminant 24 need not be properly equivalent

Statement refuted

Two integral binary quadratic forms with the same discriminant need not be properly equivalent. The forms

f=(1,0,6)andg=(2,0,3)

both have discriminant 24, but they are not properly equivalent.

Facts & Assumptions

Given: The forms f=(1,0,6) and g=(2,0,3).

[F1]

The discriminant of (a,b,c) is b24ac (The discriminant of a binary quadratic form).

[L2]

A form represents n when it takes the value n at some integer pair (Integers represented, and primitively represented, by a binary quadratic form).

Counterexample

technique · direct
1.1

The discriminants are 02416=24 and 02423=24.

F1givenalgebra
1.2

The form f represents 1, since f(1,0)=1.

L2givenalgebra
1.3

The form g does not represent 1: if g(x,y)=1, then 2x2+3y2=1, but y0 would force the left-hand side to be at least 3, while y=0 would give 2x2=1, impossible in integers.

L2givenalgebra
2.1

Since f and g do not represent the same integers, [L1] shows that they are not properly equivalent.

L1step 1.2step 1.3
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-08-26Open item page →

Distinct reduced forms can represent the same integers

Statement refuted

Two binary quadratic forms can represent exactly the same integers and still fail to be properly equivalent. The forms

f=(2,1,3)andg=(2,1,3)

have this property.

Facts & Assumptions

Given: The forms f=(2,1,3) and g=(2,1,3).

[L1]

Reducedness is defined by bac together with the boundary sign condition (Reduced positive-definite binary quadratic forms).

[L2]

Each proper-equivalence class of positive-definite forms contains exactly one reduced form (Each proper-equivalence class of positive-definite integral binary quadratic forms contains exactly one reduced form).

[L3]

A form represents an integer when it takes that value at some integer pair (Integers represented, and primitively represented, by a binary quadratic form).

Counterexample

technique · direct
1.1

Both forms are reduced: for each one, ±123, and no boundary clause is violated because b<a<c.

L1givenalgebra
1.2

For every integers x,y, one has g(x,y)=2x2xy+3y2=f(x,y). Thus g represents exactly the integers that f represents, and conversely.

L3givenalgebra
2.1

The reduced triples are distinct because (2,1,3)(2,1,3). Therefore [L2] forbids proper equivalence between f and g.

L2step 1.1algebra
ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-08-26Open item page →

Improper equivalence can merge two distinct proper classes

Example

If one allows determinant 1 substitutions as well as determinant 1 substitutions, then the two distinct reduced forms

(2,1,3)and(2,1,3)

become equivalent.

Facts & Assumptions

Given: The forms f=(2,1,3) and g=(2,1,3).

[F1]

Proper equivalence uses determinant-one integer matrices (Proper equivalence of binary quadratic forms).

[L1]

The previous counterexample shows that f and g are not properly equivalent (Distinct reduced forms can represent the same integers).

Verification

technique · direct
1.1

The matrix N=(1001) has determinant 1, and direct substitution gives fN=(2,1,3)=g.

F1givenalgebra
2.1

Thus allowing determinant 1 merges the two distinct proper classes from [L1]: the forms are equivalent under a unimodular substitution, but not under a determinant-one unimodular substitution.

L1step 1.1
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-08-26Open item page →

An indefinite proper-equivalence class can contain a cycle of reduced forms

Statement refuted

The uniqueness theorem for reduced positive-definite forms does not extend to positive discriminant. Under Granville's positive-discriminant convention, both

f=(6,6,1)andg=(1,6,6)

are reduced forms of discriminant 60, and they are properly equivalent.

Facts & Assumptions

Given: The forms f=(6,6,1) and g=(1,6,6).

[L1]

Positive-definite proper-equivalence classes contain exactly one reduced form (Each proper-equivalence class of positive-definite integral binary quadratic forms contains exactly one reduced form).

[F1]

The discriminant of (a,b,c) is b24ac (The discriminant of a binary quadratic form).

Counterexample

technique · direct
1.1

Both forms have discriminant 60, since 624(6)(1)=60 and 624(1)(6)=60.

F1givenalgebra
1.2

The matrix M=(8776) has determinant 1, and direct substitution gives fM=g. Thus f and g are properly equivalent.

givenalgebra
2.1

Under Granville's positive-discriminant convention, a form of discriminant d>0 is reduced when 0<db<2a<d+b. Since 7<60<8, one has 0<606<2 and 13<60+6<14. Hence 0<606<12<60+6 for f and 0<606<2<60+6 for g, so both are reduced in that convention.

step 1.1algebra
3.1

The two reduced forms f and g are distinct, yet step 1.2 puts them in one proper-equivalence class. So the uniqueness statement [L1], which is true for positive-definite forms, does not extend to positive discriminant.

L1step 2.1step 1.2

Sources