Details

Time bar (total: 13.1s)

sample3.6s

Algorithm
intervals
sampling

Space saved by range analysis: 99.760697%

Space saved by search: 99.760697%

Guaranteed chance to sample good point: 12.109375%

Results
48.0ms111×body1280valid
19.0ms73×body640valid
18.0ms256×pre80true
4.0ms21×body320valid
2.0ms41×body80valid
1.0ms10×body160valid

simplify356.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.7b

Counts
2 → 1

localize26.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.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:
6.0ms
(- (tan (+ y z)) (tan a))
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(tan (+ y z))

series102.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- (tan (+ y z)) (tan a))
40.0ms
(+ x (- (tan (+ y z)) (tan a)))
25.0ms
(tan (+ y z))

simplify38.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune108.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New411051
Fresh000
Picked101
Done000
Total421052

Merged error: 0.1b

Counts
52 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

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

series322.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
125.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
116.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
24.0ms
(* (tan y) (tan z))

simplify115.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04491259
115031211
249921203
350011203

prune173.0ms

Filtered
75 candidates to 102 candidates (-36.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New948102
Fresh549
Picked101
Done000
Total10012112

Merged error: 0.1b

Counts
112 → 12

localize24.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)))

rewrite35.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:
8.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))
14.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series266.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
21.0ms
(* (tan y) (tan z))
21.0ms
(* (tan y) (tan z))
146.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify84.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06551689
130931518
250011501

prune172.0ms

Filtered
83 candidates to 104 candidates (-25.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1022104
Fresh5611
Picked101
Done000
Total1088116

Merged error: 0.1b

Counts
116 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
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:
4.0ms
(+ (tan y) (tan z))
13.0ms
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
10.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
5.0ms
(* (tan y) (tan z))

series221.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (tan y) (tan z))
123.0ms
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
57.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
21.0ms
(* (tan y) (tan z))

simplify45.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04561169
115961113
250011094

prune105.0ms

Filtered
76 candidates to 101 candidates (-32.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New974101
Fresh257
Picked101
Done000
Total1009109

Merged error: 0.0b

Counts
109 → 9

regimes545.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04146
14146

end0.0ms

sample6.7s

Algorithm
intervals
sampling

Space saved by range analysis: 99.760697%

Space saved by search: 99.760697%

Guaranteed chance to sample good point: 12.109375%

Results
1.7s3866×body1280valid
560.0ms8000×pre80true
515.0ms2018×body640valid
125.0ms683×body320valid
62.0ms1128×body80valid
37.0ms305×body160valid

Profiling

Loading profile data...