---
title: "Minimal Generators"
canonical: "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/minimal_generators.html"
source: "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/minimal_generators.md"
part: "Global Fields"
chapter: "Étale Algebras"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Global Fields", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/index-global-fields.md"}
  - {"title": "Étale Algebras", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/index-etale-algebras.md"}
prev: {"title": "Short Element and Small Representative", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/short_elt_small_rep.md"}
next: {"title": "Chinese Remainder Theorem", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/crt.md"}
intrinsics:
  - {"name": "TwoGeneratingSet", "signature": "TwoGeneratingSet(I): AlgEtQIdl"}
---

# Minimal Generators

<a id="procedure-twogeneratingset-algetqidl"></a>
## `TwoGeneratingSet(I): AlgEtQIdl`

A procedure that given an invertible ideal $I$ put in the attribute `Generators` of $I$ two non-zerodivisors in $I$ that generate $I$. If $I$ is known to be principal nothing is done.
