Details

Time bar (total: 8.6s)

sample101.0ms

Algorithm
intervals
Results
47.0ms116×body1280valid
15.0ms62×body640valid
10.0ms256×pre80true
3.0ms20×body320valid
2.0ms44×body80valid
2.0ms14×body160valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.9b

Counts
2 → 1

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.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 associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series276.0ms

Counts
3 → 9
Calls
3 calls:
113.0ms
(+ x (- (tan (+ y z)) (tan a)))
114.0ms
(- (tan (+ y z)) (tan a))
49.0ms
(tan (+ y z))

simplify40.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune145.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New45651
Fresh000
Picked101
Done000
Total46652

Merged error: 0.1b

Counts
52 → 6

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
28×associate-*l/
16×tan-quot
14×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
12×frac-sub
10×add-cube-cbrt *-un-lft-identity
flip3-- flip--
pow1 associate-/l/
associate-*r* associate-*l* add-log-exp
flip3-+ frac-add flip-+
times-frac prod-exp cbrt-unprod associate-/l*
cbrt-undiv frac-times associate-*r/ div-exp pow-prod-down associate-/r/ *-commutative unswap-sqr
sub-neg frac-2neg diff-log div-sub clear-num associate-/r* div-inv
Counts
4 → 92
Calls
4 calls:
9.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
15.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series936.0ms

Counts
4 → 12
Calls
4 calls:
292.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
89.0ms
(* (tan y) (tan z))
92.0ms
(* (tan y) (tan z))
462.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify90.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06551689
130931518
250011501

prune484.0ms

Filtered
104 candidates to 83 candidates (79.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1004104
Fresh235
Picked101
Done000
Total1037110

Merged error: 0.1b

Counts
110 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
28×add-sqr-sqrt
17×times-frac
14×add-cube-cbrt
11×add-log-exp
add-exp-log add-cbrt-cube
pow1
tan-quot distribute-lft-out-- difference-of-squares
associate-*r* associate-*l* associate-/r* distribute-lft-out associate-/l*
sub-neg associate-+r+ diff-log sum-log
cbrt-undiv +-commutative frac-times associate-+r- quot-tan 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 → 86
Calls
4 calls:
20.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (sin a) (cos a))))
4.0ms
(/ (sin a) (cos a))
21.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (sin a) (cos a)))
5.0ms
(* (tan y) (tan z))

series798.0ms

Counts
4 → 12
Calls
4 calls:
331.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (sin a) (cos a))))
18.0ms
(/ (sin a) (cos a))
359.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (sin a) (cos a)))
89.0ms
(* (tan y) (tan z))

simplify85.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
04111116
111811067
235061062
350011062

prune356.0ms

Filtered
98 candidates to 74 candidates (75.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New93598
Fresh336
Picked101
Done000
Total978105

Merged error: 0.0b

Counts
105 → 8

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
48×pow1
44×tan-quot
27×associate-*l/
26×add-exp-log add-cbrt-cube
19×frac-times pow-prod-down
13×associate-*r/
11×add-sqr-sqrt prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-/l/
frac-sub
flip3-- flip--
associate-*r* associate-*l* pow-sqr pow-prod-up add-log-exp
cube-div pow-unpow times-frac associate-/l*
cbrt-undiv pow-pow flip3-+ pow-plus div-exp frac-add pow-exp associate-/r/ *-commutative flip-+ rem-cube-cbrt
pow2 cube-mult pow-to-exp unpow-prod-down frac-2neg unpow3 div-sub cube-prod swap-sqr clear-num associate-/r* div-inv unswap-sqr sqr-pow
Counts
4 → 127
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
21.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- (pow 1 3) (pow (* (tan y) (tan z)) 3)) (cos a)))
10.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
6.0ms
(pow (* (tan y) (tan z)) 3)

series845.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(* (tan y) (tan z))
528.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- (pow 1 3) (pow (* (tan y) (tan z)) 3)) (cos a)))
110.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
121.0ms
(pow (* (tan y) (tan z)) 3)

simplify119.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
08181495
144611335
250021331

prune600.0ms

Filtered
139 candidates to 88 candidates (63.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1381139
Fresh167
Picked101
Done000
Total1407147

Merged error: 0.0b

Counts
147 → 7

regimes409.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04336
14836
24836

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.7s3821×body1280valid
481.0ms1964×body640valid
318.0ms8000×pre80true
120.0ms711×body320valid
62.0ms1209×body80valid
34.0ms295×body160valid