Details

Time bar (total: 6.8s)

sample330.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 99.760697%

Space saved by search: 99.760697%

Guaranteed chance to sample good point: 0%

Results
201.0msbody160valid
62.0ms132×body1280valid
18.0ms256×pre80true
15.0ms59×body640valid
4.0ms22×body320valid
2.0ms34×body80valid

simplify401.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: 14.2b

Counts
2 → 1

localize14.0ms

Local error

Found 3 expressions with local error:

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

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

series111.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(+ x (- (tan (+ y z)) (tan a)))
47.0ms
(- (tan (+ y z)) (tan a))
24.0ms
(tan (+ y z))

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

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

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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:
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
7.0ms
(+ (tan y) (tan z))
11.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series289.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune146.0ms

Filtered
60 candidates to 79 candidates (-31.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New71879
Fresh426
Picked101
Done000
Total761086

Merged error: 0.0b

Counts
86 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×tan-quot
10×*-un-lft-identity
pow1 add-exp-log add-cbrt-cube
cbrt-prod add-cube-cbrt
cube-div add-log-exp
frac-times pow-unpow cbrt-div associate-*r/ associate-*r* associate-*l* associate-*l/
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp cbrt-unprod rem-cube-cbrt difference-of-squares sqr-pow
pow-to-exp sub-neg flip3-- times-frac pow1/3 diff-log *-commutative frac-sub flip-- rem-cbrt-cube distribute-lft-out-- unswap-sqr
Counts
4 → 82
Calls
4 calls:
22.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a))
5.0ms
(* (tan y) (tan z))
5.0ms
(pow (* (tan y) (tan z)) 3)
4.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series201.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a))
22.0ms
(* (tan y) (tan z))
35.0ms
(pow (* (tan y) (tan z)) 3)
24.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify48.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0377783
11645739
25001738

prune168.0ms

Filtered
69 candidates to 94 candidates (-36.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New93194
Fresh189
Picked101
Done000
Total959104

Merged error: 0.0b

Counts
104 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (* (tan y) (tan z)) 3)
0.6b
(pow (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)) 3)
3.4b
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)) 3))
25.7b
(cbrt (pow (* (tan y) (tan z)) 3))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
26×cbrt-prod
20×*-un-lft-identity
14×unpow-prod-down cube-prod
12×cube-div add-cube-cbrt
10×tan-quot
pow1 add-exp-log add-cbrt-cube difference-of-squares
pow-unpow cbrt-div
cube-mult times-frac unpow3 distribute-lft-out-- add-log-exp sqr-pow
pow-pow pow-exp rem-cube-cbrt
frac-times pow-to-exp flip3-- pow1/3 associate-*r/ associate-*l/ frac-sub flip-- rem-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
Counts
4 → 107
Calls
4 calls:
5.0ms
(pow (* (tan y) (tan z)) 3)
25.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)) 3)
22.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)) 3))
4.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series379.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(pow (* (tan y) (tan z)) 3)
202.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)) 3)
120.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)) 3))
22.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify65.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05081808
122651706
250011700

prune171.0ms

Filtered
73 candidates to 119 candidates (-63.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1190119
Fresh088
Picked011
Done000
Total1199128

Merged error: 0.0b

Counts
128 → 9

regimes820.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
02415
12415

end0.0ms

sample3.3s

Algorithm
intervals
sampling

Space saved by range analysis: 99.760697%

Space saved by search: 99.760697%

Guaranteed chance to sample good point: 0%

Results
1.7s3862×body1280valid
539.0ms8000×pre80true
476.0ms1975×body640valid
116.0ms709×body320valid
63.0ms1153×body80valid
37.0ms301×body160valid

Profiling

Loading profile data...