Details

Time bar (total: 9.6s)

sample124.0ms

Algorithm
intervals
Results
58.0ms137×body1280valid
21.0ms62×body640valid
19.0ms256×pre80true
3.0ms16×body320valid
2.0ms38×body80valid
0.0msbody160valid

simplify18.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: 14.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series283.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune149.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New42951
Fresh000
Picked101
Done000
Total43952

Merged error: 0.1b

Counts
52 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ x (/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a))))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))

rewrite36.0ms

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

series1.4s

Counts
4 → 12
Calls
4 calls:
745.0ms
(+ x (/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a))))
466.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
91.0ms
(* (tan y) (tan z))
91.0ms
(* (tan y) (tan z))

simplify71.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06071601
126921448
250021435

prune450.0ms

Filtered
99 candidates to 78 candidates (78.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New92799
Fresh448
Picked101
Done000
Total9711108

Merged error: 0.1b

Counts
108 → 11

localize37.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.2b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
0.3b
(pow (* (tan y) (tan z)) 3)

rewrite44.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))
18.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)))
6.0ms
(pow (* (tan y) (tan z)) 3)

series860.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(* (tan y) (tan z))
531.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)

simplify123.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
08121497
144531336
250011332

prune591.0ms

Filtered
139 candidates to 88 candidates (63.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1381139
Fresh01010
Picked101
Done000
Total13911150

Merged error: 0.1b

Counts
150 → 11

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.3b
(pow (* (tan y) (tan z)) 3)
25.6b
(cbrt (pow (* (tan y) (tan z)) 3))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
16×tan-quot
14×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
cbrt-prod
cube-div associate-*r* associate-*l*
frac-times associate-*r/ associate-*l/ add-log-exp
pow-unpow cbrt-div pow-prod-down prod-exp cbrt-unprod
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-exp *-commutative rem-cube-cbrt unswap-sqr sqr-pow
pow-to-exp pow1/3 rem-cbrt-cube
Counts
4 → 87
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
5.0ms
(pow (* (tan y) (tan z)) 3)
4.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series469.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(* (tan y) (tan z))
108.0ms
(* (tan y) (tan z))
180.0ms
(pow (* (tan y) (tan z)) 3)
91.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify43.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0263510
11337490
25002489

prune403.0ms

Filtered
99 candidates to 72 candidates (72.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New99099
Fresh01010
Picked011
Done000
Total9911110

Merged error: 0.1b

Counts
110 → 11

regimes767.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03022
13022

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.9s3896×body1280valid
607.0ms8000×pre80true
587.0ms2062×body640valid
144.0ms714×body320valid
69.0ms1072×body80valid
35.0ms256×body160valid

Profiling

Loading profile data...