Details

Time bar (total: 8.2s)

sample132.0ms

Algorithm
intervals
Results
60.0ms131×body1280valid
17.0ms256×pre80true
15.0ms62×body640valid
3.0ms16×body320valid
2.0ms39×body80valid
1.0msbody160valid

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

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.9b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
2.5b
(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)))
7.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series93.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(+ x (- (tan (+ y z)) (tan a)))
37.0ms
(- (tan (+ y z)) (tan a))
15.0ms
(tan (+ y z))

simplify41.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune188.0ms

Filtered
51 candidates to 39 candidates (23.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New44751
Fresh000
Picked101
Done000
Total45752

Merged error: 0.2b

Counts
52 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1 (* (tan y) (tan z)))
0.1b
(+ 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
13×add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
tan-quot
sub-neg diff-log associate-*r* associate-*l*
associate-+r+ flip3-- sum-log flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative frac-times associate-+r- flip3-+ times-frac associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod flip-+ unswap-sqr
Counts
4 → 66
Calls
4 calls:
3.0ms
(- 1 (* (tan y) (tan z)))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
14.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series302.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0356871
11108831
23700824
35001824

prune457.0ms

Filtered
78 candidates to 57 candidates (26.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New69978
Fresh606
Picked101
Done000
Total76985

Merged error: 0.1b

Counts
85 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.3b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
49×pow1
44×tan-quot
22×add-exp-log add-cbrt-cube
20×frac-times pow-prod-down
16×add-sqr-sqrt
14×associate-*r/ associate-*l/
11×prod-exp cbrt-unprod
10×add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
pow-sqr *-commutative pow-prod-up add-log-exp
unswap-sqr
pow-plus
pow2 swap-sqr
Counts
4 → 112
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
11.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series101.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (tan y) (tan z))
25.0ms
(* (tan y) (tan z))
22.0ms
(* (tan y) (tan z))
31.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify46.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0311770
11417646
25001625

prune1.1s

Filtered
124 candidates to 75 candidates (39.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1213124
Fresh268
Picked101
Done000
Total1249133

Merged error: 0.1b

Counts
133 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
20×pow1
16×*-un-lft-identity
14×add-cube-cbrt
13×tan-quot
10×add-exp-log add-cbrt-cube
associate-*r* associate-*l*
swap-sqr add-log-exp
frac-times times-frac associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
pow2 pow-plus pow-sqr pow-prod-up
sub-neg flip3-- diff-log frac-sub flip-- distribute-lft-out--
Counts
4 → 94
Calls
4 calls:
26.0ms
(- (/ (+ (tan y) (tan z)) (/ (- 1 (* (* (tan y) (tan y)) (* (tan z) (tan z)))) (+ 1 (* (tan y) (tan z))))) (tan a))
7.0ms
(* (tan y) (tan z))
5.0ms
(* (tan z) (tan z))
5.0ms
(* (tan y) (tan y))

series453.0ms

Counts
4 → 12
Calls
4 calls:
413.0ms
(- (/ (+ (tan y) (tan z)) (/ (- 1 (* (* (tan y) (tan y)) (* (tan z) (tan z)))) (+ 1 (* (tan y) (tan z))))) (tan a))
22.0ms
(* (tan y) (tan z))
9.0ms
(* (tan z) (tan z))
9.0ms
(* (tan y) (tan y))

simplify55.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04501091
11818995
25002961

prune920.0ms

Filtered
106 candidates to 66 candidates (37.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1051106
Fresh088
Picked011
Done000
Total10510115

Merged error: 0.1b

Counts
115 → 10

regimes564.0ms

Accuracy

0% (0.1b 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
02620
12620

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.7s3956×body1280valid
506.0ms8000×pre80true
465.0ms1972×body640valid
113.0ms688×body320valid
58.0ms1120×body80valid
31.0ms264×body160valid

Profiling

Loading profile data...