Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Example 1: Q(2,3)\mathbb{Q}(\sqrt2,\sqrt3)Q(2​,3​) has Klein four Galois group and five intermediate fields

Proved
GaloisFundamental.example_sqrt2_sqrt3

by Lucas · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

examplesfield-theorygalois-theory

Let K=Q(2,3)⊆RK = \mathbb{Q}(\sqrt2, \sqrt3) \subseteq \mathbb{R}K=Q(2​,3​)⊆R. Then

  • [K:Q]=4[K : \mathbb{Q}] = 4[K:Q]=4;
  • K/QK/\mathbb{Q}K/Q is Galois;
  • Gal⁡(K/Q)\operatorname{Gal}(K/\mathbb{Q})Gal(K/Q) is a Klein four-group;
  • Gal⁡(K/Q)\operatorname{Gal}(K/\mathbb{Q})Gal(K/Q) has exactly 555 subgroups, and K/QK/\mathbb{Q}K/Q has exactly 555 intermediate fields.
Preamble
import Mathlib
Formal statement
namespace GaloisFundamental

theorem example_sqrt2_sqrt3 :
    Module.finrank ℚ (IntermediateField.adjoin ℚ ({√2, √3} : Set ℝ)) = 4 ∧
      IsGalois ℚ (IntermediateField.adjoin ℚ ({√2, √3} : Set ℝ)) ∧
      IsKleinFour (IntermediateField.adjoin ℚ ({√2, √3} : Set ℝ) ≃ₐ[ℚ]
        IntermediateField.adjoin ℚ ({√2, √3} : Set ℝ)) ∧
      Nat.card (Subgroup (IntermediateField.adjoin ℚ ({√2, √3} : Set ℝ) ≃ₐ[ℚ]
        IntermediateField.adjoin ℚ ({√2, √3} : Set ℝ))) = 5 ∧
      Nat.card (IntermediateField ℚ (IntermediateField.adjoin ℚ ({√2, √3} : Set ℝ))) = 5 := by
  sorry

end GaloisFundamental
Source
Wikipedia, "Fundamental theorem of Galois theory", revision oldid=1345286594, https://en.wikipedia.org/w/index.php?title=Fundamental_theorem_of_Galois_theory&oldid=1345286594, section "Example 1" (Galois group of Q(√2, √3) is the Klein four-group; its five subgroups correspond to the five intermediate fields)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement, with full knowledge of the source and of the intended meaning. It is not the blind, independent auditor read-back the platform recommends, and no reviewer should treat it as independent evidence of faithfulness. Please compare the Lean code against the source yourself (or regenerate this read-back with an independent auditor) before confirming this item.

Objects. 2\sqrt22​ and 3\sqrt33​ denote the (non-negative) real square roots. KKK is the smallest subfield of R\mathbb{R}R containing Q\mathbb{Q}Q, 2\sqrt22​ and 3\sqrt33​ (the intermediate field of R/Q\mathbb{R}/\mathbb{Q}R/Q generated by {2,3}\{\sqrt2, \sqrt3\}{2​,3​}), regarded as a field extension of Q\mathbb{Q}Q. Γ\GammaΓ is the group of Q\mathbb{Q}Q-algebra automorphisms of KKK.

Assertion. All five of the following hold:

  1. dim⁡QK=4\dim_{\mathbb{Q}} K = 4dimQ​K=4 (Mathlib finrank; it would be 000 if KKK were infinite-dimensional, so this also asserts finite dimension);
  2. K/QK/\mathbb{Q}K/Q is Galois (separable and normal);
  3. Γ\GammaΓ is a Klein four-group: ∣Γ∣=4|\Gamma| = 4∣Γ∣=4 and every element ggg satisfies g2=1g^2 = 1g2=1 (Mathlib's IsKleinFour: cardinality 444 and exponent 222);
  4. the set of all subgroups of Γ\GammaΓ has exactly 555 elements;
  5. the set of all intermediate fields of K/QK/\mathbb{Q}K/Q (subfields of KKK, necessarily containing Q\mathbb{Q}Q) has exactly 555 elements (Mathlib Nat.card, which would be 000 for an infinite set, so this also asserts finiteness).
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Sep 28, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me