Details

Time bar (total: 14.2s)

sample3.9s

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
53.0ms119×body1280valid
18.0ms256×pre80true
16.0ms65×body640valid
4.0ms26×body320valid
2.0ms37×body80valid
1.0msbody160valid

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

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.5b

Counts
2 → 1

localize25.0ms

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.1b
(+ x (- (tan (+ y z)) (tan a)))
3.7b
(tan (+ y z))

rewrite19.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)))
6.0ms
(tan (+ y z))

series102.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune95.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New44751
Fresh000
Picked101
Done000
Total45752

Merged error: 0.1b

Counts
52 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.1b
(+ 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
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))
11.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
12.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))

series285.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (tan y) (tan z))
116.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
127.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
22.0ms
(* (tan y) (tan z))

simplify74.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune123.0ms

Filtered
59 candidates to 79 candidates (-33.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New75479
Fresh336
Picked101
Done000
Total79786

Merged error: 0.1b

Counts
86 → 7

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* (+ (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)))

series267.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
24.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)))

simplify85.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06551681
130931507
250011490

prune155.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh156
Picked011
Done000
Total1047111

Merged error: 0.1b

Counts
111 → 7

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.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))
10.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
16.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (pow (* (tan y) (tan z)) 3)) (cos a)))
5.0ms
(pow (* (tan y) (tan z)) 3)

series271.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (tan y) (tan z))
31.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
181.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (pow (* (tan y) (tan z)) 3)) (cos a)))
38.0ms
(pow (* (tan y) (tan z)) 3)

simplify125.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (111.0ms)

IterNodesCost
08121495
144541335
250011331

prune200.0ms

Filtered
88 candidates to 139 candidates (-58.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1381139
Fresh055
Picked101
Done011
Total1397146

Merged error: 0.1b

Counts
146 → 7

regimes982.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 (0.0ms)

IterNodesCost
04236
14736
24736

end0.0ms

sample6.9s

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.7s3915×body1280valid
559.0ms8000×pre80true
471.0ms1944×body640valid
117.0ms685×body320valid
63.0ms1165×body80valid
33.0ms291×body160valid

Profiling

Loading profile data...