Details

Time bar (total: 8.3s)

sample107.0ms

Algorithm
intervals
Results
45.0ms104×body1280valid
16.0ms256×pre80true
15.0ms64×body640valid
5.0ms34×body320valid
2.0ms37×body80valid
2.0ms17×body160valid

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

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.8b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.4b
(tan (+ y z))

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

series284.0ms

Counts
3 → 9
Calls
3 calls:
117.0ms
(+ x (- (tan (+ y z)) (tan a)))
113.0ms
(- (tan (+ y z)) (tan a))
54.0ms
(tan (+ y z))

simplify40.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune157.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New411051
Fresh000
Picked101
Done000
Total421052

Merged error: 0.1b

Counts
52 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.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))
13.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))

series902.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(+ (tan y) (tan z))
340.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
378.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
92.0ms
(* (tan y) (tan z))

simplify76.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune256.0ms

Filtered
79 candidates to 59 candidates (74.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New71879
Fresh729
Picked101
Done000
Total791089

Merged error: 0.1b

Counts
89 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (tan y) (tan z)) (cos 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)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
associate-/l/
frac-sub
flip3-- flip--
prod-exp cbrt-unprod add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times associate-*r/ div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 96
Calls
4 calls:
7.0ms
(* (+ (tan y) (tan z)) (cos a))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
17.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series788.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05871304
127011144
250031128

prune397.0ms

Filtered
108 candidates to 83 candidates (76.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1071108
Fresh099
Picked101
Done000
Total10810118

Merged error: 0.0b

Counts
118 → 10

localize30.0ms

Local error

Found 4 expressions with local error:

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

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

series885.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (tan y) (tan z))
539.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (pow (* (tan y) (tan z)) 3)) (cos a)))
111.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
122.0ms
(pow (* (tan y) (tan z)) 3)

simplify122.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
08121495
144531335
250011331

prune509.0ms

Filtered
139 candidates to 88 candidates (63.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1381139
Fresh099
Picked101
Done000
Total13910149

Merged error: 0.0b

Counts
149 → 10

regimes441.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04236
14736
24736

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.6s3868×body1280valid
503.0ms8000×pre80true
457.0ms1984×body640valid
110.0ms712×body320valid
56.0ms1151×body80valid
34.0ms285×body160valid

Profiling

Loading profile data...