This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta def blast : tactic unit := using_smt $ return () | |
structure Category := | |
(Obj : Type) | |
(Hom : Obj → Obj → Type) | |
structure Functor (C : Category) (D : Category) := | |
(onObjects : C^.Obj → D^.Obj) | |
(onMorphisms : Π { X Y : C^.Obj }, | |
C^.Hom X Y → D^.Hom (onObjects X) (onObjects Y)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta def blast : tactic unit := using_smt $ return () | |
structure Category := | |
(Obj : Type) | |
(Hom : Obj → Obj → Type) | |
structure Functor (C : Category) (D : Category) := | |
(onObjects : C^.Obj → D^.Obj) | |
(onMorphisms : Π { X Y : C^.Obj }, | |
C^.Hom X Y → D^.Hom (onObjects X) (onObjects Y)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
universe variables u v u1 u2 v1 v2 | |
set_option pp.universes true | |
open smt_tactic | |
meta def blast : tactic unit := using_smt $ intros >> add_lemmas_from_facts >> repeat_at_most 3 ematch | |
notation `♮` := by blast | |
structure semigroup_morphism { α β : Type u } ( s : semigroup α ) ( t: semigroup β ) := | |
(map: α → β) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open tactic | |
open smt_tactic | |
meta def blast : tactic unit := using_smt $ intros >> add_lemmas_from_facts >> try ematch >> try simp | |
universe variables u v | |
structure Category := | |
(Obj : Type u) | |
(Hom : Obj → Obj → Type v) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
universe variables u v | |
structure Category := | |
(Obj : Type u) | |
(Hom : Obj → Obj → Type v) | |
universe variables u1 v1 u2 v2 | |
structure Functor (C : Category.{ u1 v1 }) (D : Category.{ u2 v2 }) := | |
(onObjects : C^.Obj → D^.Obj) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open tactic | |
open smt_tactic | |
def pointwise_attribute : user_attribute := { | |
name := `pointwise, | |
descr := "A lemma that proves things are equal using the fact they are pointwise equal." | |
} | |
run_command attribute.register `pointwise_attribute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Copyright (c) 2017 Scott Morrison. All rights reserved. | |
-- Released under Apache 2.0 license as described in the file LICENSE. | |
-- Authors: Stephen Morgan, Scott Morrison | |
open tactic | |
open smt_tactic | |
def pointwise_attribute : user_attribute := { | |
name := `pointwise, | |
descr := "A lemma that proves things are equal using the fact they are pointwise equal." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open tactic | |
open smt_tactic | |
def pointwise_attribute : user_attribute := { | |
name := `pointwise, | |
descr := "A lemma that proves things are equal using the fact they are pointwise equal." | |
} | |
run_command attribute.register `pointwise_attribute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open tactic | |
open smt_tactic | |
def pointwise_attribute : user_attribute := { | |
name := `pointwise, | |
descr := "A lemma that proves things are equal using the fact they are pointwise equal." | |
} | |
run_command attribute.register `pointwise_attribute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run a search | |
function runSearch() { | |
goBack(); | |
$('#popup-cite .search-spinner').removeSpinner().addSpinner(); | |
$.getJSON('https://zbmath.org/citationmatching/mathoverflow', { 'q': 'planar algebras' }, fetchCallback); | |
} | |
// Callback to run when search completes. | |
function fetchCallback(response) { | |
OlderNewer