Documentation
Determinize
.
Proof
.
LinearAlgebra
.
Solve
Search
return to top
source
Imports
Init
Mathlib.Tactic.FieldSimp
Mathlib.Tactic.LinearCombination
Mathlib.Tactic.Ring
Mathlib.Algebra.BigOperators.Fin
Mathlib.Data.Rat.Cast.Order
Imported by
Determinize
.
Proof
.
LinearAlgebra
.
solve
source
def
Determinize
.
Proof
.
LinearAlgebra
.
solve
(
n
:
ℕ
)
(
A
:
Fin
n
→
Fin
n
→
ℚ
)
(
b
:
Fin
n
→
ℚ
)
:
Option
{
x
:
Fin
n
→
ℚ
//
∀ (
i
:
Fin
n
),
∑
j
:
Fin
n
,
A
i
j
*
x
j
=
b
i
}
Gaussian elimination with a proof of the original equations on success.
Equations
One or more equations did not get rendered due to their size.
Determinize.Proof.LinearAlgebra.solve
0
x_3
x_4
=
some
⟨
Fin.elim0
,
⋯
⟩
Instances For