### Abstract

Based on existing libraries for matrices, factorization of rational polynomials, and Sturm's theorem, we formalized algebraic numbers in Isabelle/HOL. Our development serves as an implementation for real and complex numbers, and it admits to compute roots and completely factorize real and complex polynomials, provided that all coefficients are rational numbers. Moreover, we provide two implementations to display algebraic numbers, an injective and expensive one, or a faster but approximative version.

BSD LicenseTo this end, we mechanized several results on resultants, which also required us to prove that polynomials over a unique factorization domain form again a unique factorization domain.

### Change history

[2016-01-29] Split off Polynomial Interpolation and Polynomial Factorization

[2017-04-16] Use certified Berlekamp-Zassenhaus factorization, use subresultant algorithm for computing resultants, improved bisection algorithm

### Depends On

### Used by

### Topics

### Related Entries

### Theories

- Algebraic_Numbers_Prelim
- Bivariate_Polynomials
- Resultant
- Algebraic_Numbers
- Sturm_Rat
- Factors_of_Int_Poly
- Real_Algebraic_Numbers
- Real_Roots
- Complex_Roots_Real_Poly
- Compare_Complex
- Interval_Arithmetic
- Complex_Algebraic_Numbers
- Real_Factorization
- Show_Real_Alg
- Show_Real_Approx
- Show_Real_Precise
- Algebraic_Number_Tests
- Algebraic_Numbers_External_Code