Details

Time bar (total: 13.9s)

analyze3.4s

Algorithm
search
sampling

Space saved by range analysis: 99.761164%

Space saved by search: 99.761164%

Guaranteed chance to sample good point: 12.109375%

sample113.0ms

Algorithm
intervals
Results
53.0ms132×body1280valid
18.0ms256×pre80true
17.0ms47×body640valid
4.0ms26×body320valid
2.0ms43×body80valid
1.0msbody160valid

simplify385.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: 10.6b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
1.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:
40.0ms
(+ x (- (tan (+ y z)) (tan a)))
46.0ms
(- (tan (+ y z)) (tan a))
25.0ms
(tan (+ y z))

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune103.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New42951
Fresh000
Picked101
Done000
Total43952

Merged error: 0.0b

Counts
52 → 9

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

rewrite42.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))))
15.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))

series323.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04491261
115031213
249921204
350011204

prune165.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New984102
Fresh358
Picked101
Done000
Total1029111

Merged error: 0.0b

Counts
111 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
57×add-sqr-sqrt
50×times-frac
48×cbrt-prod
40×add-cube-cbrt
38×unpow-prod-down cube-prod
12×distribute-lft-out
add-exp-log add-cbrt-cube
associate-/r/
pow1 difference-of-squares
add-log-exp
tan-quot flip3-- flip--
div-inv
cube-div pow-unpow associate-*r* associate-*l* sqr-pow
cube-mult cbrt-div unpow3 pow-exp rem-cube-cbrt
cbrt-undiv frac-times pow-to-exp sub-neg pow-pow pow1/3 diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp *-commutative frac-sub rem-cbrt-cube cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 150
Calls
4 calls:
21.0ms
(- (cbrt (pow (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) 3)) (tan a))
5.0ms
(* (tan y) (tan z))
9.0ms
(pow (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) 3)
9.0ms
(cbrt (pow (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) 3))

series276.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(- (cbrt (pow (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) 3)) (tan a))
21.0ms
(* (tan y) (tan z))
81.0ms
(pow (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) 3)
55.0ms
(cbrt (pow (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) 3))

simplify80.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06192452
126022256
250012247

prune180.0ms

Filtered
84 candidates to 162 candidates (-92.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1620162
Fresh088
Picked011
Done000
Total1629171

Merged error: 0.0b

Counts
171 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
108×*-un-lft-identity
80×times-frac
72×add-sqr-sqrt
56×add-cube-cbrt
27×swap-sqr
24×associate-*r* associate-*l*
23×distribute-lft-out
22×add-exp-log add-cbrt-cube
21×tan-quot
20×pow1
11×associate-/r/ associate-/l/
frac-times associate-*r/ associate-*l/ frac-sub
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv flip3-- div-exp flip-- div-inv difference-of-squares
associate-/r* associate-/l* add-log-exp
pow-prod-down *-commutative
pow2 pow-plus pow-sqr pow-prod-up
frac-2neg flip3-+ div-sub frac-add clear-num flip-+
Counts
4 → 188
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan a) (tan a))
20.0ms
(* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
32.0ms
(/ (- (* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

series547.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09864500
150014174

prune258.0ms

Filtered
128 candidates to 200 candidates (-56.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2000200
Fresh077
Picked011
Done011
Total2009209

Merged error: 0.0b

Counts
209 → 9

regimes1.1s

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
02213
12213

end0.0ms

analyze3.2s

Algorithm
search
sampling

Space saved by range analysis: 99.761164%

Space saved by search: 99.761164%

Guaranteed chance to sample good point: 12.109375%

sample3.2s

Algorithm
intervals
Results
1.7s3962×body1280valid
544.0ms8000×pre80true
472.0ms1931×body640valid
122.0ms710×body320valid
57.0ms1089×body80valid
38.0ms308×body160valid

Profiling

Loading profile data...