Details

Time bar (total: 23.6s)

analyze17.2s

Algorithm
search
Search
TrueOtherFalseIter
0%0.2%99.8%0
0%0.2%99.8%1
0%0.2%99.8%2
0%0.2%99.8%3
0%0.2%99.8%4
0%0.2%99.8%5
0%0.2%99.8%6
0%0.2%99.8%7
0%0.2%99.8%8
0%0.2%99.8%9
0%0.2%99.8%10
0%0.2%99.8%11
0%0.2%99.8%12
0%0.2%99.8%13
0%0.2%99.8%14

sample122.0ms

Algorithm
intervals
Results
64.0ms121×body1280valid
18.0ms256×pre80true
15.0ms62×body640valid
5.0ms27×body320valid
2.0ms33×body80valid
2.0ms13×body160valid

simplify407.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
01859
11859

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.2b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.5b
(tan (+ y z))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- associate-+r+ flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 40
Calls
3 calls:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
16.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series108.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(+ x (- (tan (+ y z)) (tan a)))
35.0ms
(- (tan (+ y z)) (tan a))
27.0ms
(tan (+ y z))

simplify68.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04916561
14916561

prune103.0ms

Filtered
39 candidates to 49 candidates (-25.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New41849
Fresh000
Picked101
Done000
Total42850

Merged error: 0.1b

Counts
50 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(* (tan y) (tan z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- associate-+r+ flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 65
Calls
4 calls:
4.0ms
(+ (tan y) (tan z))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

series306.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (tan y) (tan z))
133.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
25.0ms
(* (tan y) (tan z))
126.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

simplify29.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
049511271
149511271

prune140.0ms

Filtered
59 candidates to 77 candidates (-30.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New72577
Fresh437
Picked101
Done000
Total77885

Merged error: 0.0b

Counts
85 → 8

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a)))
0.2b
(* (sin y) (sin z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a))
0.3b
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
13×add-sqr-sqrt *-un-lft-identity
11×add-log-exp
pow1 add-cube-cbrt
prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-*r* associate-*l*
sub-neg times-frac diff-log sum-log sin-mult distribute-lft-out distribute-lft-out-- difference-of-squares
tan-quot +-commutative associate-+r- associate-+r+ flip3-- frac-2neg flip3-+ pow-prod-down clear-num associate-/r* associate-/r/ cos-mult *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 73
Calls
4 calls:
19.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a)))
5.0ms
(* (sin y) (sin z))
21.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a))
7.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))

series290.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a)))
10.0ms
(* (sin y) (sin z))
126.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a))
23.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))

simplify37.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
049931656
149931656

prune116.0ms

Filtered
61 candidates to 85 candidates (-39.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New85085
Fresh077
Picked011
Done000
Total85893

Merged error: 0.0b

Counts
93 → 8

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ x (- (/ (+ (/ (sin z) (cos z)) (/ (sin y) (cos y))) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(/ (sin y) (cos y))
0.2b
(* (tan y) (tan z))
0.2b
(- (/ (+ (/ (sin z) (cos z)) (/ (sin y) (cos y))) (- 1 (* (tan y) (tan z)))) (tan a))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt *-un-lft-identity
14×add-cube-cbrt
11×add-log-exp
10×times-frac
add-exp-log add-cbrt-cube
pow1
tan-quot
associate-*r* associate-*l* associate-/r* associate-/l*
sub-neg diff-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- quot-tan associate-+r+ flip3-- frac-2neg flip3-+ associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num *-commutative frac-sub flip-- cbrt-unprod flip-+ div-inv unswap-sqr
Counts
4 → 80
Calls
4 calls:
23.0ms
(+ x (- (/ (+ (/ (sin z) (cos z)) (/ (sin y) (cos y))) (- 1 (* (tan y) (tan z)))) (tan a)))
4.0ms
(/ (sin y) (cos y))
5.0ms
(* (tan y) (tan z))
25.0ms
(- (/ (+ (/ (sin z) (cos z)) (/ (sin y) (cos y))) (- 1 (* (tan y) (tan z)))) (tan a))

series294.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(+ x (- (/ (+ (/ (sin z) (cos z)) (/ (sin y) (cos y))) (- 1 (* (tan y) (tan z)))) (tan a)))
6.0ms
(/ (sin y) (cos y))
23.0ms
(* (tan y) (tan z))
130.0ms
(- (/ (+ (/ (sin z) (cos z)) (/ (sin y) (cos y))) (- 1 (* (tan y) (tan z)))) (tan a))

simplify45.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
050241632

prune95.0ms

Filtered
71 candidates to 92 candidates (-29.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New91192
Fresh066
Picked011
Done011
Total919100

Merged error: 0.0b

Counts
100 → 9

regimes750.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06524
16524

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.7s3914×body1280valid
541.0ms8000×pre80true
490.0ms1979×body640valid
118.0ms686×body320valid
60.0ms1137×body80valid
34.0ms284×body160valid

Profiling

Loading profile data...