Giter Site home page Giter Site logo

lin-alg's Introduction

Linear Algebra

The Linear Algebra distribution by Jasper Stein ([email protected]) extending the (required) algebra distribution by Loic Pottier, and following Chapter 1 of "Linear Algebra" by Friedberg, Insel and Spence.

Available as package coq-lin-alg via OPAM.

Share and enjoy! Jasper Stein

lin-alg's People

Contributors

langston-barrett avatar herbelin avatar letouzey avatar ppedrot avatar

Stargazers

Well Honey avatar  avatar  avatar Liu Yuhui avatar Yiran Wang avatar Sandy Vanderbleek avatar Svend Haugaard Sørensen avatar Ivan Oleynikov avatar Lennart Rudolph avatar Sven Wille avatar

Watchers

 avatar James Cloos avatar Sven Wille avatar

Forkers

hazardouspeach

lin-alg's Issues

How would I construct a specific matrix?

Hi there,

As you'll soon deduce, I'm very new to coq.

I'd like to prove the validity of some very elementary calculations with matrices, like

  (0 0) + (1 1) = (1 1)
  (0 0)   (1 1)   (1 1)

but I'm having trouble figuring out how to use this library to formulate any concrete examples of matrices.

Can you give me a hint or two? I'm happy to make a PR with this sort of calculation as an "example" once I figure out how to do it :)

I have tried the following:

Definition I2 (finite1 : fin 2) (finite2 : fin 2) : Nat :=
  (* First, extract the actual indices *)
  match finite1, finite2 return nat with
    | Build_finiteT ind1 _, Build_finiteT ind2 _ =>
      (* Then, return the appropriate value *)
      match ind1, ind2 return nat with
        | O, O => (S O)
        | (S O), (S O) => (S O)
        | _, _ => O
      end
  end.

But I'm having trouble promoting this into a Map2, MAP2, and matrix. This might not even be remotely the right direction.

Work for Coq 8.9?

  - coq-lin-alg → coq < 8.9~
      not available because the package is pinned to version 8.9.0

No solution found, exiting ```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.