Details

Time bar (total: 7.6s)

sample115.0ms

Algorithm
intervals
Results
57.0ms132×body1280valid
17.0ms256×pre80true
14.0ms58×body640valid
4.0ms25×body320valid
2.0ms32×body80valid
1.0msbody160valid

simplify18.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

prune2.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: 14.3b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
4.8b
(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))

series274.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune144.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New42951
Fresh000
Picked101
Done000
Total43952

Merged error: 0.1b

Counts
52 → 9

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)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

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 associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times 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 → 67
Calls
4 calls:
4.0ms
(+ (tan y) (tan z))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series892.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(+ (tan y) (tan z))
340.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
370.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
90.0ms
(* (tan y) (tan z))

simplify77.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune268.0ms

Filtered
79 candidates to 59 candidates (74.7%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New71879
Fresh358
Picked101
Done000
Total751388

Merged error: 0.1b

Counts
88 → 13

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
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))

rewrite34.0ms

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

series713.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
88.0ms
(+ (tan y) (tan z))
331.0ms
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
90.0ms
(* (tan y) (tan z))

simplify47.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04561169
115961113
250011095

prune305.0ms

Filtered
101 candidates to 76 candidates (75.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New974101
Fresh5712
Picked011
Done000
Total10212114

Merged error: 0.1b

Counts
114 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (tan z)) (cbrt (tan z)))
0.6b
(cbrt (tan z))
0.6b
(cbrt (tan z))
0.6b
(cbrt (tan z))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
tan-quot cbrt-div
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 79
Calls
4 calls:
7.0ms
(* (cbrt (tan z)) (cbrt (tan z)))
2.0ms
(cbrt (tan z))
2.0ms
(cbrt (tan z))
2.0ms
(cbrt (tan z))

series478.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(* (cbrt (tan z)) (cbrt (tan z)))
111.0ms
(cbrt (tan z))
113.0ms
(cbrt (tan z))
116.0ms
(cbrt (tan z))

simplify81.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0168505
1527468
22101436
35001432

prune298.0ms

Filtered
91 candidates to 65 candidates (71.4%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh01010
Picked011
Done011
Total9112103

Merged error: 0.1b

Counts
103 → 12

regimes516.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01911
11911

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.6s3822×body1280valid
517.0ms8000×pre80true
502.0ms2067×body640valid
116.0ms697×body320valid
56.0ms1119×body80valid
34.0ms295×body160valid