Code Monkey home page Code Monkey logo

Comments (5)

Alizter avatar Alizter commented on July 21, 2024

Forgetting about isomorphisms, what you want to prove is that symmetry of equivalences and symmetry of paths are invariant under univalence. You can find this lemma straight after the univalence axiom is introduced in 2.10.3 in the HoTT book.

For cubical type theory, this should be even easier.

from cubical.

wvhulle avatar wvhulle commented on July 21, 2024

Thanks, @Alizter ! You probably mean ua(f)^{−1} = ua(f^{−1})? I will try to implement this in cubical type theory.

from cubical.

Saizan avatar Saizan commented on July 21, 2024

@wvhulle It should be fairly direct from EquivJ

EquivJ : (P : (A B : Type ℓ) (e : B ≃ A) Type ℓ')

from cubical.

mortberg avatar mortberg commented on July 21, 2024

I proved this now: #147

from cubical.

wvhulle avatar wvhulle commented on July 21, 2024

@mortberg , that's very friendly! :) This was my solution for my particular problem:

baseIndLemma : (A : Type ℓ-zero)  (λ i  ua (idEquiv A) (~ i)) ≡ ua (invEquiv (idEquiv A))
baseIndLemma A = 
  sym ( ua (idEquiv A) ) ≡⟨ uaIdEquiv ⟩
  sym refl ≡⟨ refl ⟩
  refl ≡⟨ sym uaIdEquiv ⟩
  ua (idEquiv A) ≡⟨ cong ua (equivEq (idEquiv A) (invEquiv (idEquiv A)) refl) ⟩
  ua (invEquiv (idEquiv A)) ∎

myUaInvEquiv : sym (ua fEquiv) ≡ (ua (invEquiv fEquiv))
myUaInvEquiv = EquivJ
  (λ _ _ e  sym (ua e) ≡ ua (invEquiv e)) (λ A  baseIndLemma A) ℕ₀ ℕ fEquiv 

Unfortunately, normalizing the endresult of the rest of my code (a transport of some proof) results in a memory leak, but i should probably make a separate issue for that.

from cubical.

Related Issues (20)

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.